-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37271/
-----------------------------------------------------------
Review request for Ambari, Jayush Luniya, Nate Cole, and Sid Wagle.
Bugs: AMBARI-12681
https://issues.apache.org/jira/browse/AMBARI-12681
Repository: ambari
Description
-------
While performing BP based deplyments, during the intial start of the second
(standby) Namenode the bootstrap operation may need to be retried. This
requires force option to be passed in as a parameter as retry may wrongly skip
initialization resulting in permanent NN start failure.
Diffs
-----
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
a86bac4
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py
59e1006
ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py a6bec42
ambari-server/src/test/python/stacks/2.0.6/configs/ha_bootstrap_standby_node_initial_start.json
PRE-CREATION
Diff: https://reviews.apache.org/r/37271/diff/
Testing
-------
Manually tested to verify the force flag is sent only during initial start.
Unit tests passed.
Thanks,
Sumit Mohanty