hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11660) TestFsDatasetCache#testPageRounder fails intermittently with AssertionError
Date Wed, 19 Apr 2017 20:30:41 GMT

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

John Zhuge commented on HDFS-11660:

Thanks [~andrew.wang] for working on this tricky issue.

TestFsDatasetCache.java#118: extra space before "*"

At TestFsDatasetCache.java#154, the singleton {{DataNodeFaultInjector.instance}} is changed.
There are a few other test classes that changes the same singleton:
* TestDataNodeMetrics
* TestShortCircuitCache

How can we prevent these tests to run in parallel?
Should we use annotation {{@NotThreadSafe}}? http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html

As for testing, unfortunately I have not been able to reproduce the issue using {{grind test
-i TestFsDatasetCache -n 100}} on either trunk or CDH5.

> TestFsDatasetCache#testPageRounder fails intermittently with AssertionError
> ---------------------------------------------------------------------------
>                 Key: HDFS-11660
>                 URL: https://issues.apache.org/jira/browse/HDFS-11660
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.6.5
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: HDFS-11660.001.patch, HDFS-11660.002.patch
> We've seen this test fail occasionally with an error like the following:
> {noformat}
> java.lang.AssertionError
> 	at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.offerService(BPServiceActor.java:510)
> 	at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:695)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}
> This assertion fires when the heartbeat response is null

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message