Help Center/ MapReduce Service/ Troubleshooting/ Using Hive/ Insufficient User Permission for Running the insert into Command on Hive
Updated on 2024-12-18 GMT+08:00
Insufficient User Permission for Running the insert into Command on Hive
Issue
When a user runs the insert into command on the Beeline CLI, the following error message is displayed:
INFO : Concurrency mode is disabled, not creating a lock manager Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask. org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_xxx to YARN : User xxx cannot submit application application_xxx to queue root.default. ACL check failed. (state=08S01,code=1)
Cause Analysis
The user who submits the job does not have the permission on the Yarn queue.
Procedure
- Configure the Yarn queue permission for the current user.
- On Manager, bind the current user to a role with the corresponding permission, for example, default. For details, see Modifying User Information.
- If Ranger authentication is enabled for Hive, you can configure the permission for the current user to submit jobs in the specified Yarn queue by referring to Adding a Ranger Access Permission Policy for Yarn.
- After the permission configuration takes effect, run the command again.
Parent topic: Using Hive
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.