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

introduce a new config specifically for safe mode block count

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      During the start up, namenode waits for n replicas of each block to be reported by datanodes before exiting the safe mode. Currently n is tied to the min replicas config. We could set min replicas to more than one but we might want to exit safe mode as soon as each block has one replica reported. This can be worked out by introducing a new config variable for safe mode block count

        Attachments

        1. HDFS-8716.8.patch
          6 kB
          Chang Li
        2. HDFS-8716.7.patch
          6 kB
          Chang Li
        3. HDFS-8716.7.patch
          6 kB
          Chang Li
        4. HDFS-8716.6.patch
          4 kB
          Chang Li
        5. HDFS-8716.5.patch
          4 kB
          Chang Li
        6. HDFS-8716.4.patch
          4 kB
          Chang Li
        7. HDFS-8716.3.patch
          4 kB
          Chang Li
        8. HDFS-8716.2.patch
          4 kB
          Chang Li
        9. HDFS-8716.1.patch
          3 kB
          Chang Li

          Activity

            People

            • Assignee:
              lichangleo Chang Li
              Reporter:
              lichangleo Chang Li
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: