Kylin need “mapreduce.application.classpath” (not yarn.application.classpath) be set in mapped-site.xml; while in the latest version, if “mapreduce.application.classpath” wasn’t found, it will run “mapred classpath” to get the default class path.
Please check your mapped-site.xml and also run “mapred classpath” to see whether the cp has been properly set. From: Luke Han <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Wednesday, April 1, 2015 at 2:35 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Fwd: run cube failed in Jobs at step2 Forward to mailing list for further discussion. Thanks. 在 2015年3月17日星期二 UTC+8上午7:18:07,Haifei Wang写道: hi sir, I build a cube that is sum goods price . When I submit the cube, the job is error at step 2. the error logs in Hadoop-Applications : Application application_1426137249498_0024 failed 2 times due to AM Container for appattempt_1426137249498_0024_000002 exited with exitCode: 1 due to: 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:744) Container exited with a non-zero exit code 1 .Failing this attempt.. Failing the application. Some people say that I didn't set yarn.application.classpath in yarn-site.xml. But I set this parameter then the job is still the same error . ________________________________ 王海飞 京东金融技术与数据服务部 ---------------------------------------------------------------------------------------------
