[
https://issues.apache.org/jira/browse/HDDS-9412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-9412:
---------------------------------
Labels: pull-request-available (was: )
> NPE in TestOzoneManagerHAKeyDeletion#testKeyDeletion
> ----------------------------------------------------
>
> Key: HDDS-9412
> URL: https://issues.apache.org/jira/browse/HDDS-9412
> Project: Apache Ozone
> Issue Type: Bug
> Components: test
> Affects Versions: 1.4.0
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Critical
> Labels: pull-request-available
>
> HDDS-9232 added a new test case in {{TestOzoneManagerHAKeyDeletion}}, now the
> only other test case started failing.
> {code:title=https://github.com/adoroszlai/ozone-build-results/blob/master/2023/10/06/25816/it-om/hadoop-ozone/integration-test/org.apache.hadoop.ozone.om.TestOzoneManagerHAKeyDeletion.txt}
> org.apache.hadoop.ozone.om.TestOzoneManagerHAKeyDeletion.testKeyDeletion
> Time elapsed: 5.575 s <<< ERROR!
> java.lang.NullPointerException
> at
> org.apache.hadoop.ozone.om.TestOzoneManagerHAKeyDeletion.lambda$testKeyDeletion$0(TestOzoneManagerHAKeyDeletion.java:84)
> at
> org.apache.ozone.test.GenericTestUtils.waitFor(GenericTestUtils.java:221)
> at
> org.apache.hadoop.ozone.om.TestOzoneManagerHAKeyDeletion.testKeyDeletion(TestOzoneManagerHAKeyDeletion.java:83)
> {code}
> The root cause is that {{TestOzoneManagerHA}} "restarts" OMs after each test,
> but "restart" does not start {{KeyManager}}. The latter creates
> {{KeyDeletingService}} only upon start.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]