tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject git commit: TEZ-1519. TezTaskRunner should not initialize TezConfiguration in TezChild. (Prakash Ramachandran via hitesh)
Date Wed, 10 Sep 2014 16:24:09 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.5 2cfe0c3ac -> 15bf80e9c


TEZ-1519. TezTaskRunner should not initialize TezConfiguration in TezChild. (Prakash Ramachandran
via hitesh)

(cherry picked from commit 84d9842f2d09dae0c38c87fcec0d82affba4710e)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/15bf80e9
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/15bf80e9
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/15bf80e9

Branch: refs/heads/branch-0.5
Commit: 15bf80e9cc0f4e681e66060f25861951c2b0f7df
Parents: 2cfe0c3
Author: Hitesh Shah <hitesh@apache.org>
Authored: Wed Sep 10 09:22:56 2014 -0700
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Wed Sep 10 09:23:51 2014 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                     | 1 +
 tez-dag/src/main/java/org/apache/tez/runtime/task/TezChild.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/15bf80e9/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 193f7bf..98a5440 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -10,6 +10,7 @@ ALL CHANGES
   TEZ-1310. Update website documentation framework
   TEZ-1447. Provide a mechanism for InputInitializers to know about Vertex state changes.
   TEZ-1362. Remove DAG_COMPLETED in DAGEventType. 
+  TEZ-1519. TezTaskRunner should not initialize TezConfiguration in TezChild.
 
 Release 0.5.0: Unreleased
 

http://git-wip-us.apache.org/repos/asf/tez/blob/15bf80e9/tez-dag/src/main/java/org/apache/tez/runtime/task/TezChild.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/tez/runtime/task/TezChild.java b/tez-dag/src/main/java/org/apache/tez/runtime/task/TezChild.java
index 5ec6208..f035ec0 100644
--- a/tez-dag/src/main/java/org/apache/tez/runtime/task/TezChild.java
+++ b/tez-dag/src/main/java/org/apache/tez/runtime/task/TezChild.java
@@ -210,7 +210,7 @@ public class TezChild {
         cleanupOnTaskChanged(containerTask);
 
         // Execute the Actual Task
-        TezTaskRunner taskRunner = new TezTaskRunner(new TezConfiguration(defaultConf), childUGI,
+        TezTaskRunner taskRunner = new TezTaskRunner(defaultConf, childUGI,
             localDirs, containerTask.getTaskSpec(), umbilical, appAttemptNumber,
             serviceConsumerMetadata, startedInputsMap, taskReporter, executor, objectRegistry);
         boolean shouldDie;


Mime
View raw message