Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Please save me!!! [Spark] MetaException: Permission denied: user [**] does not have [READ] privilege on [[hdfs://....]]

avatar
Reader

I am a beginner. I submitted the HQL(create table bds_hive.test_ft19 (name string)) using spark3-shell and experienced three permission errors. These errors indicate that I do not have permissions for the corresponding paths on HDFS. According to the error message, I configured the corresponding path permission in Ranger, but it did not work. In addition, there is no denied record in the audit log. I hope guys can help me analyze and provide solutions.

 

Hadoop version:3.1.1.7.1.7.1000-141

Hive version:3.1.3000.7.1.7.1000-141

Spark version:3.2.1.3.2.7171000.1-1

2微信图片_20221019114029.jpg

 

1 ACCEPTED SOLUTION

avatar
Master Collaborator

Hi,

 

There is a KB article related to this issue, please review this below:

https://community.cloudera.com/t5/Customer/Permission-denied-when-accessing-Hive-tables-from-Spark-i...

 

Regards,

Chethan YM

View solution in original post

1 REPLY 1

avatar
Master Collaborator

Hi,

 

There is a KB article related to this issue, please review this below:

https://community.cloudera.com/t5/Customer/Permission-denied-when-accessing-Hive-tables-from-Spark-i...

 

Regards,

Chethan YM