feat(configuration): 增加yarn状态静态字段
This commit is contained in:
@@ -138,4 +138,39 @@ public final class YarnApplication {
|
||||
", clusterUsagePercentage=" + clusterUsagePercentage +
|
||||
'}';
|
||||
}
|
||||
|
||||
public static final class State {
|
||||
/**
|
||||
* Application which was just created.
|
||||
*/
|
||||
public static final String NEW = "NEW";
|
||||
/**
|
||||
* Application which has been submitted.
|
||||
*/
|
||||
public static final String NEW_SAVING = "NEW_SAVING";
|
||||
/**
|
||||
* Application which has been submitted.
|
||||
*/
|
||||
public static final String SUBMITTED = "SUBMITTED";
|
||||
/**
|
||||
* Application has been accepted by the scheduler
|
||||
*/
|
||||
public static final String ACCEPTED = "ACCEPTED";
|
||||
/**
|
||||
* Application which is currently running.
|
||||
*/
|
||||
public static final String RUNNING = "RUNNING";
|
||||
/**
|
||||
* Application which finished successfully.
|
||||
*/
|
||||
public static final String FINISHED = "FINISHED";
|
||||
/**
|
||||
* Application which failed.
|
||||
*/
|
||||
public static final String FAILED = "FAILED";
|
||||
/**
|
||||
* Application which was terminated by a user or admin.
|
||||
*/
|
||||
public static final String KILLED = "KILLED";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user