tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeag...@apache.org
Subject git commit: TEZ-1485. Disable node blacklisting and ATS in AM for local mode (jeagles)
Date Sat, 23 Aug 2014 01:28:50 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.5 1651c1be5 -> 0580b583a


TEZ-1485. Disable node blacklisting and ATS in AM for local mode (jeagles)


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

Branch: refs/heads/branch-0.5
Commit: 0580b583afacb11feaf1cac8246b867815b393cb
Parents: 1651c1b
Author: Jonathan Eagles <jeagles@gmail.com>
Authored: Fri Aug 22 17:08:59 2014 -0500
Committer: Jonathan Eagles <jeagles@gmail.com>
Committed: Fri Aug 22 20:28:34 2014 -0500

----------------------------------------------------------------------
 CHANGES.txt                                                    | 1 +
 tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java | 3 +++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/0580b583/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index c611668..9364522 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -79,6 +79,7 @@ INCOMPATIBLE CHANGES
   TEZ-1455. Replace deprecated junit.framework.Assert with org.junit.Assert
   TEZ-1465. Update and document IntersectExample. Change name to JoinExample
   TEZ-1449. Change user payloads to work with a byte buffer
+  TEZ-1485. Disable node blacklisting and ATS in AM for local mode
 
 Release 0.4.0-incubating: 2014-04-05
 

http://git-wip-us.apache.org/repos/asf/tez/blob/0580b583/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java b/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
index fa4b629..7259992 100644
--- a/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
+++ b/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
@@ -301,6 +301,9 @@ public class DAGAppMaster extends AbstractService {
     if (isLocal) {
        UserGroupInformation.setConfiguration(conf);
        appMasterUgi = UserGroupInformation.getCurrentUser();
+       conf.setBoolean(TezConfiguration.TEZ_AM_NODE_BLACKLISTING_ENABLED, false);
+       conf.set(TezConfiguration.TEZ_HISTORY_LOGGING_SERVICE_CLASS,
+           TezConfiguration.TEZ_HISTORY_LOGGING_SERVICE_CLASS_DEFAULT);
     }
     conf.setBoolean(Dispatcher.DISPATCHER_EXIT_ON_ERROR_KEY, !isLocal);
     String strAppId = this.appAttemptID.getApplicationId().toString();


Mime
View raw message