-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDDS-1780. TestFailureHandlingByClient tests are flaky. #1073
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
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
LGTM
💔 -1 overall
This message was automatically generated. |
/retest |
💔 -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.
Hi @bshashikant,
One of the tests in TestFailureHandlingByClient
runs into error with the patch:
[ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 202.465 s <<< FAILURE! - in org.apache.hadoop.ozone.client.rpc.TestFailureHandlingByClient
[ERROR] testContainerExclusionWithClosedContainerException(org.apache.hadoop.ozone.client.rpc.TestFailureHandlingByClient) Time elapsed: 9.579 s <<< ERROR!
java.lang.IllegalArgumentException
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:72)
at org.apache.hadoop.hdds.scm.XceiverClientManager.acquireClient(XceiverClientManager.java:150)
at org.apache.hadoop.hdds.scm.XceiverClientManager.acquireClientForReadData(XceiverClientManager.java:143)
at org.apache.hadoop.hdds.scm.storage.BlockInputStream.getChunkInfos(BlockInputStream.java:154)
at org.apache.hadoop.hdds.scm.storage.BlockInputStream.initialize(BlockInputStream.java:118)
at org.apache.hadoop.hdds.scm.storage.BlockInputStream.read(BlockInputStream.java:222)
at org.apache.hadoop.ozone.client.io.KeyInputStream.read(KeyInputStream.java:171)
at org.apache.hadoop.ozone.client.io.OzoneInputStream.read(OzoneInputStream.java:47)
Can you please check? Thanks.
(Note that TestFailureHandlingByClient
is not run by the unit
CI check, since it's part of the integration test.)
@@ -160,7 +159,7 @@ public BlockOutputStream(BlockID blockID, | |||
bufferList = null; | |||
totalDataFlushedLength = 0; | |||
writtenDataLength = 0; | |||
failedServers = Collections.emptyList(); | |||
failedServers = new ArrayList<>(0); |
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.
Nice!
@@ -284,7 +284,7 @@ private XceiverClientReply sendCommandWithRetry( | |||
} | |||
break; | |||
} catch (ExecutionException | InterruptedException | IOException e) { | |||
LOG.debug("Failed to execute command " + request + " on datanode " + dn | |||
LOG.info("Failed to execute command " + request + " on datanode " + dn |
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.
lets change this to error.
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.
Addressed in the latest patch.
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientGrpc.java
Outdated
Show resolved
Hide resolved
@adoroszlai , the test failure pointed is tracked by HDDS-1804 separately as the root cause for intermittent failure is same. |
💔 -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.
+1, the latest changes look good to me.
…y Shashikant Banerjee. (#1073)
Thanks @mukul1987 @adoroszlai and @supratimdeka for the review. I have committed this change to trunk. |
SAMZA-2240:move samza-test to kafka 2.11-0.11
…y Shashikant Banerjee. (apache#1073)
No description provided.