Running a non-MapReduce YARN application, one of the containers launched by the 
AM is failing with an error message I've never seen.  Any ideas?  I'm not sure 
who exactly is running "nice" or why its argument list would be too long.
Thanks
john

Container for appattempt_1395755163053_0030_000001 exited with  exitCode: 0 due 
to: Exception from container-launch:
java.io.IOException: Cannot run program ""nice"" (in directory 
""/ephemeral02/hadoop/yarn/local/usercache/SYSTEM/appcache/application_1395755163053_0030/container_1395755163053_0030_01_000001""):
 java.io.IOException: error=7, Argument list too long
                at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
                at org.apache.hadoop.util.Shell.runCommand(Shell.java:407)
                at org.apache.hadoop.util.Shell.run(Shell.java:379)
                at 
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:589)
                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:283)
                at 
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:79)
                at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: java.io.IOException: error=7, Argument list too 
long
                at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
                at java.lang.ProcessImpl.start(ProcessImpl.java:65)
                at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
                ... 11 more

Reply via email to