[
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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]