hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kuhu Shukla (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10342) BlockManager#createLocatedBlocks should not check corrupt replicas if none are corrupt
Date Wed, 22 Jun 2016 03:34:57 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kuhu Shukla updated HDFS-10342:
-------------------------------
    Attachment: HDFS-10342.002.patch

Updated patch for checkstyle issues. Test failures except TestDFSUpgradeWithHA are seen with
and without the patch and seem to stem from EditLog failures. Investigating those and giving
this patch another chance.

> BlockManager#createLocatedBlocks should not check corrupt replicas if none are corrupt
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-10342
>                 URL: https://issues.apache.org/jira/browse/HDFS-10342
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 2.7.0
>            Reporter: Daryn Sharp
>            Assignee: Kuhu Shukla
>         Attachments: HDFS-10342.001.patch, HDFS-10342.002.patch
>
>
> {{corruptReplicas#isReplicaCorrupt(block, node)}} is called for every node while populating
the machines array.  There's no need to invoke the method if {{corruptReplicas#numCorruptReplicas(block)}}
returned 0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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