【问题标题】:Hadoop Hive TEZ task fails (to start container)Hadoop Hive TEZ 任务失败(启动容器)
【发布时间】:2018-01-25 13:35:31
【问题描述】:

我有 hadoop-2.8.3、hive-2.3.2 和 tez(试用 0.9 和 0.8.5 版本)。 tez-site 基本配置:

  • tez.lib.uris: /apps/tez/apache-tez-0.8.5-bin.tar.gz(上传到 hdfs)
  • tez.use.cluster.hadoop-libs: false

容器日志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 类时失败了两次。我忘记了什么?

【问题讨论】:

  • 您需要检查 Tez 或 YARN UI 是否有失败的任务
  • @cricket_007 引用的内容正是如此。
  • 啊,从上午看底部块

标签: hadoop hive tez


【解决方案1】:

因此,apache-tez-0.8.5-bin.tar.gz 压缩包不适合使用。在其中,还有另一个存档 - share/tez.tar.gz - 这个必须上传并在 tez 站点中引用。

【讨论】:

    猜你喜欢
    • 2020-01-21
    • 1970-01-01
    • 2014-02-12
    • 1970-01-01
    • 1970-01-01
    • 2023-01-25
    • 2022-12-22
    • 1970-01-01
    • 2022-12-03
    相关资源
    最近更新 更多