XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • namenode
    • None
    • Reviewed

    Description

      Some code cleanup for DatanodeDescriptor and HeartbeatManager. The changes include:

      1. Change DataDescriptor#isAlive and DatanodeDescriptor#needKeyUpdate from public to private
      2. Use EnumMap for HeartbeatManager#storageTypeStatesMap
      3. Move the isInStartupSafeMode out of the namesystem lock in heartbeatCheck

      Attachments

        1. HDFS-9223.003.patch
          44 kB
          Jing Zhao
        2. HDFS-9223.002.patch
          43 kB
          Jing Zhao
        3. HDFS-9223.001.patch
          43 kB
          Jing Zhao
        4. HDFS-9223.000.patch
          30 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: