当前位置:网站首页>Yarn cannot view the historical task log of yarn after enabling ACL user authentication. Solution

Yarn cannot view the historical task log of yarn after enabling ACL user authentication. Solution

2022-07-07 22:37:00 51CTO

Problem description :

yarn Turn on ACL After user authentication , The log can only be seen when the task is executed ,SPARK After running the task , Going to read the log User[yarn] is not authorized to view the logs for container A hint of

Yarn Turn on ACL Cannot view after user authentication Yarn Historical task log solution _ Solution

Solution :

      
      
The main reason is that I opened sentry After certification , The queue of the resource pool is ACL Managed , Submit with hive Submitted by the user , stay ACL Only... Was added root Forget to add hive
and yarn, After the task is executed , Historical logs are transferred from local to HDFS, Without permission to access .
Solution :
management ACL:yarn.admin.acl If you enter the following users :
admin,root,hive,yarn,hdfs,spark,impala,tools
Restart after saving Yarn The service can be .
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.

Yarn Turn on ACL Cannot view after user authentication Yarn Historical task log solution _hdfs_02

Then you can read the historical log normally .

Yarn Turn on ACL Cannot view after user authentication Yarn Historical task log solution _hdfs_03

原网站

版权声明
本文为[51CTO]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207072135076342.html