[
https://issues.apache.org/jira/browse/AMBARI-9829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Onischuk resolved AMBARI-9829.
-------------------------------------
Resolution: Fixed
Committed to trunk and branch-2.0.0
> 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)