tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeag...@apache.org
Subject [38/50] [abbrv] tez git commit: TEZ-3683. LocalContainerLauncher#shouldDelete member variable is not used (Kuhu Shukla via jeagles)
Date Wed, 24 May 2017 21:08:07 GMT
TEZ-3683. LocalContainerLauncher#shouldDelete member variable is not used (Kuhu Shukla via
jeagles)


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

Branch: refs/heads/master
Commit: ff02c00d7c86fd3a5b792f43cbf39955add81468
Parents: 287194c
Author: Jonathan Eagles <jeagles@yahoo-inc.com>
Authored: Thu Apr 6 09:22:26 2017 -0500
Committer: Jonathan Eagles <jeagles@yahoo-inc.com>
Committed: Thu Apr 6 09:22:26 2017 -0500

----------------------------------------------------------------------
 TEZ-3334-CHANGES.txt                                              | 1 +
 .../org/apache/tez/dag/app/launcher/LocalContainerLauncher.java   | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/ff02c00d/TEZ-3334-CHANGES.txt
----------------------------------------------------------------------
diff --git a/TEZ-3334-CHANGES.txt b/TEZ-3334-CHANGES.txt
index 7ef35c6..3b44690 100644
--- a/TEZ-3334-CHANGES.txt
+++ b/TEZ-3334-CHANGES.txt
@@ -4,6 +4,7 @@ Apache Tez Change Log
 INCOMPATIBLE CHANGES:
 
 ALL CHANGES:
+  TEZ-3683. LocalContainerLauncher#shouldDelete member variable is not used
   TEZ-3682. Pass parameters instead of configuration for changes to support tez shuffle handler
   TEZ-3628. Give Tez shuffle handler threads custom names
   TEZ-3621. Optimize the Shuffle Handler content length calculation for keep alive

http://git-wip-us.apache.org/repos/asf/tez/blob/ff02c00d/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/LocalContainerLauncher.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/LocalContainerLauncher.java
b/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/LocalContainerLauncher.java
index a5aea77..c977c6a 100644
--- a/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/LocalContainerLauncher.java
+++ b/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/LocalContainerLauncher.java
@@ -96,7 +96,6 @@ public class LocalContainerLauncher extends ContainerLauncher {
   private final boolean isLocalMode;
   int shufflePort = TezRuntimeUtils.INVALID_PORT;
   private DeletionTracker deletionTracker;
-  boolean shouldDelete;
 
   private final ConcurrentHashMap<ContainerId, RunningTaskCallback>
       runningContainers =
@@ -161,8 +160,6 @@ public class LocalContainerLauncher extends ContainerLauncher {
         new ThreadFactoryBuilder().setDaemon(true).setNameFormat("LocalTaskExecutionThread
#%d")
             .build());
     this.taskExecutorService = MoreExecutors.listeningDecorator(rawExecutor);
-    shouldDelete = conf.getBoolean(TezConfiguration.TEZ_AM_DAG_DELETE_ENABLED,
-        TezConfiguration.TEZ_AM_DAG_DELETE_ENABLED_DEFAULT);
     String tezDefaultComponentName =
         isLocalMode ? TezConstants.getTezUberServicePluginName() :
         TezConstants.getTezYarnServicePluginName();


Mime
View raw message