[
https://issues.apache.org/jira/browse/HDFS-9180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14940564#comment-14940564
]
Jing Zhao commented on HDFS-9180:
---------------------------------
To help testing the patch, we can add the following test in
{{TestDFSStripedOutputStreamWithFailure}}:
{code}
@Test
public void testDataFailureWithAllLengths() throws Exception {
for (int length : LENGTHS) {
LOG.info("run test with length: " + length);
runTest(length);
}
}
{code}
The test may take a couple of hours.
> Update excluded DataNodes in DFSStripedOutputStream based on failures in data
> streamers
> ---------------------------------------------------------------------------------------
>
> Key: HDFS-9180
> URL: https://issues.apache.org/jira/browse/HDFS-9180
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: erasure-coding
> Affects Versions: 3.0.0
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Attachments: HDFS-9180.000.patch, HDFS-9180.001.patch
>
>
> This is a TODO in HDFS-9040: based on the failures all the striped data
> streamers hit, the DFSStripedOutputStream should keep a record of all the
> DataNodes that should be excluded.
> This jira will also fix several bugs in the DFSStripedOutputStream. Will
> provide more details in the comment.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)