Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hive/Druid (llap) query failing - Queue root.default already has 0 applications, cannot accept submission

Hive/Druid (llap) query failing - Queue root.default already has 0 applications, cannot accept submission

New Contributor

Hi all (new druid/hive setup on HDP, by a noob..), had this working last week, but today when I send a query via hive, I am getting the following error, any pointers greatly appreciated.


Caused by: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1550527619881_0001 to YARN : org.apache.hadoop.security.AccessControlException: Queue root.default already has 0 applications, cannot accept submission of application: application_1550527619881_0001    at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.submitApplication(YarnClientImpl.java:304) ~[hadoop-yarn-client-3.1.1.3.1.0.0-78.jar:?]    at org.apache.tez.client.TezYarnClient.submitApplication(TezYarnClient.java:77) ~[tez-api-0.9.1.3.1.0.0-78.jar:0.9.1.3.1.0.0-78]    at org.apache.tez.client.TezClient.start(TezClient.java:402) ~[tez-api-0.9.1.3.1.0.0-78.jar:0.9.1.3.1.0.0-78]    ... 28 moreERROR : FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTaskINFO  : Completed executing command(queryId=hive_20190218220946_044fa99b-a547-4e1c-9915-2b9a9c0cb17c); Time taken: 1.315 secondsError: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask (state=08S01,code=1)


Poking around, I see in the YARN-Management UI, I have 2 applications running for 6 days..

one is llap0 (yaarn-service) and 1 is hive-<UUID>

Trying ti kill the hive app (from the UI), just gives:

Error: Kill application failed!

The llap0 service is shown to be at 100% but is still running..I haven't tried killing it yet..not sure I should..


2 REPLIES 2
Highlighted

Re: Hive/Druid (llap) query failing - Queue root.default already has 0 applications, cannot accept submission

Super Collaborator

Hi @Dan Hops,

It seems you are working with single node cluster and configured LLAP in top of hive with yarn 100% utilization

Please configure the LLAP to use 25% of your Yarn capacity

Re: Hive/Druid (llap) query failing - Queue root.default already has 0 applications, cannot accept submission

New Contributor

Any Suggestions on how to do that..(complete noob here), looking at: https://community.hortonworks.com/articles/149486/llap-sizing-and-setup.html, but I think that is previous version of HDP (im using 3.0)..not seeing what exactly what I need to adjust?