我有hadoop-2.8.3,hive-2.3.2和tez(尝试0.9和0.8.5版本)。 tez-site basic conf:
容器日志stderr显示:
Error: Could not find or load main class org.apache.tez.dag.app.DAGAppMaster
YARN资源管理器跟踪显示:
Application application_1516872625165_0011 failed 2 times due to AM
Container for appattempt_1516872625165_0011_000002 exited with exitCode: 1
Failing this attempt.Diagnostics: Exception from container-launch.
Container id: container_1516872625165_0011_02_000001
Exit code: 1
Stack trace: ExitCodeException exitCode=1:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:972)
at org.apache.hadoop.util.Shell.run(Shell.java:869)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1170)
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchC ontainer(DefaultContainerExecutor.java:236)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.Contai nerLaunch.call(ContainerLaunch.java:305)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:84)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Container exited with a non-zero exit code 1
For more detailed output, check the application tracking page: http[...snip]
因此,当容器无法找到/加载DAGAppMaster类时,容器会失败两次。我忘记了什么?
答案 0 :(得分:0)
所以,apache-tez-0.8.5-bin.tar.gz tarball不是正确使用的。在其中,还有另一个存档 - share / tez.tar.gz - 这个必须在tez网站上传和引用。