Takanobu Asanuma created HDFS-11124:
---------------------------------------

             Summary: Report blockIds of internal blocks for EC files in Fsck
                 Key: HDFS-11124
                 URL: https://issues.apache.org/jira/browse/HDFS-11124
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: erasure-coding
    Affects Versions: 3.0.0-alpha1
            Reporter: Takanobu Asanuma
            Assignee: Takanobu Asanuma
             Fix For: 3.0.0-alpha2


At moment, when we do fsck for an EC file which has corrupt blocks and missing 
blocks, the result of fsck is like this:

{quote}
/data/striped 393216 bytes, erasure-coded: policy=RS-DEFAULT-6-3-64k, 1 
block(s): 
/data/striped: CORRUPT blockpool BP-1204772930-172.16.165.209-1478761131832 
block blk_-9223372036854775792
 CORRUPT 1 blocks of total size 393216 B
0. BP-1204772930-172.16.165.209-1478761131832:blk_-9223372036854775792_1001 
len=393216 Live_repl=4  
[DatanodeInfoWithStorage[127.0.0.1:61617,DS-bcfebe1f-ff54-4d57-9258-ff5bdfde01b5,DISK](CORRUPT),
 
DatanodeInfoWithStorage[127.0.0.1:61601,DS-9abf64d0-bb6b-434c-8c5e-de8e3b278f91,DISK](CORRUPT),
 
DatanodeInfoWithStorage[127.0.0.1:61596,DS-62698e61-c13f-44f2-9da5-614945960221,DISK](CORRUPT),
 
DatanodeInfoWithStorage[127.0.0.1:61605,DS-bbce6708-16fe-44ca-9f1c-506cf00f7e0d,DISK](LIVE),
 
DatanodeInfoWithStorage[127.0.0.1:61592,DS-9cdd4afd-2dc8-40da-8805-09712e2afcc4,DISK](LIVE),
 
DatanodeInfoWithStorage[127.0.0.1:61621,DS-f2a72d28-c880-4ffe-a70f-0f403e374504,DISK](LIVE),
 
DatanodeInfoWithStorage[127.0.0.1:61629,DS-fa6ac558-2c38-41fe-9ef8-222b3f6b2b3c,DISK](LIVE)]
{quote}

It would be useful for admins if it reports the blockIds of the internal blocks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to