我有hadoop-2.8.3、hive-2.3.2和tez(试用0.9和0.8.5版本)。tez站点基本配置:
tez.lib.uris:/apps/tez/apache-tez-0.8.5-bin.tar.gz(上传到hdfs)
tez.use.cluster.hadoop-libs:错误
容器日志标准显示:
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类时,它会失败两次。我忘了什么?
1条答案
按热度按时间33qvvth11#
因此,apache-tez-0.8.5-bin.tar.gz tarball不是正确的使用方法。在它里面,还有另一个存档文件-share/tez.tar.gz-这个文件必须上传到tez站点并被引用。