[
https://issues.apache.org/jira/browse/HDFS-1467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-1467:
------------------------------
Attachment: hdfs-1467-fixed.txt
Take two!
The issue was that we actually _depended_ on BlockReceiver to mutate the block
object. But, we want to use the original block object when passing on the
request to the next node in the pipeline. This version just saves off the Block
at the top of the function to a copy, and uses that for the downstream pipeline
node.
TestReplication and TestPipelines both pass with this new version of the patch.
I'm going to run all the tests just to be safe this time :)
> 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-fixed.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.