org.apache.hadoop.util.Shell$ExitCodeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Attempted to launch at 12-node Sparkling water cluster, lost executor, 11 instead of 12 h2o instance launched and container exited. 15/02/02 18:24:50 INFO yarn.YarnAllocationHandler: Container marked as failed: container_1422781516272_0027_01_000007. Exit status: 255. Diagnostics: Exception from container-launch: org.apache.hadoop.util.Shell$ExitCodeException: org.apache.hadoop.util.Shell$ExitCodeException: at org.apache.hadoop.util.Shell.runCommand(Shell.java:505) at org.apache.hadoop.util.Shell.run(Shell.java:418) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:650) 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 255 Container: container_1422781516272_0027_01_000007 on mr-0xd4.0xdata.loc_45454 =============================================================================== LogType: stdout LogLength: 1991 Log Contents: 02-02 18:24:47.653 172.16.2.184:54339 27981 #worker-8 INFO: ----- H2O started ----- 02-02 18:24:47.708 172.16.2.184:54339 27981 #worker-8 INFO: Build git branch: master 02-02 18:24:47.708 172.16.2.184:54339 27981 #worker-8 INFO: Build git hash: 1b5b2dda4e48b473e5480f11bc66c69ac99aebc2 02-02 18:24:47.708 172.16.2.184:54339 27981 #worker-8 INFO: Build git describe: RELEASE-0.1.21-159-g1b5b2dd 02-02 18:24:47.708 172.16.2.184:54339 27981 #worker-8 INFO: Build project version: 0.1.22.99999 02-02 18:24:47.708 172.16.2.184:54339 27981 #worker-8 INFO: Built by: 'michal' 02-02 18:24:47.709 172.16.2.184:54339 27981 #worker-8 INFO: Built on: '2015-01-30 12:01:41' 02-02 18:24:47.709 172.16.2.184:54339 27981 #worker-8 INFO: Java availableProcessors: 32 02-02 18:24:47.709 172.16.2.184:54339 27981 #worker-8 INFO: Java heap totalMemory: 19.17 GB 02-02 18:24:47.709 172.16.2.184:54339 27981 #worker-8 INFO: Java heap maxMemory: 19.17 GB 02-02 18:24:47.709 172.16.2.184:54339 27981 #worker-8 INFO: Java version: Java 1.7.0_76 (from Oracle Corporation) 02-02 18:24:47.709 172.16.2.184:54339 27981 #worker-8 INFO: OS version: Linux 3.13.0-44-generic (amd64) 02-02 18:24:47.709 172.16.2.184:54339 27981 #worker-8 INFO: Possible IP Address: vethYRPYS9 (vethYRPYS9), fe80:0:0:0:fce4:edff:fef3:bd5a%19 02-02 18:24:47.710 172.16.2.184:54339 27981 #worker-8 INFO: Possible IP Address: br2 (br2), fe80:0:0:0:a236:9fff:fe38:324c%5 02-02 18:24:47.710 172.16.2.184:54339 27981 #worker-8 INFO: Possible IP Address: br2 (br2), 172.16.2.184 02-02 18:24:47.710 172.16.2.184:54339 27981 #worker-8 INFO: Possible IP Address: lo (lo), 0:0:0:0:0:0:0:1%1 02-02 18:24:47.710 172.16.2.184:54339 27981 #worker-8 INFO: Possible IP Address: lo (lo), 127.0.0.1 02-02 18:24:47.710 172.16.2.184:54339 27981 #worker-8 FATAL: On mr-0xd4.0xdata.loc/172.16.2.184 some of the required ports 54339, 54340 are not available, change -port PORT and try again.
    via by Amy Wang,
  • CDH5 with storm-yarn
    via by Dhanasekaran Anbalagan,
  • Error on launch with HDP 2.0 GA
    via by Ruhollah Farchtchi,
  • Windows Client Support?
    via GitHub by pooleja
    ,
  • Permission denied when running hive query
    via Stack Overflow by Garath
    ,
    • org.apache.hadoop.util.Shell$ExitCodeException at org.apache.hadoop.util.Shell.runCommand(Shell.java:458) at org.apache.hadoop.util.Shell.run(Shell.java:373) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:578) 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:258) at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:74) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    rprp
    1 times, last one,
    tyson925tyson925
    4 times, last one,
    1 more bugmates