Uh oh!
There was an error while loading. Please reload this page.
TEZ-4561: Improve reported exception when DAGAppMaster is shutting down. - #365
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
ayushtkn
commented
Aug 16, 2024
I think we can live with this checkstyle warning, creating an accessor method looks like an overkill to me |
ayushtkn
commented
Aug 16, 2024
Added a test. When State is STOPPED |
This comment was marked as outdated.
This comment was marked as outdated.
tez-yetus
commented
Aug 16, 2024
🎊 +1 overall
This message was automatically generated. |
| private String getShutdownTimeString() { | ||
| if (shutdownHandler != null && shutdownHandler.shutdownTime != null) { | ||
| return ". The shutdown hook started at " + shutdownHandler.shutdownTime; |
There was a problem hiding this comment.
It's strange that this separate string generation method takes care of the closing point of the previous sentence, I believe that should go back to getApplicationACLs
There was a problem hiding this comment.
I moved the "." back to the {{getApplicationACLs}}
tez-yetus
commented
Aug 28, 2024
🎊 +1 overall
This message was automatically generated. |
abstractdog
commented
Aug 28, 2024
nit: what about changing shutdownTime to private? I guess the usage scope of those are similar |
This comment was marked as outdated.
This comment was marked as outdated.
tez-yetus
commented
Aug 28, 2024
🎊 +1 overall
This message was automatically generated. |
ayushtkn
commented
Aug 29, 2024
@abstractdog I have changed the variable to private & used setter & getter, there was some FindBugs warning, which I have dodged, lemme know if things look good |
No description provided.