----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/31542/#review74484 -----------------------------------------------------------
Ship it! Ship It! - Vitalyi Brodetskyi On Лют. 27, 2015, 1:23 після полудня, Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/31542/ > ----------------------------------------------------------- > > (Updated Лют. 27, 2015, 1:23 після полудня) > > > Review request for Ambari and Vitalyi Brodetskyi. > > > Bugs: AMBARI-9829 > https://issues.apache.org/jira/browse/AMBARI-9829 > > > Repository: ambari > > > 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. > > > Diffs > ----- > > ambari-common/src/main/python/resource_management/core/shell.py a58102f > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/ranger_service.py > ac0c05c > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/ranger_usersync.py > d2ca35e > ambari-server/src/test/python/stacks/2.2/RANGER/test_ranger_usersync.py > 2269d3c > > Diff: https://reviews.apache.org/r/31542/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >
