-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
HDDS-1397. Avoid the usage of signal handlers in datanodes of the MiniOzoneClusters #701
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
/retest |
Thanks @elek for fixing this. LGTM. +1 pending Yetus/CI. |
…iOzoneClusters. Contributed by Elek, Marton.
💔 -1 overall
This message was automatically generated. |
Thanks the review @hanishakoneru Unit tests are not related and tracked by: https://issues.apache.org/jira/browse/HDDS-1414 Will merge it soon. |
shanthoosh
pushed a commit
to shanthoosh/hadoop
that referenced
this pull request
Oct 15, 2019
Side input stores are non-changelog stores that still needs to use logged stored directory to guarantee durability. Author: bharathkk <[email protected]> Reviewers: Prateek Maheshwari <[email protected]> Closes apache#701 from bharathkk/side-input-fix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[~arpaga] showed me a problem that TestQueryNode.testHealthyNodesCount is failed in the CI check of HDDS-1339.
According to the logs the test is timed out because only 4 datanodes are started out of the 5.
The log also contained an exception from one datanode:
The code which requires the signal handler is the following (signal handler is registered in the startupShutdownMessage)
As you can read from the comment it's expected to be called with printBanner=false to avoid the creation of the signal handler.
Note: In the startupShutdownMessage method a new signal handler is registered and signal handlers can be registered only once:
We have a dedicated method to create datanode service for the unit tests. The only thing what we need is to turn OFF the signal handler registration here. (The following code fragment shows the original state where the signal handler creation is requested with the true parameter value)
See: https://issues.apache.org/jira/browse/HDDS-1397