lufei created HDFS-13225:
----------------------------

             Summary: StripeReader#checkMissingBlocks() 's IOException info is 
incomplete
                 Key: HDFS-13225
                 URL: https://issues.apache.org/jira/browse/HDFS-13225
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: erasure-coding, hdfs-client
    Affects Versions: 3.1.0, 3.2.0
            Reporter: lufei
            Assignee: lufei


When the file's ErasureCodingPolicy is XOR-3-2-128k, then stop 3 datanodes 
which were used by the block. With the following op(read the file), the 
exception message was incomplete, because of the class of LocatedBlocks's info 
was not displayed complete.

 

{color:#707070}hadoop@EC102:/home/lufei> hadoop fs -get 
/lufei/fsimage_0000000000268172191_140 test112{color}
{color:#707070}get: 3 missing blocks, the stripe is: AlignedStripe(Offset=0, 
length=131072, fetchedChunksNum=0, missingChunksNum=3); locatedBlocks is: 
{color:#d04437}LocatedBlocks{{color}{color}
{color:#707070}hadoop@EC102:/home/lufei>{color}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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