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

StripeReader#checkMissingBlocks() 's IOException info is incomplete

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 3.2.0
    • Fix Version/s: 3.1.0, 3.0.3
    • Component/s: erasure-coding, hdfs-client
    • Labels:
      None

      Description

      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.

       

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

        Attachments

          Activity

            People

            • Assignee:
              figo lufei
              Reporter:
              figo lufei
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: