Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

I want to enable ACL for hadoop users

avatar

ERROR SparkContext: Error initializing SparkContext. org.apache.spark.SparkException: Application application_1699592375401_1753 failed 2 times due to Error launching appattempt_1699592375401_1753_000002. Got exception: org.apache.hadoop.security.authorize.AuthorizationException: User appattempt_1699592375401_1753_000002 (auth: TOKEN) is not authorized for protocol interface org. apache. Hadoop.yarn.api.ContainerManagementProtocolPB: denied by configured ACL

Not able to identify which user is running the container, due to which ACL blocking When put * it is working fine

Please help me on this

4 REPLIES 4

avatar
Community Manager

@HadoopCommunity, Welcome to our community! To help you get the best possible answer, I have tagged our Spark experts @Babasaheb @RangaReddy  who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Collaborator

Hi @HadoopCommunity 

You need to check the application logs fully to identify which user don't have authorization.

avatar

I attached my configuration files in hadoop-policy.xml.

 

c9ec1e2321f602844975dd40ebd0377b-0.jpgc9ec1e2321f602844975dd40ebd0377b-1.jpgc9ec1e2321f602844975dd40ebd0377b-2.jpgc9ec1e2321f602844975dd40ebd0377b-3.jpg

avatar

Please give me solution on this