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 2020/12/10 19:11:00 UTC

[jira] [Created] (HDDS-4577) Intermittent failure in TestOzoneClientRetriesOnException#testMaxRetriesByOzoneClient

Attila Doroszlai created HDDS-4577:
--------------------------------------

             Summary: Intermittent failure in TestOzoneClientRetriesOnException#testMaxRetriesByOzoneClient
                 Key: HDDS-4577
                 URL: https://issues.apache.org/jira/browse/HDDS-4577
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: test
            Reporter: Attila Doroszlai


TestOzoneClientRetriesOnException#testMaxRetriesByOzoneClient intermittently fails with:

{code:title=https://github.com/elek/ozone-build-results/blob/master/2020/12/08/4407/it-client/hadoop-ozone/integration-test/org.apache.hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException.txt}
testMaxRetriesByOzoneClient(org.apache.hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException)  Time elapsed: 42.789 s  <<< FAILURE!
java.lang.AssertionError: Expected exception not thrown
	at org.junit.Assert.fail(Assert.java:88)
	at org.apache.hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException.testMaxRetriesByOzoneClient(TestOzoneClientRetriesOnException.java:235)
{code}

The problem happens if the number of distinct containers used for the key is less than 4.  In this case max retries (of 3) is never reached.

Normal execution:

{code}
block: conID: 1 locID: 105357240184995843 bcsId: 0
block: conID: 2 locID: 105357240185061380 bcsId: 0
block: conID: 3 locID: 105357240185061381 bcsId: 0
block: conID: 4 locID: 105357240185061382 bcsId: 0
{code}

Failing execution:

{code}
block: conID: 1 locID: 105357233754603523 bcsId: 0
block: conID: 2 locID: 105357233754603524 bcsId: 0
block: conID: 1 locID: 105357233754669061 bcsId: 0
{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