YARN-4279. Mark ApplicationId and ApplicationAttemptId static methods as @Public, @Unstable. (stevel)
This commit is contained in:
parent
bad2afe39a
commit
253e0404f3
@ -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
|
||||
|
@ -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) {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user