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