[
https://issues.apache.org/jira/browse/HDFS-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Collins updated HDFS-696:
-----------------------------
Description:
Re-purposing as catch-all ticket for assertion failures when running tests with
java asserts enabled. Running with the attached patch on tr...@823732 the
following tests all trigger assertion failures:
TestAccessTokenWithDFS
TestInterDatanodeProtocol
TestBackupNode
TestBlockUnderConstruction
TestCheckpoint
TestNameEditsConfigs
TestStartup
TestStorageRestore
was:
Running TestAccessTokenWithDFS with java asserts enabled causes the following
assert in chooseNodes in Balancer.java to faul.
assert (datanodes.size() ==
overUtilizedDatanodes.size()+underUtilizedDatanodes.size()+
aboveAvgUtilizedDatanodes.size()+belowAvgUtilizedDatanodes.size()+
sources.size()+targets.size())
: "Mismatched number of datanodes";
Summary: Java assertion failures triggered by tests (was: Assert in
chooseNodes fails when running TestAccessTokenWithDFS)
> Java assertion failures triggered by tests
> ------------------------------------------
>
> Key: HDFS-696
> URL: https://issues.apache.org/jira/browse/HDFS-696
> Project: Hadoop HDFS
> Issue Type: Test
> Reporter: Eli Collins
> Attachments: hadoop6309-hdfs.patch
>
>
> Re-purposing as catch-all ticket for assertion failures when running tests
> with java asserts enabled. Running with the attached patch on tr...@823732
> the following tests all trigger assertion failures:
>
> TestAccessTokenWithDFS
> TestInterDatanodeProtocol
> TestBackupNode
> TestBlockUnderConstruction
> TestCheckpoint
> TestNameEditsConfigs
> TestStartup
> TestStorageRestore
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.