> On July 20, 2017, 4:57 p.m., Sid Wagle wrote: > > ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml > > Lines 34 (patched) > > <https://reviews.apache.org/r/61000/diff/1/?file=1780284#file1780284line34> > > > > What if user has customized the port setting for rpc address different > > from 8020?
The point is to not use "dfs.namenode.rpc-address" as it has wrong value and causes NameNode Py script to finish calculation prematurely. So the fix is to only use fs.defaultFS for non-HA case. fs.defaultFS still has both FQDN and port and NameNode Py script has logic to handle it. - Di ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61000/#review181055 ----------------------------------------------------------- On July 20, 2017, 4:54 p.m., Di Li wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/61000/ > ----------------------------------------------------------- > > (Updated July 20, 2017, 4:54 p.m.) > > > Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, Jonathan > Hurley, Sid Wagle, and Tim Thorpe. > > > Bugs: AMBARI-21527 > https://issues.apache.org/jira/browse/AMBARI-21527 > > > Repository: ambari > > > Description > ------- > > dfs.namenode.rpc-address gets merged in during EU with default value > "localhost:8020". Both the host and port could be wrong and cause issues > during HDFS restart. NN restart for kerberos cluster and remote DN restart > for non secured cluster. > > This is because HDFS Py script looks for that property first and uses it if > it exists. This logic and the fact that the property (seems unnecessarily) > merged in during EU with "localhost:8020" as the value was what caused the > issues in our tests. > > > Diffs > ----- > > > ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/config-upgrade.xml > e476d57 > > ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml > cbd0550 > > ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml > dada6e2 > > ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml > 3ea20ed > > > Diff: https://reviews.apache.org/r/61000/diff/1/ > > > Testing > ------- > > tested as part of the EU > > > Thanks, > > Di Li > >
