Oozie Java Action(oozie版本4.0.0-cdh5.1.0) - 来自容器启动的例外

时间:2014-09-10 09:59:09

标签: hadoop mapreduce oozie yarn cloudera-cdh

我正在尝试通过YARN上的Oozie Java动作执行MapReduce应用程序。当我尝试执行应用程序时,它在Java操作中失败,并显示以下错误消息:

Exception from container-launch: org.apache.hadoop.util.Shell$ExitCodeException:
  at org.apache.hadoop.util.Shell.runCommand(Shell.java:511)
  at org.apache.hadoop.util.Shell.run(Shell.java:424)
  at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:656)
  at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:195)
  at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:300)
  at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:81)
  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:745)

  Container exited with a non-zero exit code 1

FYI

  1. 我们最近将CDH群集从CDH 4.7升级到CDH 5.1
  2. 我们最近将Oozie从3.X升级到4.0.0
  3. 在升级到Oozie 4.0.0和CDH 5.1之前,相同的应用程序在Oozie中运行得非常好。
  4. 使用以下命令在命令行上运行时,MR应用程序工作正常。但是,仅在运行Oozie Java动作时失败
  5.   

    hadoop jar<< -MyJar->> << -JobDriver->> << -inputDir->> << -outputDir->>

0 个答案:

没有答案