Running shell script with Oozie

后端 未结 9 1282
北荒
北荒 2021-02-13 15:25

I am trying to run a sh script through Oozie, but I am facing a problem:

Cannot run program \"script.sh\" (in directory \"/mapred/local/tas

9条回答
  •  北海茫月
    2021-02-13 16:20

    workflow.xml :

    ...
    
      script.sh
    
      scripts/script.sh
    
    ...
    

    Make sure you have scripts/script.sh in the same folder in hdfs.

提交回复
热议问题