-
Notifications
You must be signed in to change notification settings - Fork 440
TEZ-4646: Periodic jstack collection for tez (tez.thread.dump.interval) only collects jstacks once. #425
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
…l) only collects jstacks once.
|
💔 -1 overall
This message was automatically generated. |
|
the spotbug warning isn't induced in this PR, flagging the already existing one. the count stays the same 114 (was 114) |
|
|
||
| try { | ||
| return new TezThreadDumpHelper(periodicThreadDumpFrequency, conf); | ||
| return new TezThreadDumpHelper(periodicThreadDumpFrequency, initialDelay, conf); |
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.
what about harmonizing the variable names from periodicThreadDumpFrequency + initialDelay to something like: threadDumpFrequency + threadDumpInitialDelay or even frequency + initialDelay to reflect that these variables will configure the very-same executor
also, if it's called something frequency at some point, let it be called the same in the function (instead of duration)
|
looks good to me @ayushtkn, minor comment about naming |
abstractdog
left a comment
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
|
💔 -1 overall
This message was automatically generated. |
Added an option for initial delay & Fixed the periodic schedule so multiple jstacks are captured.
