public abstract class ReservationSchedulerConfiguration
extends org.apache.hadoop.conf.Configuration
| Modifier and Type | Field and Description | 
|---|---|
| static float | DEFAULT_CAPACITY_OVER_TIME_MULTIPLIER | 
| static String | DEFAULT_RESERVATION_ADMISSION_POLICY | 
| static String | DEFAULT_RESERVATION_AGENT_NAME | 
| static long | DEFAULT_RESERVATION_ENFORCEMENT_WINDOW | 
| static boolean | DEFAULT_RESERVATION_MOVE_ON_EXPIRY | 
| static String | DEFAULT_RESERVATION_PLANNER_NAME | 
| static long | DEFAULT_RESERVATION_WINDOW | 
| static boolean | DEFAULT_SHOW_RESERVATIONS_AS_QUEUES | 
| Constructor and Description | 
|---|
| ReservationSchedulerConfiguration() | 
| ReservationSchedulerConfiguration(org.apache.hadoop.conf.Configuration configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| float | getAverageCapacity(String queue)Gets the average allowed capacity which will aggregated over the
  getReservationWindow(java.lang.String)by the
 theSharingPolicyto check aggregate used capacity | 
| long | getEnforcementWindow(String queue)Gets the time in milliseconds for which the  Plannerwill verify
 thePlans satisfy the constraints | 
| float | getInstantaneousMaxCapacity(String queue)Gets the maximum capacity at any time that the  SharingPolicyallows | 
| boolean | getMoveOnExpiry(String queue)Gets whether the applications should be killed or moved to the parent queue
 when the  ReservationDefinitionexpires | 
| String | getReplanner(String queue)Gets the name of the  Plannerclass associated with the
 queue | 
| abstract Map<org.apache.hadoop.yarn.api.records.ReservationACL,org.apache.hadoop.security.authorize.AccessControlList> | getReservationAcls(String queue)Gets a map containing the  AccessControlListof users for eachReservationACLacl on thee specified queue. | 
| String | getReservationAdmissionPolicy(String queue)Gets the name of the  SharingPolicyclass associated with the queue | 
| String | getReservationAgent(String queue)Gets the name of the  ReservationAgentclass associated with the
 queue | 
| long | getReservationWindow(String queue)Gets the length of time in milliseconds for which the  SharingPolicychecks for validity | 
| boolean | getShowReservationAsQueues(String queuePath)Checks whether the reservation queues be hidden or visible | 
| abstract boolean | isReservable(String queue)Checks if the queue participates in reservation based scheduling | 
addDefaultResource, addDeprecation, addDeprecation, addDeprecation, addDeprecation, addDeprecations, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addTags, clear, dumpConfiguration, dumpConfiguration, dumpDeprecatedKeys, get, get, getAllPropertiesByTag, getAllPropertiesByTags, getBoolean, getClass, getClass, getClassByName, getClassByNameOrNull, getClasses, getClassLoader, getConfResourceAsInputStream, getConfResourceAsReader, getDouble, getEnum, getFile, getFinalParameters, getFloat, getInstances, getInt, getInts, getLocalPath, getLong, getLongBytes, getPassword, getPasswordFromConfig, getPasswordFromCredentialProviders, getPattern, getPropertySources, getProps, getPropsWithPrefix, getRange, getRaw, getResource, getSocketAddr, getSocketAddr, getStorageSize, getStorageSize, getStringCollection, getStrings, getStrings, getTimeDuration, getTimeDuration, getTimeDuration, getTimeDuration, getTimeDurationHelper, getTimeDurations, getTrimmed, getTrimmed, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, getValByRegex, hasWarnedDeprecation, isDeprecated, isPropertyTag, iterator, main, onlyKeyExists, readFields, reloadConfiguration, reloadExistingConfigurations, set, set, setAllowNullValueProperties, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setDeprecatedProperties, setDouble, setEnum, setFloat, setIfUnset, setInt, setLong, setPattern, setQuietMode, setRestrictSystemProperties, setRestrictSystemPropertiesDefault, setRestrictSystemProps, setSocketAddr, setStorageSize, setStrings, setTimeDuration, size, toString, unset, updateConnectAddr, updateConnectAddr, write, writeXml, writeXml, writeXmlclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliterator@InterfaceAudience.Private public static final long DEFAULT_RESERVATION_WINDOW
@InterfaceAudience.Private public static final String DEFAULT_RESERVATION_ADMISSION_POLICY
@InterfaceAudience.Private public static final String DEFAULT_RESERVATION_AGENT_NAME
@InterfaceAudience.Private public static final String DEFAULT_RESERVATION_PLANNER_NAME
@InterfaceAudience.Private public static final boolean DEFAULT_RESERVATION_MOVE_ON_EXPIRY
@InterfaceAudience.Private public static final long DEFAULT_RESERVATION_ENFORCEMENT_WINDOW
@InterfaceAudience.Private public static final boolean DEFAULT_SHOW_RESERVATIONS_AS_QUEUES
@InterfaceAudience.Private public static final float DEFAULT_CAPACITY_OVER_TIME_MULTIPLIER
public ReservationSchedulerConfiguration()
public ReservationSchedulerConfiguration(org.apache.hadoop.conf.Configuration configuration)
public abstract boolean isReservable(String queue)
queue - name of the queuepublic abstract Map<org.apache.hadoop.yarn.api.records.ReservationACL,org.apache.hadoop.security.authorize.AccessControlList> getReservationAcls(String queue)
AccessControlList of users for each
 ReservationACL acl on thee specified queue.queue - the queue with which to check a user's permissions.ReservationACL to AccessControlList
 which contains a list of users that have the specified permission level.public long getReservationWindow(String queue)
SharingPolicy
 checks for validityqueue - name of the queueSharingPolicypublic float getAverageCapacity(String queue)
getReservationWindow(java.lang.String) by the
 the SharingPolicy to check aggregate used capacityqueue - name of the queueSharingPolicypublic float getInstantaneousMaxCapacity(String queue)
SharingPolicy allowsqueue - name of the queuepublic String getReservationAdmissionPolicy(String queue)
SharingPolicy class associated with the queuequeue - name of the queueSharingPolicypublic String getReservationAgent(String queue)
ReservationAgent class associated with the
 queuequeue - name of the queueReservationAgentpublic boolean getShowReservationAsQueues(String queuePath)
queuePath - name of the queuepublic String getReplanner(String queue)
Planner class associated with the
 queuequeue - name of the queuePlannerpublic boolean getMoveOnExpiry(String queue)
ReservationDefinition expiresqueue - name of the queueCopyright © 2008–2023 Apache Software Foundation. All rights reserved.