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

Walter Su commented on HDFS-9323:
---------------------------------

In the test case, dnIndex is streamers' index, also is block index.
{noformat}
idx0  idx1  idx2  idx3  idx4  idx5  idx6  idx7  idx8
 *     *     *     *     *     *     *     *     *
 *     *     *     *(killPos)
{noformat}
idx0,5,6,8 are boundary, idx3,4 are boundary too. So it doesn't worth much to 
skip some index.

The patch LGTM. +1 pending jenkins.

> Randomize the DFSStripedOutputStreamWithFailure tests
> -----------------------------------------------------
>
>                 Key: HDFS-9323
>                 URL: https://issues.apache.org/jira/browse/HDFS-9323
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Minor
>         Attachments: h9323_20151028.patch
>
>
> Currently, the DFSStripedOutputStreamWithFailure tests are run with fixed 
> indices #0 - #19 and #59, and also a test with random index 
> (testDatanodeFailureRandomLength).  We should randomize all the tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to