Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2913

Add graceful shutdown command for the NN

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • namenode
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bikassaha Bikas Saha
            bikassaha Bikas Saha

            Dates

              Created:
              Updated:

              Slack

                Issue deployment