You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2017/01/19 04:11:26 UTC
[jira] [Comment Edited] (HDFS-11316)
TestDataNodeVolumeFailure#testUnderReplicationAfterVolFailure fails in
trunk
[ https://issues.apache.org/jira/browse/HDFS-11316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829284#comment-15829284 ]
Yiqun Lin edited comment on HDFS-11316 at 1/19/17 4:10 AM:
-----------------------------------------------------------
The failure tests are not related. Committed to trunk. Thanks [~arpitagarwal] and [~ajisakaa] for the reviews!
was (Author: linyiqun):
Committed to trunk. Thanks [~arpitagarwal] and [~ajisakaa] for the reviews!
> TestDataNodeVolumeFailure#testUnderReplicationAfterVolFailure fails in trunk
> ----------------------------------------------------------------------------
>
> Key: HDFS-11316
> URL: https://issues.apache.org/jira/browse/HDFS-11316
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0-alpha2
> Reporter: Yiqun Lin
> Assignee: Yiqun Lin
> Priority: Minor
> Fix For: 3.0.0-alpha2
>
> Attachments: HDFS-11316.001.patch, HDFS-11316.002.patch
>
>
> The test {{TestDataNodeVolumeFailure#testUnderReplicationAfterVolFailure}} fails frequently in recent Jenkins buildings. The stack infos:
> {code}
> org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure.testUnderReplicationAfterVolFailure
> java.lang.AssertionError: There is no under replicated block after volume failure
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure.testUnderReplicationAfterVolFailure(TestDataNodeVolumeFailure.java:419)
> {code}
> We would be better using {{GenericTestUtils.waitFor}} here to wait for the condition being satisfied.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org