tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject git commit: TEZ-226. Set the YARN applicationType in the ApplicationSubmissionContext. (sseth)
Date Fri, 14 Jun 2013 20:32:05 GMT
Updated Branches:
  refs/heads/master 104841a68 -> 4736bf444


TEZ-226. Set the YARN applicationType in the
ApplicationSubmissionContext. (sseth)


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

Branch: refs/heads/master
Commit: 4736bf444eb5879b785eb53c7c8cb2ebbd7a2cc6
Parents: 104841a
Author: Siddharth Seth <sseth@apache.org>
Authored: Fri Jun 14 13:31:49 2013 -0700
Committer: Siddharth Seth <sseth@apache.org>
Committed: Fri Jun 14 13:31:49 2013 -0700

----------------------------------------------------------------------
 tez-dag-api/src/main/java/org/apache/tez/client/TezClient.java    | 1 +
 .../src/main/java/org/apache/tez/dag/api/TezConfiguration.java    | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/4736bf44/tez-dag-api/src/main/java/org/apache/tez/client/TezClient.java
----------------------------------------------------------------------
diff --git a/tez-dag-api/src/main/java/org/apache/tez/client/TezClient.java b/tez-dag-api/src/main/java/org/apache/tez/client/TezClient.java
index 8b0b42d..0b2311f 100644
--- a/tez-dag-api/src/main/java/org/apache/tez/client/TezClient.java
+++ b/tez-dag-api/src/main/java/org/apache/tez/client/TezClient.java
@@ -430,6 +430,7 @@ public class TezClient {
     ApplicationSubmissionContext appContext = Records
         .newRecord(ApplicationSubmissionContext.class);
 
+    appContext.setApplicationType(TezConfiguration.TEZ_APPLICATION_TYPE);
     appContext.setApplicationId(appId);
     appContext.setResource(capability);
     appContext.setQueue(amQueueName);

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/4736bf44/tez-dag-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
----------------------------------------------------------------------
diff --git a/tez-dag-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java b/tez-dag-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
index 945558f..d37cf70 100644
--- a/tez-dag-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
+++ b/tez-dag-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
@@ -127,5 +127,6 @@ public class TezConfiguration extends Configuration {
 
   public static final String TEZ_LIB_URIS =
       TEZ_PREFIX + "lib.uris";
-
+  
+  public static final String TEZ_APPLICATION_TYPE = "TEZ-MR*";
 }


Mime
View raw message