Running shell script with Oozie

后端 未结 9 1289
北荒
北荒 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:09

    Try to give full path for HDFS like

    /user/nathalok/run.sh  
    /user/nathalok/run.sh#run.sh 
    

    and ensure that in job.properties the path is mentioned correctly for the library and workflow.xml

    oozie.libpath=hdfs://server/user/oozie/share/lib/lib_20150312161328/oozie
    oozie.wf.application.path=hdfs://bcarddev/user/budaledi/Teradata_Flow
    

提交回复
热议问题