r0hini commented on code in PR #339:
URL: https://github.com/apache/tez/pull/339#discussion_r1523912081


##########
tez-mapreduce/src/main/java/org/apache/tez/mapreduce/output/MROutput.java:
##########
@@ -417,6 +418,7 @@ protected List<Event> initializeBase() throws IOException, 
InterruptedException
         
.createMockTaskAttemptID(getContext().getApplicationId().getClusterTimestamp(),
             getContext().getTaskVertexIndex(), 
getContext().getApplicationId().getId(),
             getContext().getTaskIndex(), getContext().getTaskAttemptNumber(), 
isMapperOutput);
+    jobConf.set(MRJobConfig.MR_PARENT_JOB_ID, new 
JobID(String.valueOf(getContext().getApplicationId().getClusterTimestamp()), 
getContext().getApplicationId().getId()).toString());

Review Comment:
   Move this to line above  TaskAttemptID taskAttemptId =



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@tez.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to