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

 ##########
 File path: 
indexing-hadoop/src/main/java/org/apache/druid/indexer/DetermineHashedPartitionsJob.java
 ##########
 @@ -125,6 +126,18 @@ public boolean run()
       groupByJob.submit();
       log.info("Job %s submitted, status available at: %s", 
groupByJob.getJobName(), groupByJob.getTrackingURL());
 
+      return groupByJob.getJobID().toString();
+    }
+    catch (Exception e) {
+      throw Throwables.propagate(e);
 
 Review comment:
   Please `throw new RuntimeException(e)` instead.

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