我正在使用Hadoop 2.7.3版本和hive 1.2.1版本。 我在使用tez引擎时遇到蜂巢问题。是否有任何设置错误或其他类型的错误?
使用jar:file:/usr/local/hive/lib/hive-common-1.2.1.jar!/hive-log4j.properties中的配置初始化日志记录
SLF4J:类路径包含多个SLF4J绑定。 SLF4J:在[jar:file:/home/hduser/tez/tez/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]中找到绑定
SLF4J:在[jar:file:/usr/local/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]中找到绑定< / p>
SLF4J:有关说明,请参见http://www.slf4j.org/codes.html#multiple_bindings。
SLF4J:实际绑定类型 [org.slf4j.impl.Log4jLoggerFactory]
线程“主”中的异常java.lang.RuntimeException:org.apache.tez.dag.api.SessionNotRunning:TezSession已关闭。
应用程序application_1568628322588_0002因AM容器的appattempt_1568628322588_0002_000002的AM容器已退出两次而失败,并带有exitCode:1有关更详细的输出,请检查应用程序跟踪页面:http://rohan-VirtualBox:8088/cluster/app/application_1568628322588_0002Then,单击指向每次尝试日志的链接。
诊断:来自的异常 容器启动。
容器ID:container_1568628322588_0002_02_000001 退出代码:1
堆栈跟踪:ExitCodeException exitCode = 1:在 org.apache.hadoop.util.Shell.runCommand(Shell.java:582)在 org.apache.hadoop.util.Shell.run(Shell.java:479)在 org.apache.hadoop.util.Shell $ ShellCommandExecutor.execute(Shell.java:773) 在 org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212) 在 org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302) 在 org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82) 在java.util.concurrent.FutureTask.run(FutureTask.java:266)在 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 在 java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624) 在java.lang.Thread.run(Thread.java:748)
答案 0 :(得分:0)
这可能类似于Application failed 2 times due to AM Container: exited with exitCode: 1。
基本上,您粘贴的代码不包含实际的错误代码-因此我们对此无能为力。您需要通过转到资源管理器并查看那里的日志来找到确切的错误消息。