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 Fri, 22 Aug 2014 22:09:11 GMT
Repository: tez
Updated Branches:
  refs/heads/master c534a12c4 -> 81a02833c


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/81a02833
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/81a02833
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/81a02833

Branch: refs/heads/master
Commit: 81a02833cae243a5d2d9b74b21dcfaae38b1b546
Parents: c534a12
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 17:08:59 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/81a02833/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index f2e8ec8..243b055 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -82,6 +82,7 @@ INCOMPATIBLE CHANGES
   TEZ-1469. AM/Session LRs are not shipped to vertices in new API use-case
   TEZ-1472. Separate method calls for creating InputDataInformationEvent with
   serialized/unserialized payloads
+  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/81a02833/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 62004d2..9cd716a 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
@@ -299,6 +299,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