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

EC : Fsck -blockId shows number of redundant internal block replicas for EC Blocks

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      For the block of the ec file run hdfs fsck -blockId xxx can add shows number of redundant internal block replicas.

      for example: the current blockgroup has 10 live replicas, and it will show there are 9 live replicas.
      actually, there is a live replica that should be in the redundant state, can add shows "No. of redundant Replica: 1"

      hdfs fsck -blockId blk_-xxx
      
      Block Id: blk_-xxx
      Block belongs to: /ec/file1
      No. of Expected Replica: 9
      No. of live Replica: 9
      No. of excess Replica: 0
      No. of stale Replica: 0
      No. of decommissioned Replica: 0
      No. of decommissioning Replica: 0
      No. of corrupted Replica: 0
      Block replica on datanode/rack: ip-xxx1 is HEALTHY
      Block replica on datanode/rack: ip-xxx2 is HEALTHY
      Block replica on datanode/rack: ip-xxx3 is HEALTHY
      Block replica on datanode/rack: ip-xxx4 is HEALTHY
      Block replica on datanode/rack: ip-xxx5 is HEALTHY
      Block replica on datanode/rack: ip-xxx6 is HEALTHY
      Block replica on datanode/rack: ip-xxx7 is HEALTHY
      Block replica on datanode/rack: ip-xxx8 is HEALTHY
      Block replica on datanode/rack: ip-xxx9 is HEALTHY
      Block replica on datanode/rack: ip-xxx10 is HEALTHY
      

      Attachments

        Issue Links

          Activity

            People

              haiyang Hu Haiyang Hu
              haiyang Hu Haiyang Hu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: