You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/11/14 19:12:04 UTC

[GitHub] jihoonson commented on a change in pull request #6621: Enforce logging when killing a task

jihoonson commented on a change in pull request #6621: Enforce logging when killing a task
URL: https://github.com/apache/incubator-druid/pull/6621#discussion_r233581883
 
 

 ##########
 File path: extensions-core/kafka-indexing-service/src/main/java/org/apache/druid/indexing/kafka/supervisor/KafkaSupervisor.java
 ##########
 @@ -839,8 +839,7 @@ private void killTasksInGroup(TaskGroup taskGroup)
   {
     if (taskGroup != null) {
       for (String taskId : taskGroup.tasks.keySet()) {
-        log.info("Killing task [%s] in the task group", taskId);
-        killTask(taskId);
+        killTask(taskId, "Killing task [%s] in the task group[%s]", taskId, taskGroup.groupId);
 
 Review comment:
   Good point. Fixed. Thanks!

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org