[
https://issues.apache.org/jira/browse/HDFS-1467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932358#action_12932358
]
Konstantin Shvachko commented on HDFS-1467:
-------------------------------------------
I don't quite understand what is wrong. I see we pass the old block and the
newGs to
{{datanode.data.append(block, newGs, minBytesRcvd);}}
only after that we set newGs to the old block. Looks good to me so far.
> we can never successfully construct a pipeline for append with more than one
> datanode in it!
I can testify this had been tested. Can we try to trace it back - not to blame
anybody, but to restate the historical events.
May be Hairong can shed some light onto it.
> Append pipeline never succeeds with more than one replica
> ---------------------------------------------------------
>
> Key: HDFS-1467
> URL: https://issues.apache.org/jira/browse/HDFS-1467
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: data-node
> Affects Versions: 0.22.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Priority: Blocker
> Attachments: failed-TestPipelines.txt, hdfs-1467.txt
>
>
> TestPipelines appears to be failing on trunk:
> Should be RBW replica after sequence of calls append()/write()/hflush()
> expected:<RBW> but was:<FINALIZED>
> junit.framework.AssertionFailedError: Should be RBW replica after sequence of
> calls append()/write()/hflush() expected:<RBW> but was:<FINALIZED>
> at
> org.apache.hadoop.hdfs.TestPipelines.pipeline_01(TestPipelines.java:109)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.