> On Nov. 14, 2016, 1:05 p.m., Jonathan Hurley wrote: > > ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml, > > lines 620-622 > > <https://reviews.apache.org/r/53725/diff/1/?file=1563029#file1563029line620> > > > > You can place this with a <condition> element inside of a <group/> > > element inside of the <order/> up top. > > > > If there's not already a group for Ranger KMS, you can add one. This > > way, you're still using the <condition/> element.
Updated in latest patch - Mugdha ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53725/#review155804 ----------------------------------------------------------- On Nov. 15, 2016, 6:43 a.m., Mugdha Varadkar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/53725/ > ----------------------------------------------------------- > > (Updated Nov. 15, 2016, 6:43 a.m.) > > > Review request for Ambari, Alejandro Fernandez, Gautam Borad, Jonathan > Hurley, and Velmurugan Periasamy. > > > Bugs: AMBARI-18834 > https://issues.apache.org/jira/browse/AMBARI-18834 > > > Repository: ambari > > > Description > ------- > > Add below properties during stack upgrade to 2.5 in kerberos environment > under kms-site.xml > > - hadoop.kms.proxyuser.[ranger].groups=* > - hadoop.kms.proxyuser.[ranger].hosts=* > - hadoop.kms.proxyuser.[ranger].users=* > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/RangerKmsProxyConfig.java > PRE-CREATION > > ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml > 04e4f3e > > ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.6.xml > 3233f7e > ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml > 95c5f06 > ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml > a01996a > > ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml > 05e2be1 > > ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.6.xml > 1a26e59 > ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml > f0c6131 > ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml > f520faf > > ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/RangerKmsProxyConfigTest.java > PRE-CREATION > > Diff: https://reviews.apache.org/r/53725/diff/ > > > Testing > ------- > > Tested EU from 2.4 to 2.5 stack in kerberos environment on centos 6. > > > ------------------------------------------------------ > T E S T S > ------------------------------------------------------- > OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support > was removed in 8.0 > Running > org.apache.ambari.server.serveraction.upgrades.RangerKmsProxyConfigTest > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.679 sec - > in org.apache.ambari.server.serveraction.upgrades.RangerKmsProxyConfigTest > > Results : > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 > > > Thanks, > > Mugdha Varadkar > >