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

SafeModeMonitor should not leave safe mode if name system is starting active service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • namenode
    • None
    • Reviewed

    Description

      This is a follow-up of HDFS-10192.

      The BlockManagerSafeMode$SafeModeMonitor#canLeave() is not checking the namesystem#inTransitionToActive(), while it should. According to the fix of HDFS-10192, we should add this check to prevent the smmthread from calling leaveSafeMode() too early.

      Attachments

        1. HDFS-10306.000.patch
          1 kB
          Mingliang Liu

        Issue Links

          Activity

            People

              liuml07 Mingliang Liu
              liuml07 Mingliang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: