HA: Need a way to shutdown the Name Node
----------------------------------------
Key: HDFS-2913
URL: https://issues.apache.org/jira/browse/HDFS-2913
Project: Hadoop HDFS
Issue Type: Sub-task
Components: name-node
Affects Versions: HA branch (HDFS-1623)
Reporter: Bikas Saha
Assignee: Bikas Saha
Ideally, NameNode.stop() needs to be called because it will change the HA state
and shutdown all services. NameNode reference is not available anywhere. Hence
it is not possible to shutdown the name node gracefully.
A possible solution could be to have a Service interface that gets passed down
to components like FSNameSystem, via which they can inform the NameNode about
irrecoverable errors. NameNode could then decide to shutdown.
--
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