Support Questions
Find answers, ask questions, and share your expertise

Cannot query with beeline after enabling LLAP

Cannot query with beeline after enabling LLAP

New Contributor

I've enabled LLAP in HDP 2.6.3 following the instructions on the page https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.3/bk_hive-performance-tuning/content/ch_hive-... and when I try to execute a query using beeline it fails with the error

java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask.

YARN reports this error

org.apache.hadoop.security.AccessControlException: Queue root.default already has 0 applications, cannot accept submission of application

What have I missed to use LLAP with beeline queries?

2 REPLIES 2

Re: Cannot query with beeline after enabling LLAP

Contributor

@Robert Lake

Can you please add the yarn capacity scheduler configs here? Thanks!

Re: Cannot query with beeline after enabling LLAP

@Robert Lake

It seems like post LLAP enable, the YARN queue configuration are modified because of which the root user is not able to submit queries to the default queue. Check the YARN queue configurations and provide default queue some amount of resource to accommodate submitted applications . Or you could try running the query after setting "set tez.queue.name=<llap_queue_name>;". This enables the query to be submitted under LLAP queue than default queue.

Similar HCC link.