-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDFS-15989. Split TestBalancer and De-flake testMaxIterationTime() #2923
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. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
@tasanuma could you please take a look? |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
@aajisaka would you like to take a look? |
// set max iteration time to 500 ms to timeout before moving any block | ||
conf.setLong(DFSConfigKeys.DFS_BALANCER_MAX_ITERATION_TIME_KEY, 500L); |
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.
This is the only difference to de-flake testMaxIterationTime()
in this PR. Rest are test splitting changes.
// Since no block cannot be moved in 2 seconds (i.e., | ||
// 4MB/s * 2s = 8MB < 10MB), NO_MOVE_PROGRESS will be reported. | ||
// When a block move is not canceled in 2 seconds properly and then | ||
// a block is moved unexpectedly, IN_PROGRESS will be reported. |
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.
Now we have updated the parameter, should we update the comments here?
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.
Oh yes, missed that. Thanks @tasanuma
We can remove |
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 @tasanuma. Addressed both comments.
// Since no block cannot be moved in 2 seconds (i.e., | ||
// 4MB/s * 2s = 8MB < 10MB), NO_MOVE_PROGRESS will be reported. | ||
// When a block move is not canceled in 2 seconds properly and then | ||
// a block is moved unexpectedly, IN_PROGRESS will be reported. |
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.
Oh yes, missed that. Thanks @tasanuma
Thanks for updating it. +1, pending Jenkins. |
💔 -1 overall
This message was automatically generated. |
/** | ||
* Some long running Balancer tasks. | ||
*/ | ||
public class TestBalancer2 { |
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.
Would you rename the class to describe the test cases, such as TestBalancerLongRunningTasks?
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 @aajisaka. Done.
💔 -1 overall
This message was automatically generated. |
branch-3.3 backport requires very minor change. Shall I create backport PR once this is merged? |
Yes, please. Thanks! |
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 @virajjasani
Merged. Thanks for your contribution, @virajjasani. Thanks for your review, @aajisaka. I will review for the PRs for other branches. |
…pache#2923) Signed-off-by: Akira Ajisaka <aajisaka@apache.org> Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
Uh oh!
There was an error while loading. Please reload this page.