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 2019/01/11 01:03:53 UTC

[GitHub] jon-wei commented on a change in pull request #6828: Kill Hadoop MR task on kill of Hadoop ingestion task

jon-wei commented on a change in pull request #6828: Kill Hadoop MR task on kill of Hadoop ingestion task 
URL: https://github.com/apache/incubator-druid/pull/6828#discussion_r246972626
 
 

 ##########
 File path: indexing-service/src/main/java/org/apache/druid/indexing/common/task/HadoopIndexTask.java
 ##########
 @@ -649,6 +728,16 @@ public String runTask(String[] args) throws Exception
     }
   }
 
+  @SuppressWarnings("unused")
+  public static class HadoopKillMRJobIdProcessingRunner
+  {
+    public String runTask(String[] args) throws Exception
+    {
+      int res = ToolRunner.run(new JobClient(), args);
+      return res == 0 ? "Sucess" : "Fail";
 
 Review comment:
   Sucess -> Success

----------------------------------------------------------------
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