HA: entering SM after starting SBN can NPE
------------------------------------------
Key: HDFS-2747
URL: https://issues.apache.org/jira/browse/HDFS-2747
Project: Hadoop HDFS
Issue Type: Sub-task
Components: ha
Affects Versions: HA branch (HDFS-1623)
Reporter: Eli Collins
Entering SM on the primary after while it's already in SM after the SBN is
started results in an NPE:
{noformat}
hadoop-0.24.0-SNAPSHOT $ ./bin/hdfs dfsadmin -safemode get
Safe mode is ON
hadoop-0.24.0-SNAPSHOT $ ./bin/hdfs dfsadmin -safemode enter
safemode: java.lang.NullPointerException
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira