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

Add graceful shutdown command for the NN

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      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

              People

              • Assignee:
                bikassaha Bikas Saha
                Reporter:
                bikassaha Bikas Saha
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: