You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Kuhu Shukla (JIRA)" <ji...@apache.org> on 2017/05/10 16:26:04 UTC

[jira] [Created] (HDFS-11797) BlockManager#createLocatedBlocks() can throw ArrayIndexOutofBoundsException when corrupt replicas are inconsistent

Kuhu Shukla created HDFS-11797:
----------------------------------

             Summary: BlockManager#createLocatedBlocks() can throw ArrayIndexOutofBoundsException when corrupt replicas are inconsistent
                 Key: HDFS-11797
                 URL: https://issues.apache.org/jira/browse/HDFS-11797
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Kuhu Shukla
            Assignee: Kuhu Shukla


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org