[
https://issues.apache.org/jira/browse/HDDS-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-5765:
-----------------------------------
Status: Patch Available (was: In Progress)
> Test cluster provider possibly returns null
> -------------------------------------------
>
> Key: HDDS-5765
> URL: https://issues.apache.org/jira/browse/HDDS-5765
> Project: Apache Ozone
> Issue Type: Bug
> Components: test
> Affects Versions: 1.2.0
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Minor
> Labels: pull-request-available
>
> {{MiniOzoneClusterProvider}} may timeout (100 seconds) while waiting for a
> cluster to become available. In this case it simply returns {{null}} without
> warning. This results in NPE when trying to use the cluster in test.
> {code}
> testAllDataNodeFailuresAfterScmPostFinalizeUpgrade Time elapsed: 100.076 s
> <<< ERROR!
> java.lang.NullPointerException
> at
> org.apache.hadoop.hdds.upgrade.TestHDDSUpgrade.init(TestHDDSUpgrade.java:173)
> at
> org.apache.hadoop.hdds.upgrade.TestHDDSUpgrade.setUp(TestHDDSUpgrade.java:135)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]