Help Center/ MapReduce Service/ User Guide (ME-Abu Dhabi Region)/ Troubleshooting/ Using Hive/ An Error Is Reported When SQL Is Executed to Submit a Task to a Specified Queue
Updated on 2022-02-22 GMT+08:00

An Error Is Reported When SQL Is Executed to Submit a Task to a Specified Queue

Symptom

The following error is reported when executing SQL to submit a task to Yarn:

Failed to submit application_1475400939788_0033 to YARN : org.apache.hadoop.security.AccessControlException: User newtest cannot submit applications to queue root.QueueA

Cause Analysis

The current login user does not have the permission to submit the YARN queue.

Solution

Grant the submission permission of the specified Yarn queue to the user. On Manager, choose System > Permission > User and bind a role with the queue submission permission to the user.