Running shell script with Oozie

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

    workflow.xml would look something like this

    
    
    
        Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]
    
    
        
            ${jobTracker}
            ${nameNode}
            /user/path/hivequery.sh
            /user/path/hivequery.sh#hivequery.sh
              
        
        
        
    
    
    

    Job.properties

    jobTracker=xxxx.xxx.xxx.com:port
    nameNode=hdfs://xxxx.xxx.xxx.com:port
    

    better configure through UI, as suggested above

提交回复
热议问题