hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [1/2] hadoop git commit: YARN-4279. Mark ApplicationId and ApplicationAttemptId static methods as @Public, @Unstable. (stevel)
Date Wed, 18 Nov 2015 21:41:29 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 7b94ae17a -> a0b3e43a6
  refs/heads/trunk bad2afe39 -> 253e0404f


YARN-4279. Mark ApplicationId and ApplicationAttemptId static methods as @Public, @Unstable.
(stevel)


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

Branch: refs/heads/branch-2
Commit: a0b3e43a6ddd745eb96b6611727a7d6e578ebb9f
Parents: 7b94ae1
Author: Steve Loughran <stevel@apache.org>
Authored: Wed Nov 18 21:41:24 2015 +0000
Committer: Steve Loughran <stevel@apache.org>
Committed: Wed Nov 18 21:41:24 2015 +0000

----------------------------------------------------------------------
 hadoop-yarn-project/CHANGES.txt                                   | 3 +++
 .../org/apache/hadoop/yarn/api/records/ApplicationAttemptId.java  | 2 +-
 .../java/org/apache/hadoop/yarn/api/records/ApplicationId.java    | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/a0b3e43a/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index 3f8b330..2e99185 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -510,6 +510,9 @@ Release 2.8.0 - UNRELEASED
 
     YARN-4287. Capacity Scheduler: Rack Locality improvement (Nathan Roberts via wangda)
 
+    YARN-4279. Mark ApplicationId and ApplicationAttemptId static methods as @Public,
+    @Unstable. (stevel)
+
   OPTIMIZATIONS
 
     YARN-3339. TestDockerContainerExecutor should pull a single image and not

http://git-wip-us.apache.org/repos/asf/hadoop/blob/a0b3e43a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationAttemptId.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationAttemptId.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationAttemptId.java
index 3ce91a8..0a83bc0 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationAttemptId.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationAttemptId.java
@@ -43,7 +43,7 @@ public abstract class ApplicationAttemptId implements
   @Unstable
   public static final String appAttemptIdStrPrefix = "appattempt_";
 
-  @Private
+  @Public
   @Unstable
   public static ApplicationAttemptId newInstance(ApplicationId appId,
       int attemptId) {

http://git-wip-us.apache.org/repos/asf/hadoop/blob/a0b3e43a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationId.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationId.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationId.java
index 47b53bd..90214cd 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationId.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ApplicationId.java
@@ -43,7 +43,7 @@ public abstract class ApplicationId implements Comparable<ApplicationId>
{
   @Unstable
   public static final String appIdStrPrefix = "application_";
 
-  @Private
+  @Public
   @Unstable
   public static ApplicationId newInstance(long clusterTimestamp, int id) {
     ApplicationId appId = Records.newRecord(ApplicationId.class);


Mime
View raw message