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 2016/06/01 00:01:25 UTC
[jira] [Commented] (HDFS-10342) BlockManager#createLocatedBlocks
should not check corrupt replicas if none are corrupt
[ https://issues.apache.org/jira/browse/HDFS-10342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15308913#comment-15308913 ]
Kuhu Shukla commented on HDFS-10342:
------------------------------------
Thank you [~xiaobingo] . Sorry about the delay, I have been occupied with some non HDFS work lately. I will work on it later this week. Hope that works! Let me know if you have any comments on this. Thanks!
> 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
>
> {{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