[
https://issues.apache.org/jira/browse/HDFS-11094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15630592#comment-15630592
]
Eric Badger commented on HDFS-11094:
------------------------------------
bq. Will this suppress the heartbeat interval config, and fail other tests?
Yes, it definitely could. I forgot to submit the patch earlier, but I just did.
We'll see how bad the damage is. I think it makes more sense to have the
cluster not become active until it is actually fully usable.
bq. As an alternative, can we simply change the unit test?
Yes, I've also tested another patch that uses {{triggerHeartbeatForTests()}}
before calling {{getActiveNN()}} and it works. I would prefer to put it into
the MiniDFSCluster, but if we can't do that then this will be good enough to
fix this specific test.
> TestLargeBlockReport fails intermittently
> -----------------------------------------
>
> Key: HDFS-11094
> URL: https://issues.apache.org/jira/browse/HDFS-11094
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Eric Badger
> Assignee: Eric Badger
> Attachments: HDFS-11094.001.patch
>
>
> {noformat}
> java.lang.NullPointerException: null
> at
> org.apache.hadoop.hdfs.server.datanode.TestLargeBlockReport.testBlockReportSucceedsWithLargerLengthLimit(TestLargeBlockReport.java:96)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]