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 7b94ae17ab
commit a0b3e43a6d
3 changed files with 5 additions and 2 deletions

View File

@ -510,6 +510,9 @@ Release 2.8.0 - UNRELEASED
YARN-4287. Capacity Scheduler: Rack Locality improvement (Nathan Roberts via wangda) YARN-4287. Capacity Scheduler: Rack Locality improvement (Nathan Roberts via wangda)
YARN-4279. Mark ApplicationId and ApplicationAttemptId static methods as @Public,
@Unstable. (stevel)
OPTIMIZATIONS OPTIMIZATIONS
YARN-3339. TestDockerContainerExecutor should pull a single image and not YARN-3339. TestDockerContainerExecutor should pull a single image and not

View File

@ -43,7 +43,7 @@ public abstract class ApplicationAttemptId implements
@Unstable @Unstable
public static final String appAttemptIdStrPrefix = "appattempt_"; public static final String appAttemptIdStrPrefix = "appattempt_";
@Private @Public
@Unstable @Unstable
public static ApplicationAttemptId newInstance(ApplicationId appId, public static ApplicationAttemptId newInstance(ApplicationId appId,
int attemptId) { int attemptId) {

View File

@ -43,7 +43,7 @@ public abstract class ApplicationId implements Comparable<ApplicationId> {
@Unstable @Unstable
public static final String appIdStrPrefix = "application_"; public static final String appIdStrPrefix = "application_";
@Private @Public
@Unstable @Unstable
public static ApplicationId newInstance(long clusterTimestamp, int id) { public static ApplicationId newInstance(long clusterTimestamp, int id) {
ApplicationId appId = Records.newRecord(ApplicationId.class); ApplicationId appId = Records.newRecord(ApplicationId.class);