Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1
-
Reviewed
Description
At the moment, when we do fsck for an EC file which has corrupt blocks and missing blocks, the result of fsck is like this:
/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)]
It would be useful for admins if it reports the blockIds of the internal blocks.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-11370 Optimize NamenodeFsck#getReplicaInfo
- Resolved