public interface SchedulableEntity
Modifier and Type | Method and Description |
---|---|
int |
compareInputOrderTo(SchedulableEntity other)
Compare the passed SchedulableEntity to this one for input order.
|
String |
getId()
Id - each entity must have a unique id
|
org.apache.hadoop.yarn.api.records.Priority |
getPriority()
Get the priority of the application
|
ResourceUsage |
getSchedulingResourceUsage()
View of Resources wanted and consumed by the entity
|
boolean |
isRecovering()
Whether application was running before RM restart.
|
String getId()
int compareInputOrderTo(SchedulableEntity other)
ResourceUsage getSchedulingResourceUsage()
org.apache.hadoop.yarn.api.records.Priority getPriority()
boolean isRecovering()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.