You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by ss...@apache.org on 2014/03/19 08:40:22 UTC

git commit: TEZ-934. Add configuration fields for Tez Local Mode (part of TEZ-684). Contributed by Chen He.

Repository: incubator-tez
Updated Branches:
  refs/heads/master 69b2b53a5 -> 44ea005b5


TEZ-934. Add configuration fields for Tez Local Mode (part of TEZ-684).
Contributed by Chen He.


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

Branch: refs/heads/master
Commit: 44ea005b577c4c96593bf96b1eebe64242d7b416
Parents: 69b2b53
Author: Siddharth Seth <ss...@apache.org>
Authored: Wed Mar 19 00:39:35 2014 -0700
Committer: Siddharth Seth <ss...@apache.org>
Committed: Wed Mar 19 00:39:35 2014 -0700

----------------------------------------------------------------------
 .../apache/tez/dag/api/TezConfiguration.java    | 32 ++++++++++++++++++++
 1 file changed, 32 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/44ea005b/tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
----------------------------------------------------------------------
diff --git a/tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java b/tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
index 1e2f604..a5ba9e3 100644
--- a/tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
+++ b/tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
@@ -393,5 +393,37 @@ public class TezConfiguration extends Configuration {
   public static final String DAG_RECOVERY_DATA_DIR_NAME = "recovery";
   public static final String DAG_RECOVERY_SUMMARY_FILE_SUFFIX = ".summary";
   public static final String DAG_RECOVERY_RECOVER_FILE_SUFFIX = ".recovery";
+  
+  /**
+   *  Tez Local Mode flag. Not valid till Tez-684 get checked-in
+   */
+  public static final String TEZ_LOCAL_MODE =
+    TEZ_PREFIX + "local.mode";
+
+  /**
+   *  Tez Local Mode flag. Not valid till Tez-684 get checked-in
+   */
+  public static final boolean TEZ_LOCAL_MODE_DEFAULT = false;
+
+  /**
+   *  Tez AM Inline Mode flag. Not valid till Tez-684 get checked-in
+   */
+  public static final String TEZ_AM_INLINE_TASK_EXECUTION_ENABLED =
+    TEZ_AM_PREFIX + "inline.task.execution.enabled";
 
+  /**
+   *  Tez AM Inline Mode flag. Not valid till Tez-684 get checked-in
+   */
+  public static final boolean TEZ_AM_INLINE_TASK_EXECUTION_ENABLED_DEFAULT = false;
+
+  /**
+   * The maximium number of tasks running in parallel in inline mode. Not valid till Tez-684 get checked-in
+   */
+  public static final String TEZ_AM_INLINE_TASK_EXECUTION_MAX_TASKS =
+    TEZ_AM_PREFIX + "inline.task.execution.max-tasks";
+
+  /**
+   * The maximium number of tasks running in parallel in inline mode. Not valid till Tez-684 get checked-in
+   */
+  public static final int TEZ_AM_INLINE_TASK_EXECUTION_MAX_TASKS_DEFAULT = 1;
 }