Skip to content

Commit

Permalink
This closes #4138
Browse files Browse the repository at this point in the history
  • Loading branch information
iemejia committed Nov 17, 2017
2 parents 0df7ba9 + b5b2733 commit f10399d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ public void run() {
jssc.start();
}
});
executorService.shutdown();

result = new SparkPipelineResult.StreamingMode(startPipeline, jssc);
} else {
Expand All @@ -214,6 +215,7 @@ public void run() {
LOG.info("Batch pipeline execution complete.");
}
});
executorService.shutdown();

result = new SparkPipelineResult.BatchMode(startPipeline, jsc);
}
Expand Down

0 comments on commit f10399d

Please sign in to comment.