Community Articles

Find and share helpful community-sourced technical articles.
Labels (2)
avatar

If any user/admins are not able to view the container logs. And the applications are running with Spark service. Looks like ACLs are not configured. Add this in your clusters: 

 

  1. Go to Cloudera Manager -> Spark -> Configuration -> Spark Client Advanced Configuration Snippet (Safety Valve) for spark-conf/spark-defaults.conf
    spark.acls.enable= true
    spark.admin.acls=username1,username2
    spark.admin.acls.groups=group1,group2
  2. Set spark.ui.view.acls=username1,username2
    spark.ui.view.acls.groups=group1,group2
  3. Set spark.modify.acls=user1,user2
    spark.modify.acls.groups=group1,group2

 If you pass * as value it will give access to all the users. And both user[admin.acls] and groups[admin.acls.groups] accept both username and groups as comma-separated values.

 

Both user and group lists use a comma-separated list of entries. The wildcard character “*” allows access to anyone, and the single space “ “ allows access to no one.

 

Regards,

Naresh.B

 

Disclaimer: This article is contributed by an external user. The steps may not be verified by Cloudera and may not be applicable for all use cases and may be very specific to a particular distribution. Please follow with caution and at your own risk. If needed, raise a support case to get the confirmation.

339 Views
0 Kudos