[
https://issues.apache.org/jira/browse/HDFS-10342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413874#comment-15413874
]
Hudson commented on HDFS-10342:
-------------------------------
SUCCESS: Integrated in Hadoop-trunk-Commit #10244 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/10244/])
HDFS-10342. BlockManager#createLocatedBlocks should not check corrupt (kihwal:
rev b10c936020e2616609dcb3b2126e8c34328c10ca)
*
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlockManager.java
*
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
> 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
> Fix For: 3.0.0-alpha2
>
> Attachments: HDFS-10342.001.patch, HDFS-10342.002.patch,
> HDFS-10342.003.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: [email protected]
For additional commands, e-mail: [email protected]