You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2023/11/14 16:43:48 UTC
[PR] HDDS-9659. Intermittent failure in TestOzoneECClient#testPartialStripeWithPartialChunkRetry [ozone]
adoroszlai opened a new pull request, #5601:
URL: https://github.com/apache/ozone/pull/5601
## What changes were proposed in this pull request?
Fix intermittent failures in `testPartialStripeWithPartialChunkRetry`:
```
IndexOutOfBoundsException: Index: -1
at java.util.Collections$EmptyList.get(Collections.java:4456)
at java.util.Collections$UnmodifiableList.get(Collections.java:1311)
at org.apache.hadoop.ozone.client.io.ECBlockOutputStreamEntry.calculateChecksum(ECBlockOutputStreamEntry.java:416)
at org.apache.hadoop.ozone.client.io.ECKeyOutputStream.commitStripeWrite(ECKeyOutputStream.java:266)
at org.apache.hadoop.ozone.client.io.ECKeyOutputStream.flushStripeToDatanodes(ECKeyOutputStream.java:585)
at org.apache.hadoop.ozone.client.io.ECKeyOutputStream.flushStripeFromQueue(ECKeyOutputStream.java:567)
```
and
```
NullPointerException
at org.apache.hadoop.ozone.client.io.ECBlockOutputStreamEntry.calculateChecksum(ECBlockOutputStreamEntry.java:412)
at org.apache.hadoop.ozone.client.io.ECKeyOutputStream.commitStripeWrite(ECKeyOutputStream.java:266)
at org.apache.hadoop.ozone.client.io.ECKeyOutputStream.flushStripeToDatanodes(ECKeyOutputStream.java:585)
at org.apache.hadoop.ozone.client.io.ECKeyOutputStream.flushStripeFromQueue(ECKeyOutputStream.java:567)
```
and
```
ConcurrentModificationException
at java.util.HashMap$HashIterator.remove(HashMap.java:1483)
at org.apache.hadoop.ozone.client.MockXceiverClientFactory.mockStorageFailure(MockXceiverClientFactory.java:71)
at org.apache.hadoop.ozone.client.MockXceiverClientFactory.mockStorageFailure(MockXceiverClientFactory.java:57)
at org.apache.hadoop.ozone.client.MockXceiverClientFactory.setFailedStorages(MockXceiverClientFactory.java:47)
at org.apache.hadoop.ozone.client.TestOzoneECClient.testPartialStripeWithPartialChunkRetry(TestOzoneECClient.java:1037)
```
1. Completely initialize array of `ECBlockOutputStream` before exposing it via `blockOutputStream` member variable.
2. Fix `ConcurrentModificationException` in `MockXceiverClientFactory` by changing to concurrent set/map.
https://issues.apache.org/jira/browse/HDDS-9659
## How was this patch tested?
Passed 100x:
https://github.com/adoroszlai/ozone/actions/runs/6862777705
and 250x:
https://github.com/adoroszlai/ozone/actions/runs/6863403759
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-9659. Intermittent failure in TestOzoneECClient#testPartialStripeWithPartialChunkRetry [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #5601:
URL: https://github.com/apache/ozone/pull/5601#issuecomment-1812002737
Thanks @aswinshakil for the review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-9659. Intermittent failure in TestOzoneECClient#testPartialStripeWithPartialChunkRetry [ozone]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #5601:
URL: https://github.com/apache/ozone/pull/5601
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org