-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-26468 Region Server doesn't exit cleanly incase it crashes. #3866
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, pending QA
💔 -1 overall
This message was automatically generated. |
37f068a
to
ac26674
Compare
public static boolean isNonDaemonThreadRunning() { | ||
AtomicInteger nonDaemonThreadCount = new AtomicInteger(); | ||
Set<Thread> threads = Thread.getAllStackTraces().keySet(); | ||
for (Thread t: threads) { |
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.
There is a small difference between master patch and branch-1 patch.
- Replaced
threads.forEach(t -> {
withfor (Thread t: threads)
- Replaced
org.apache.commons.logging.Log
withorg.slf4j.LoggerFactory
since the former doesn't allow String formatter.
Cc @virajjasani
💔 -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 for the backport
No description provided.