> On Dec. 28, 2015, 4:21 a.m., Sumit Mohanty wrote: > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py, > > line 107 > > <https://reviews.apache.org/r/41708/diff/1/?file=1176088#file1176088line107> > > > > Why won't the files exist?
In most cases the file will be present, but in case if there is an issue in the rpm/deb packaging this will act as a fallback and prevent the RANGER service from failure to start. - Gautam ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41708/#review111955 ----------------------------------------------------------- On Dec. 28, 2015, 4:37 a.m., Gautam Borad wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/41708/ > ----------------------------------------------------------- > > (Updated Dec. 28, 2015, 4:37 a.m.) > > > Review request for Ambari, Alejandro Fernandez, Mahadev Konar, Sumit Mohanty, > Selvamohan Neethiraj, and Velmurugan Periasamy. > > > Bugs: AMBARI-14492 > https://issues.apache.org/jira/browse/AMBARI-14492 > > > Repository: ambari > > > Description > ------- > > Check if Ranger config files exists in Ranger Conf directory and if files are > not available, copy them from conf.dist directory. > > List of files > ranger-admin-default-site.xml > security-applicationContext.xml > > > Diffs > ----- > > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py > 39fad24 > > Diff: https://reviews.apache.org/r/41708/diff/ > > > Testing > ------- > > Tested Ranger installation through wizard and blueprint on ubuntu 14 with > HDP-2.4 > > ---------------------------------------------------------------------- > Ran 271 tests in 6.361s > > OK > ---------------------------------------------------------------------- > Total run:890 > Total errors:0 > Total failures:0 > OK > > > Thanks, > > Gautam Borad > >
