hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11797) BlockManager#createLocatedBlocks() can throw ArrayIndexOutofBoundsException when corrupt replicas are inconsistent
Date Tue, 13 Jun 2017 14:32:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16047968#comment-16047968
] 

Brahma Reddy Battula commented on HDFS-11797:
---------------------------------------------

Yes,it's almost hitting HDFS-11445 and  now {{BlockInfoContiguousUnderConstruction#setGenerationStampAndVerifyReplicas()}}
and {{BlockInfoContiguousUnderConstruction#commitBlock()}} return the list of stale replicas
and then removing these stored blockInfo in BlockManager..

> 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
>            Priority: Critical
>         Attachments: HDFS-11797.001.patch
>
>
> 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.4.14#64029)

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


Mime
View raw message