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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.7, 2.0.4-alpha, 3.0.0-alpha1
    • 2.1.0-beta, 0.23.9
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: