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 Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 0.23.7, 2.0.4-alpha
    • 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.

      1. HDFS-4862.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
        5 kB
        Ravi Prakash
      5. HDFS-4862.patch
        6 kB
        Ravi Prakash
      6. HDFS-4862.patch
        5 kB
        Ravi Prakash
      7. HDFS-4862.branch-0.23.patch
        6 kB
        Ravi Prakash
      8. HDFS-4862.patch
        6 kB
        Ravi Prakash
      9. HDFS-4862.patch
        6 kB
        Ravi Prakash

        Issue Links

          Activity

          Allen Wittenauer made changes -
          Fix Version/s 3.0.0 [ 12320356 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Kihwal Lee made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 3.0.0 [ 12320356 ]
          Fix Version/s 2.1.0-beta [ 12324031 ]
          Fix Version/s 0.23.9 [ 12324563 ]
          Resolution Fixed [ 1 ]
          Ravi Prakash made changes -
          Attachment HDFS-4862.patch [ 12586608 ]
          Ravi Prakash made changes -
          Attachment HDFS-4862.branch-0.23.patch [ 12586604 ]
          Ravi Prakash made changes -
          Attachment HDFS-4862.branch-0.23.patch [ 12586547 ]
          Ravi Prakash made changes -
          Attachment HDFS-4862.patch [ 12586543 ]
          Ravi Prakash made changes -
          Attachment HDFS-4862.patch [ 12586541 ]
          Ravi Prakash made changes -
          Target Version/s 3.0.0, 2.1.0-beta, 0.23.8 [ 12320356, 12324031, 12324141 ] 3.0.0, 2.1.0-beta, 0.23.9 [ 12320356, 12324031, 12324563 ]
          Ravi Prakash made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 3.0.0, 2.1.0-beta, 0.23.8 [ 12320356, 12324031, 12324141 ] 0.23.8, 3.0.0, 2.1.0-beta [ 12324141, 12320356, 12324031 ]
          Ravi Prakash made changes -
          Attachment HDFS-4862.patch [ 12586521 ]
          Ravi Prakash made changes -
          Attachment HDFS-4862.branch-0.23.patch [ 12586520 ]
          Ravi Prakash made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Target Version/s 3.0.0, 2.1.0-beta, 0.23.8 [ 12320356, 12324031, 12324141 ] 0.23.8, 3.0.0, 2.1.0-beta [ 12324141, 12320356, 12324031 ]
          Ravi Prakash made changes -
          Attachment HDFS-4862.patch [ 12586114 ]
          Ravi Prakash made changes -
          Assignee Ravi Prakash [ raviprak ]
          Ravi Prakash made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Ravi Prakash made changes -
          Attachment HDFS-4862.patch [ 12585996 ]
          Kihwal Lee made changes -
          Link This issue blocks HDFS-4832 [ HDFS-4832 ]
          Ravi Prakash made changes -
          Field Original Value New Value
          Link This issue is broken by HDFS-1594 [ HDFS-1594 ]
          Ravi Prakash created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development