org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity
Interface CapacitySchedulerContext

All Known Implementing Classes:
CapacityScheduler

public interface CapacitySchedulerContext

Read-only interface to CapacityScheduler context.


Method Summary
 Comparator<FiCaSchedulerApp> getApplicationComparator()
           
 org.apache.hadoop.yarn.api.records.Resource getClusterResource()
           
 org.apache.hadoop.conf.Configuration getConf()
          Get the yarn configuration.
 CapacitySchedulerConfiguration getConfiguration()
           
 RMContainerTokenSecretManager getContainerTokenSecretManager()
           
 org.apache.hadoop.yarn.api.records.Resource getMaximumResourceCapability()
           
 org.apache.hadoop.yarn.api.records.Resource getMinimumResourceCapability()
           
 FiCaSchedulerNode getNode(org.apache.hadoop.yarn.api.records.NodeId nodeId)
           
 int getNumClusterNodes()
           
 Comparator<CSQueue> getQueueComparator()
           
 org.apache.hadoop.yarn.util.resource.ResourceCalculator getResourceCalculator()
           
 RMContext getRMContext()
           
 

Method Detail

getConfiguration

CapacitySchedulerConfiguration getConfiguration()

getMinimumResourceCapability

org.apache.hadoop.yarn.api.records.Resource getMinimumResourceCapability()

getMaximumResourceCapability

org.apache.hadoop.yarn.api.records.Resource getMaximumResourceCapability()

getContainerTokenSecretManager

RMContainerTokenSecretManager getContainerTokenSecretManager()

getNumClusterNodes

int getNumClusterNodes()

getRMContext

RMContext getRMContext()

getClusterResource

org.apache.hadoop.yarn.api.records.Resource getClusterResource()

getConf

org.apache.hadoop.conf.Configuration getConf()
Get the yarn configuration.


getApplicationComparator

Comparator<FiCaSchedulerApp> getApplicationComparator()

getResourceCalculator

org.apache.hadoop.yarn.util.resource.ResourceCalculator getResourceCalculator()

getQueueComparator

Comparator<CSQueue> getQueueComparator()

getNode

FiCaSchedulerNode getNode(org.apache.hadoop.yarn.api.records.NodeId nodeId)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.