Akhil S Naik created AMBARI-25225:
-------------------------------------

             Summary: Zeppelin Restart via Ambari Changes Permissions on log 
folder which causes Permission issue for impersonated users
                 Key: AMBARI-25225
                 URL: https://issues.apache.org/jira/browse/AMBARI-25225
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.6.2
            Reporter: Akhil S Naik
            Assignee: Akhil S Naik


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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to