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

SafeModeInfo.isManual() returns true when resources are low even if it wasn't entered into manually

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.7, 2.0.4-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta, 0.23.9
    • Component/s: None
    • Labels:
      None

      Description

      HDFS-1594 changed isManual to this

      private boolean isManual() {
        return extension == Integer.MAX_VALUE && !resourcesLow;
      }
      

      One immediate impact of this is that when resources are low, the NN will throw away all block reports from DNs. This is undesirable.

        Attachments

        1. HDFS-4862.branch-0.23.patch
          6 kB
          Ravi Prakash
        2. HDFS-4862.branch-0.23.patch
          6 kB
          Ravi Prakash
        3. HDFS-4862.branch-0.23.patch
          6 kB
          Ravi Prakash
        4. HDFS-4862.patch
          6 kB
          Ravi Prakash
        5. HDFS-4862.patch
          5 kB
          Ravi Prakash
        6. HDFS-4862.patch
          6 kB
          Ravi Prakash
        7. HDFS-4862.patch
          5 kB
          Ravi Prakash
        8. HDFS-4862.patch
          6 kB
          Ravi Prakash
        9. HDFS-4862.patch
          6 kB
          Ravi Prakash

          Issue Links

            Activity

              People

              • Assignee:
                raviprak Ravi Prakash
                Reporter:
                raviprak Ravi Prakash
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: