oozie启动shell任务的一个报错

  帮组里用oozie启动shell的时候,发生了一个报错。

2019-09-19 14:24:43,647  WARN ActionStartXCommand:523 - SERVER[xxxx] USER[xxxx] GROUP[-] TOKEN[] APP[xxxx] JOB[0015122-190917141609001-oozie-hado-W] ACTION[0015122-190917141609001-oozie-hado-W@xxxx] Error starting action [xxxx]. ErrorType [ERROR], ErrorCode [JA008], Message [JA008: File does not exist: hdfs://mycluster1:8020/user/xxxx/xxxx/xxx/xxx/xxxx/xxxx.sh#xxxx.sh]
org.apache.oozie.action.ActionExecutorException: JA008: File does not exist: hdfs://mycluster1:8020/user/xxxx/xxxx/xxxx/xxxx/xxxx/xxxx.sh#xxxx.sh
        at org.apache.oozie.action.ActionExecutor.convertExceptionHelper(ActionExecutor.java:456)

  第一时间是感觉yarn出现了问题,查看了相关的yarn任务,发现只有一个map操作,且显示success。

    其实是这里oozie的日志不够清晰,这个报错跟oozie和yarn无关,全文是:-bash: ./xxxx.sh: /bin/bath:bad interpreter: No such file or directory,这是在执行./xxx.sh的时候的一个报错。同事把解释器写错了一个字母。

转载于:https://www.cnblogs.com/daichunchun/p/11552156.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值