You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/02/27 14:24:04 UTC

[jira] [Created] (AMBARI-9829) Ranger usersync process needs to be run as root

Andrew Onischuk created AMBARI-9829:
---------------------------------------

             Summary: Ranger usersync process needs to be run as root
                 Key: AMBARI-9829
                 URL: https://issues.apache.org/jira/browse/AMBARI-9829
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.0.0


In HDP 2.2, ranger usersync process needs to be run as root.

Noticed that this commit makes the process to run as ranger user. It will
break the functionality.

<https://github.com/apache/ambari/commit/a5c7e2e7ff809c4608261275844d39cb015db
a44#diff-92ddc4f185e2df44f24e021f458beb2d>

Seeing the below error in usersync.log

    
    
    26 Feb 2015 11:31:55 ERROR UnixAuthenticationService [main] - ERROR: Service: UnixAuthenticationService
    java.io.FileNotFoundException: ./conf/cert/unixauthservice.jks (Permission denied)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:146)
            at com.xasecure.authentication.UnixAuthenticationService.getFileInputStream(UnixAuthenticationService.java:271)
            at com.xasecure.authentication.UnixAuthenticationService.startService(UnixAuthenticationService.java:185)
            at com.xasecure.authentication.UnixAuthenticationService.run(UnixAuthenticationService.java:102)
            at com.xasecure.authentication.UnixAuthenticationService.main(UnixAuthenticationService.java:88)
    26 Feb 2015 11:31:55  INFO UnixAuthenticationService [main] - Service: UnixAuthenticationService - STOPPED.
    





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)