hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject [35/50] [abbrv] hadoop git commit: YARN-4279. Mark ApplicationId and ApplicationAttemptId static methods as @Public, @Unstable. (stevel)
Date Sat, 21 Nov 2015 07:56:39 GMT
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/253e0404
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/253e0404
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/253e0404

Branch: refs/heads/HDFS-7240
Commit: 253e0404f37ee7d889b52cc910e51e5fbde8ac8a
Parents: bad2afe
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:39 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/253e0404/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index f3b6b24..1cfff7a 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -562,6 +562,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/253e0404/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/253e0404/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