Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha2
    • erasure-coding
    • None
    • Reviewed

    Description

      For RS-6-3, when there is one ec block group and
      1) 0~3 out of 9 internal blocks are missing, the result of fsck is HEALTY.
      2) 4~8 out of 9 internal blocks are missing, the result of fsck is HEALTY.

      Erasure Coded Block Groups:
       Total size:    536870912 B
       Total files:   1
       Total block groups (validated):        1 (avg. block group size 536870912 B)
        ********************************
        UNRECOVERABLE BLOCK GROUPS:   1 (100.0 %)
        ********************************
       Minimally erasure-coded block groups:  0 (0.0 %)
       Over-erasure-coded block groups:       0 (0.0 %)
       Under-erasure-coded block groups:      1 (100.0 %)
       Unsatisfactory placement block groups: 0 (0.0 %)
       Default ecPolicy:              RS-DEFAULT-6-3-64k
       Average block group size:      5.0
       Missing block groups:          0
       Corrupt block groups:          0
       Missing internal blocks:       4 (44.444443 %)
      FSCK ended at Wed Aug 31 13:42:05 JST 2016 in 4 milliseconds
      
      The filesystem under path '/' is HEALTHY
      

      3) 9 out of 9 internal blocks are missing, the result of fsck is CRITICAL. (Because it is regarded as a missing block group.)

      In case 2), the result should be CRITICAL since the ec block group is unrecoverable.

      Attachments

        1. HDFS-10826.2.patch
          10 kB
          Takanobu Asanuma
        2. HDFS-10826.3.patch
          12 kB
          Takanobu Asanuma
        3. HDFS-10826.4.patch
          13 kB
          Takanobu Asanuma
        4. HDFS-10826.5.patch
          13 kB
          Takanobu Asanuma
        5. HDFS-10826.WIP.1.patch
          3 kB
          Takanobu Asanuma

        Activity

          People

            tasanuma Takanobu Asanuma
            tasanuma Takanobu Asanuma
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: