> On May 3, 2016, 11:14 p.m., Matt wrote: > > ambari-common/src/main/python/resource_management/libraries/functions/namenode_ha_utils.py, > > line 142 > > <https://reviews.apache.org/r/46949/diff/1/?file=1370315#file1370315line142> > > > > Is there a possibility where active_namenodes can be an empty list? - A > > case where both namenodes are down?
there can be situations where both the namenodes can be down, but in that case "if active_namenode" will result in false and the code will not come here active_namenodes[0] - bhuvnesh ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46949/#review131580 ----------------------------------------------------------- On May 3, 2016, 11:05 p.m., jun aoki wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46949/ > ----------------------------------------------------------- > > (Updated May 3, 2016, 11:05 p.m.) > > > Review request for Ambari. > > > Bugs: AMBARI-16237 > https://issues.apache.org/jira/browse/AMBARI-16237 > > > Repository: ambari > > > Description > ------- > > PXF alerts shows "Configuration parameter 'fs_root' was not found in > configurations dictionary!" when both namnodes are down on secured NN HA > environment, which the error message is not too clear. > > > Diffs > ----- > > > ambari-common/src/main/python/resource_management/libraries/functions/namenode_ha_utils.py > ee16c9b > > Diff: https://reviews.apache.org/r/46949/diff/ > > > Testing > ------- > > Manually tested. > > > Thanks, > > jun aoki > >