Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1623 High Availability Framework for HDFS NN
  3. HDFS-2747

HA: entering safe mode after starting SBN can NPE

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HA branch (HDFS-1623)
    • HA branch (HDFS-1623)
    • ha
    • None

    Description

      Entering Safemode on the primary after while it's already in safemode after the SBN is started results in an NPE:

      hadoop-0.24.0-SNAPSHOT $ ./bin/hdfs dfsadmin -safemode get
      Safe mode is ON
      hadoop-0.24.0-SNAPSHOT $ ./bin/hdfs dfsadmin -safemode enter
      safemode: java.lang.NullPointerException
      

      Attachments

        1. HDFS-2747.patch
          7 kB
          Uma Maheswara Rao G
        2. HDFS-2747.patch
          6 kB
          Uma Maheswara Rao G

        Activity

          People

            umamaheswararao Uma Maheswara Rao G
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: