You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by su...@apache.org on 2014/09/25 22:52:49 UTC
[39/45] git commit: YARN-1708. Public YARN APIs for
creating/updating/deleting reservations.
YARN-1708. Public YARN APIs for creating/updating/deleting reservations.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f41a3566
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f41a3566
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f41a3566
Branch: refs/heads/YARN-1051
Commit: f41a35668c2af79a74805eeaa287f9d0d055987c
Parents: 7b5b71f
Author: subru <su...@outlook.com>
Authored: Fri Sep 12 17:16:07 2014 -0700
Committer: subru <su...@outlook.com>
Committed: Thu Sep 25 13:18:11 2014 -0700
----------------------------------------------------------------------
.../api/records/ApplicationSubmissionContext.java | 15 ---------------
.../hadoop-yarn-api/src/main/proto/yarn_protos.proto | 1 +
2 files changed, 1 insertion(+), 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/f41a3566/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.java
index cbf1e37..9decb3f 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.java
@@ -129,21 +129,6 @@ public abstract class ApplicationSubmissionContext {
return context;
}
- @Public
- @Stable
- public static ApplicationSubmissionContext newInstance(
- ApplicationId applicationId, String applicationName, String queue,
- Priority priority, ContainerLaunchContext amContainer,
- boolean isUnmanagedAM, boolean cancelTokensWhenComplete,
- int maxAppAttempts, Resource resource, String applicationType,
- boolean keepContainers, LogAggregationContext logAggregationContext) {
- ApplicationSubmissionContext context =
- newInstance(applicationId, applicationName, queue, priority,
- amContainer, isUnmanagedAM, cancelTokensWhenComplete, maxAppAttempts,
- resource, applicationType, keepContainers);
- context.setLogAggregationContext(logAggregationContext);
- return context;
- }
/**
* Get the <code>ApplicationId</code> of the submitted application.
* @return <code>ApplicationId</code> of the submitted application
http://git-wip-us.apache.org/repos/asf/hadoop/blob/f41a3566/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto
index c645719..d07ce13 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_protos.proto
@@ -202,6 +202,7 @@ message ApplicationAttemptReportProto {
optional string diagnostics = 5 [default = "N/A"];
optional YarnApplicationAttemptStateProto yarn_application_attempt_state = 6;
optional ContainerIdProto am_container_id = 7;
+ optional string original_tracking_url = 8;
}
enum NodeStateProto {