liangyu-1 commented on code in PR #394:
URL: https://github.com/apache/tez/pull/394#discussion_r1964980526
##########
tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java:
##########
@@ -2390,7 +2390,9 @@ public static void main(String[] args) {
ContainerId containerId = ConverterUtils.toContainerId(containerIdStr);
ApplicationAttemptId applicationAttemptId =
containerId.getApplicationAttemptId();
-
+ org.apache.hadoop.ipc.CallerContext.setCurrent(new
org.apache.hadoop.ipc.CallerContext
+ .Builder("tez_appmaster_" + containerId.getApplicationAttemptId()
+ ).build());
Review Comment:
this is a threadLocal, if other application invokes the DagAppMaster, it
should start a new thread, and create a new callercontext variable.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]