My spark job is failing with exit code 1, Any clue or path is highly
appreciate. (Is there any other workaround to point to jar at common location
on hdfs
I noticed specifying jar file location on lib path is causing problem, We are
having common jar for all job and we need to point to specific location
oozie.libpath=${nameNode}/test/abc.jar
Once I commit above line job submit and failed, Obviously jar not found. But
once I enabled the above line job failed with below error. Irony is that some
time it pass through and work.
I believe somehow it is related to below error as well -
https://issues.apache.org/jira/browse/OOZIE-2389
Application application_1475873961193_0011 failed 2 times due to AM Container
for appattempt_1475873961193_0011_000002 exited with exitCode: 1
For more detailed output, check application tracking
page:http://ip-10-0-1-172.eu-west-1.compute.internal:8088/cluster/app/application_1475873961193_0011Then,
click on links to logs of each attempt.
Diagnostics: Exception from container-launch.
Container id: container_1475873961193_0011_02_000001
Exit code: 1
Stack trace: ExitCodeException exitCode=1:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:545)
at org.apache.hadoop.util.Shell.run(Shell.java:456)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:722)
at
org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
at
org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
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)
Container exited with a non-zero exit code 1
Failing this attempt. Failing the application.
-Saurabh