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

BlockManager#createLocatedBlocks() can throw ArrayIndexOutofBoundsException when corrupt replicas are inconsistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      The calculation for numMachines can be too less (causing ArrayIndexOutOfBoundsException) or too many (causing NPE (HDFS-9958)) if data structures find inconsistent number of corrupt replicas. This was earlier found related to failed storages. This JIRA tracks a change that works for all possible cases of inconsistencies.

      Attachments

        1. HDFS-11797.001.patch
          0.9 kB
          Kuhu Shukla

        Issue Links

          Activity

            People

              kshukla Kuhu Shukla
              kshukla Kuhu Shukla
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: