0

IAE 是否支持 Hive LLAP 功能?如果是,如何使用 Ambari UI 启用它?

我尝试根据Hortonworks 的教程启用,但出现错误:

$ hive

Logging initialized using configuration in file:/etc/hive/2.6.5.0-292/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.TezException: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1528895103783_0002 to YARN : org.apache.hadoop.security.AccessControlException: Queue root.default already has 1 applications, cannot accept submission of application: application_1528895103783_0002
    at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:582)
    at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
    at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
Caused by: org.apache.tez.dag.api.TezException: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1528895103783_0002 to YARN : org.apache.hadoop.security.AccessControlException: Queue root.default already has 1 applications, cannot accept submission of application: application_1528895103783_0002
    at org.apache.tez.client.TezClient.start(TezClient.java:388)
    at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:197)
    at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:116)
    at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:579)
    ... 8 more
Caused by: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1528895103783_0002 to YARN : org.apache.hadoop.security.AccessControlException: Queue root.default already has 1 applications, cannot accept submission of application: application_1528895103783_0002
    at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.submitApplication(YarnClientImpl.java:272)
    at org.apache.tez.client.TezYarnClient.submitApplication(TezYarnClient.java:72)
    at org.apache.tez.client.TezClient.start(TezClient.java:383)
    ... 11 more
4

1 回答 1

1

我已按照https://hortonworks.com/tutorial/interactive-sql-on-hadoop-with-hive-llap/中描述的过程进行操作,并且可以正常工作。

我认为,您应该注意的是按照建议更改 YARN 内存,而程序中没有的一件事是启用“抢占”YARN 功能。

问候,让

于 2018-06-15T12:20:44.980 回答