You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2021/09/20 11:20:00 UTC

[jira] [Updated] (HDDS-5765) Test cluster provider possibly returns null

     [ https://issues.apache.org/jira/browse/HDDS-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai updated HDDS-5765:
-----------------------------------
    Description: 
{{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}

  was:{{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.


> 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
>
> {{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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org