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

StripeReader#checkMissingBlocks() 's IOException info is incomplete

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0, 3.2.0
    • 3.1.0, 3.0.3
    • erasure-coding, hdfs-client
    • 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

        1. HDFS-13225.002.patch
          1 kB
          lufei
        2. HDFS-13225.001.patch
          1 kB
          lufei

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: