----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40870/#review108687 -----------------------------------------------------------
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py (line 119) <https://reviews.apache.org/r/40870/#comment168143> There are other places where we check for safemode during EU and RU, please grep for "safemode" in all of HDFS. - Alejandro Fernandez On Dec. 2, 2015, 2:48 p.m., Dmytro Sen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40870/ > ----------------------------------------------------------- > > (Updated Dec. 2, 2015, 2:48 p.m.) > > > Review request for Ambari, Myroslav Papirkovskyy and Vitalyi Brodetskyi. > > > Bugs: AMBARI-14157 > https://issues.apache.org/jira/browse/AMBARI-14157 > > > Repository: ambari > > > Description > ------- > > On Start Services during Kerberization HDFS Check failed because NN was in > the SafeMode > NN was active, but when we were waiting to leave safe mode:We waited for > another NN to exit safe mode, which is not active. > It's because "dfsadmin -fs hdfs://nameservice -safemode get" returns safemode > state for both NN, not only for the current > > > Diffs > ----- > > > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py > 0902637 > ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py 6477d00 > > Diff: https://reviews.apache.org/r/40870/diff/ > > > Testing > ------- > > Unit tests passed > > ---------------------------------------------------------------------- > Ran 250 tests in 8.384s > > OK > ---------------------------------------------------------------------- > Total run:842 > Total errors:0 > Total failures:0 > OK > > > Thanks, > > Dmytro Sen > >