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

Wei-Chiu Chuang commented on HDFS-13486:
----------------------------------------

There are quite a few conflicts, but the biggest change compared to the 
branch-2.8 patch is
{code:java|title=BlockInfoContiguousUnderConstruction#addReplicaIfNotPresent}
void addReplicaIfNotPresent(DatanodeStorageInfo storage,
                     Block block,
                     ReplicaState rState) {
    Iterator<ReplicaUnderConstruction> it = replicas.iterator();
    while (it.hasNext()) {
{code}
because branch-2.7 does not have HDFS-8928. Without the change, replicas could 
be null and tests fails with NPE.

> Backport HDFS-11817 to branch-2.7
> ---------------------------------
>
>                 Key: HDFS-13486
>                 URL: https://issues.apache.org/jira/browse/HDFS-13486
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>         Attachments: HDFS-11817.branch-2.7.001.patch
>
>
> HDFS-11817 is a good fix to have in branch-2.7.
> I'm taking a stab at it now.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to