[ https://issues.apache.org/jira/browse/HDFS-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HDFS-2913: ------------------------------ Target Version/s: (was: HA branch (HDFS-1623)) Summary: Add graceful shutdown command for the NN (was: HA: Need a way to shutdown the Name Node) Moved to be a non-HA-specific task, renamed to match the new purpose. > Add graceful shutdown command for the NN > ---------------------------------------- > > Key: HDFS-2913 > URL: https://issues.apache.org/jira/browse/HDFS-2913 > Project: Hadoop HDFS > Issue Type: New Feature > Components: name-node > 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