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_r248159876
 
 

 ##########
 File path: 
indexing-hadoop/src/main/java/org/apache/druid/indexer/JobHelper.java
 ##########
 @@ -349,6 +352,22 @@ public static void ensurePaths(HadoopDruidIndexerConfig 
config)
 
   public static boolean runSingleJob(Jobby job, HadoopDruidIndexerConfig 
config)
   {
+    String hadoopJobId = job.submitAndGetHadoopJobId();
+    ObjectMapper objectMapper = new ObjectMapper();
 
 Review comment:
   Please use `HadoopDruidIndexerConfig.JSON_MAPPER` 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