> On Jan. 27, 2017, 8 p.m., Alejandro Fernandez wrote: > > ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-env.xml, > > line 157 > > <https://reviews.apache.org/r/56022/diff/1/?file=1617907#file1617907line157> > > > > In that case, this should belong in yarn-env for HDP 2.6. > > Earlier versions will not have the rm_security_ops variable in params.py
Does config export clever enough currently to pick up yarn-env template from HDP 2.6 in case the cluster is using HDP 2.6? - Sebastian ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56022/#review163309 ----------------------------------------------------------- On Jan. 27, 2017, 7:24 p.m., Attila Magyar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/56022/ > ----------------------------------------------------------- > > (Updated Jan. 27, 2017, 7:24 p.m.) > > > Review request for Ambari, Laszlo Puskas, Robert Levas, and Sebastian Toader. > > > Bugs: AMBARI-19683 > https://issues.apache.org/jira/browse/AMBARI-19683 > > > Repository: ambari > > > Description > ------- > > Exported YARN configuration was different than the stored configuration. I > replaced the Python logic that assembled yarn security opt with jinja > template logic. > > > Diffs > ----- > > > ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py > aed8abc > > ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-env.xml > 190684c > > Diff: https://reviews.apache.org/r/56022/diff/ > > > Testing > ------- > > Tested manually: > - created a cluster with YARN > - enabled kerberos > - exported configuration > - checked that yarn security opts are presented in the exported config > - disablde kerberos > - checked that yarn security opts are not presented in the exported config > > Unittests are running... > > > Thanks, > > Attila Magyar > >