hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10642) Fix intermittently failing UT TestLazyPersistReplicaRecovery#testDnRestartWithSavedReplicas
Date Tue, 26 Jul 2016 01:37:20 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mingliang Liu updated HDFS-10642:
---------------------------------
    Attachment: HDFS-10642.001.patch

The v1 patch logs the exception while waiting for the storage type matching condition.

> Fix intermittently failing UT TestLazyPersistReplicaRecovery#testDnRestartWithSavedReplicas
> -------------------------------------------------------------------------------------------
>
>                 Key: HDFS-10642
>                 URL: https://issues.apache.org/jira/browse/HDFS-10642
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, test
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>         Attachments: HDFS-10642.000.patch, HDFS-10642.001.patch
>
>
> See [example stack trace | https://builds.apache.org/job/PreCommit-HADOOP-Build/10001/testReport/org.apache.hadoop.hdfs.server.datanode.fsdataset.impl/TestLazyPersistReplicaRecovery/testDnRestartWithSavedReplicas/].
> h6. Error Message
> {code}
>  Expected: is <DISK>
>      but: was <RAM_DISK>
> {code}
> h6. Stacktrace
> {code}
> java.lang.AssertionError: 
> Expected: is <DISK>
>      but: was <RAM_DISK>
> 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> 	at org.junit.Assert.assertThat(Assert.java:865)
> 	at org.junit.Assert.assertThat(Assert.java:832)
> 	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.LazyPersistTestCase.ensureFileReplicasOnStorageType(LazyPersistTestCase.java:141)
> 	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistReplicaRecovery.testDnRestartWithSavedReplicas(TestLazyPersistReplicaRecovery.java:53)
> {code}



--
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


Mime
View raw message