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

This commit is contained in:
Steve Loughran 2015-11-18 21:41:24 +00:00
parent bad2afe39a
commit 253e0404f3
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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) {

View File

@ -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);