hadoop-hdfs-issues mailing list archives

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

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

Andrew Wang updated HDFS-11660:
    Attachment: HDFS-11660.003.patch

Thanks for the review John, good points! This also reminded me that I needed to reset the
old injector at the end of the test.

Agree that this is a problem for parallel testing. I added NotThreadSafe annotations to the
classes that use DNFaultInjector, but we have a lot of other FaultInjector classes too that
likely suffer from the same problem.

I don't know how common it is to do parallel JUnit, but we can file another JIRA to fix this.

> 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, HDFS-11660.003.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