报错背景
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包没有写全路径
报错解决
配置环境变量,补全依赖文件目录。