[
https://issues.apache.org/jira/browse/AMBARI-9829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340125#comment-14340125
]
Hudson commented on AMBARI-9829:
--------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #1888 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/1888/])
AMBARI-9829. Ranger usersync process needs to be run as root (aonishuk)
(aonishuk:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6ed6784c366d5a28d36f413d6d2207686a9bfa4f)
*
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/ranger_usersync.py
*
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/ranger_service.py
* ambari-common/src/main/python/resource_management/core/shell.py
* ambari-server/src/test/python/stacks/2.2/RANGER/test_ranger_usersync.py
> 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)