Skip to main content
sekhar1
Bronze ⭐️⭐️⭐️
Sep 11, 2022 9:17 PM UTC
Solved

"error": "There is no mapped role for the group(s) associated with the authenticated user.",

Hi All,

I am trying to run a Spark job using a python script in CDE cluster. The script is from a CDE tutorial.

The job fails due to the error message in log files (in Subject). Appreciate any inputs.

Thanks in advance ....

 

Sekhar

 

sekhar1_0-1662929149578.png

 

 

araujo
araujoAnswer
Platinum ⭐️⭐️⭐️
Sep 12, 2022 12:01 AM UTC

@sekhar1 ,

 

The CDP user that you're using to execute your job needs an "IDBroker mapping" to a valid AWS role to be able to access the contents of the S3 bucket.

 

Please check this: https://docs.cloudera.com/cdf-datahub/7.2.10/nifi-hive-ingest/topics/cdf-datahub-hive-ingest-idbroker-mapping.html

 

Cheers,

André

 

-- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs up button.

2 replies

araujo
Platinum ⭐️⭐️⭐️
araujoAnswer
Platinum ⭐️⭐️⭐️
Sep 12, 2022 12:01 AM UTC

@sekhar1 ,

 

The CDP user that you're using to execute your job needs an "IDBroker mapping" to a valid AWS role to be able to access the contents of the S3 bucket.

 

Please check this: https://docs.cloudera.com/cdf-datahub/7.2.10/nifi-hive-ingest/topics/cdf-datahub-hive-ingest-idbroker-mapping.html

 

Cheers,

André

 

Translate
-- Was your question answered? Please take some time to click on "Accept as Solution" below this post. If you find a reply useful, say thanks by clicking on the thumbs up button.
smdas
Gold ⭐️⭐️
Gold ⭐️⭐️
Oct 14, 2022 10:42 AM UTC

Hello @sekhar1 

 

We hope your Q was answered by André. As such, We are marking the Post as Resolved. If the Link shared by André didn't fix the issue, Feel free to Update the Post likewise. 

 

Regards, Smarak

Translate