Azkaban Process exited with code 255

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Azkaban Process exited with code 255相关的知识,希望对你有一定的参考价值。

报错背景

Azkaban跑MR作业

报错现象

06-05-2021 20:14:26 CST MR ERROR - Job run failed!
java.lang.RuntimeException: azkaban.jobExecutor.utils.process.ProcessFailureException: Process exited with code 255
    at azkaban.jobExecutor.ProcessJob.run(ProcessJob.java:312)
    at azkaban.execapp.JobRunner.runJob(JobRunner.java:830)
    at azkaban.execapp.JobRunner.doRun(JobRunner.java:607)
    at azkaban.execapp.JobRunner.run(JobRunner.java:568)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: azkaban.jobExecutor.utils.process.ProcessFailureException: Process exited with code 255
    at azkaban.jobExecutor.utils.process.AzkabanProcess.run(AzkabanProcess.java:125)
    at azkaban.jobExecutor.ProcessJob.run(ProcessJob.java:304)
    ... 8 more
06-05-2021 20:14:26 CST MR ERROR - azkaban.jobExecutor.utils.process.ProcessFailureException: Process exited with code 255 cause: azkaban.jobExecutor.utils.process.ProcessFailureException: Process exited with code 255
06-05-2021 20:14:26 CST MR INFO - Finishing job MR at 1620303266234 with status FAILED

 

报错原因

环境变量的问题

(1)执行命令没有配置环境变量

(2)命令执行过程中使用到的jar包没有写全路径

报错解决

配置环境变量,补全依赖文件目录。

 

以上是关于Azkaban Process exited with code 255的主要内容,如果未能解决你的问题,请参考以下文章

“main process exited, code=exited”错误解决办法

“main process exited, code=exited”错误解决办法

java调用shell process has not exited

fs.read 在自定义信号处理程序中阻止 process.exit

程序对Process.Exited没有反应

进程API