Lemarais commented on a change in pull request #307:
URL: https://github.com/apache/incubator-nemo/pull/307#discussion_r606050107
##########
File path: runtime/driver/src/main/java/org/apache/nemo/driver/NemoDriver.java
##########
@@ -142,7 +142,10 @@ private void setUpLogger() {
*/
private void shutdown() {
LOG.info("Driver shutdown initiated");
- runnerThread.execute(runtimeMaster::terminate);
+ runnerThread.execute(() -> {
+ runtimeMaster.saveMetrics();
Review comment:
I tried to minimize the side effect, but it seems to have been my
misunderstanding. I will merge flushMetric function and saveMetric function
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]