Aggarwal-Raghav commented on code in PR #461:
URL: https://github.com/apache/tez/pull/461#discussion_r2867662850


##########
tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java:
##########
@@ -443,6 +437,16 @@ protected void serviceInit(final Configuration conf) 
throws Exception {
     this.isLocal = conf.getBoolean(TezConfiguration.TEZ_LOCAL_MODE,
         TezConfiguration.TEZ_LOCAL_MODE_DEFAULT);
 
+    if (!isLocal) {
+      this.nmHost = nodeContext.getNodeHostString();

Review Comment:
   This change is causing UT failues in TestMockDAGAppMaster.java because 
https://github.com/apache/tez/blob/4632058795de8f871504601d5f2992f311be792a/tez-dag/src/main/java/org/apache/tez/client/LocalClient.java#L193
 is null post this change i.e. moving nmHost outside constructor. Working on 
fix...



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

Reply via email to