-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDDS-1956. Aged IO Thread exits on first read #1287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this @adoroszlai, The patch generally looks good to me.
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneLoadGenerator.java
Outdated
Show resolved
Hide resolved
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneLoadGenerator.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, the patch looks good to me pending jenkins.
💔 -1 overall
This message was automatically generated. |
/label ozone |
Thanks @mukul1987 for the review, and @anuengineer for commiting it. |
What changes were proposed in this pull request?
ArrayIndexOutOfBoundsException
. This is caused by usingindex
as the key name, whilereadKey
expects a string separated by_
.OMException: Key not found
. This is an off-by-one error. The first key written hasindex=1
, but the test randomly attempts to readindex=0
.integration-test
.MiniOzoneChaosCluster
https://issues.apache.org/jira/browse/HDDS-1956
How was this patch tested?
Manually ran
TestMiniChaosOzoneCluster
:Stopped it after a few minutes (see HDDS-1952).
Verified that aged IO thread was writing and reading keys (until it started failing due to chaos):