surekhasaharan commented on a change in pull request #7041: Kill all running 
tasks when the supervisor task is killed
URL: https://github.com/apache/incubator-druid/pull/7041#discussion_r261407324
 
 

 ##########
 File path: 
indexing-service/src/main/java/org/apache/druid/indexing/common/task/batch/parallel/SinglePhaseParallelIndexTaskRunner.java
 ##########
 @@ -111,6 +111,11 @@
   @Override
   public TaskState run() throws Exception
   {
+    if (baseFirehoseFactory.getNumSplits() == 0) {
 
 Review comment:
   may be i was thinking in that direction, but I guess it's okay to run a sub 
task for single split.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to