Class QueueAppLifetimeAndLimitSettings
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.QueueAppLifetimeAndLimitSettings
This class determines application lifetime and max parallel apps settings based on the
CapacitySchedulerConfiguration and other queue
properties.-
Constructor Summary
ConstructorsConstructorDescriptionQueueAppLifetimeAndLimitSettings(CapacitySchedulerConfiguration configuration, AbstractCSQueue q, QueuePath queuePath) -
Method Summary
Modifier and TypeMethodDescriptionlonglongintbooleanvoidsetMaxParallelApps(int maxParallelApps)
-
Constructor Details
-
QueueAppLifetimeAndLimitSettings
public QueueAppLifetimeAndLimitSettings(CapacitySchedulerConfiguration configuration, AbstractCSQueue q, QueuePath queuePath)
-
-
Method Details
-
getMaxParallelApps
public int getMaxParallelApps() -
setMaxParallelApps
public void setMaxParallelApps(int maxParallelApps) -
getMaxApplicationLifetime
public long getMaxApplicationLifetime() -
getDefaultApplicationLifetime
public long getDefaultApplicationLifetime() -
isDefaultAppLifetimeWasSpecifiedInConfig
public boolean isDefaultAppLifetimeWasSpecifiedInConfig()
-