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

Add an option to DFSAdmin -safemode wait to ignore connection failures

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Later
    • 2.6.0
    • None
    • tools

    Description

      Currently, the dfsadmin -safemode wait command aborts when connection to the NN fails (network glitch, ConnectException when NN is unreachable, EOFException if network link shut down).

      In certain situations, users have asked for an option to make the command resilient to connection failures. This is useful so that the admin can initiate the wait command despite the NN not being fully up or survive intermittent network issues. With this option, the admin can rely on the wait command continuing to poll instead of aborting.

      Attachments

        1. HDFS-7542.002.patch
          14 kB
          Stephen Chu
        2. HDFS-7542.001.patch
          14 kB
          Stephen Chu

        Activity

          People

            schu Stephen Chu
            schu Stephen Chu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: