Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- links to