Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25225

Zeppelin Restart via Ambari Changes Permissions on log folder which causes Permission issue for impersonated users

    XMLWordPrintableJSON

Details

    Description

      Problem Statement : I am Using User impersonation for some of interpreters in zeppelin , now that the interpreters write their own logs to the zeppelin log directory. This becomes impossible if the users do not have permissions to write to the zeppelin log directory. This is because while starting zeppelin the Ambari changes the permission of zeppelin log directory to 0755 which makes only Zeppelin user having having write permission in log directory.

      expectation with user impersonation is, all the impersonating users will belong to hadoop group (which is same as zeppelin, zeppelin also belong to hadoop) . So Zeppelin Startup script should give 0775 Permission to /var/log/zeppelin folder

      https://github.com/apache/ambari/blob/release-2.6.2/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py#L104

      Attachments

        Issue Links

          Activity

            People

              asnaik Akhil Naik
              asnaik Akhil Naik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h