[
https://issues.apache.org/jira/browse/HDFS-9260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14975040#comment-14975040
]
Zhe Zhang commented on HDFS-9260:
---------------------------------
Thanks for the great work Staffan.
The only change related to erasure coding is the below block ID translation,
and I think it is done correctly.
{code}
+ long replicaID = replica.getBlockId();
+ if (BlockIdManager.isStripedBlockID(replicaID)
+ && (!hasNonEcBlockUsingStripedID ||
+ !blocksMap.containsBlock(replica))) {
+ replicaID = BlockIdManager.convertToStripedID(replicaID);
}
{code}
Will post a full review shortly.
> Improve performance and GC friendliness of startup and FBRs
> -----------------------------------------------------------
>
> Key: HDFS-9260
> URL: https://issues.apache.org/jira/browse/HDFS-9260
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode, namenode, performance
> Affects Versions: 2.7.1
> Reporter: Staffan Friberg
> Assignee: Staffan Friberg
> Attachments: HDFS Block and Replica Management 20151013.pdf,
> HDFS-7435.001.patch, HDFS-7435.002.patch, HDFS-7435.003.patch,
> HDFS-7435.004.patch, HDFS-7435.005.patch, HDFS-7435.006.patch,
> HDFS-7435.007.patch
>
>
> This patch changes the datastructures used for BlockInfos and Replicas to
> keep them sorted. This allows faster and more GC friendly handling of full
> block reports.
> Would like to hear peoples feedback on this change and also some help
> investigating/understanding a few outstanding issues if we are interested in
> moving forward with this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)