org.apache.hadoop.yarn.server.resourcemanager.scheduler
Interface ResourceScheduler

All Superinterfaces:
org.apache.hadoop.yarn.event.EventHandler<SchedulerEvent>, Recoverable, YarnScheduler
All Known Subinterfaces:
PreemptableResourceScheduler
All Known Implementing Classes:
CapacityScheduler, FairScheduler, FifoScheduler

@InterfaceAudience.LimitedPrivate(value="yarn")
@InterfaceStability.Evolving
public interface ResourceScheduler
extends YarnScheduler, Recoverable

This interface is the one implemented by the schedulers. It mainly extends YarnScheduler.


Method Summary
 void reinitialize(org.apache.hadoop.conf.Configuration conf, RMContext rmContext)
          Re-initialize the ResourceScheduler.
 
Methods inherited from interface org.apache.hadoop.yarn.server.resourcemanager.scheduler.YarnScheduler
allocate, getMaximumResourceCapability, getMinimumResourceCapability, getNodeReport, getNumClusterNodes, getQueueInfo, getQueueUserAclInfo, getRootQueueMetrics, getSchedulerAppInfo
 
Methods inherited from interface org.apache.hadoop.yarn.event.EventHandler
handle
 
Methods inherited from interface org.apache.hadoop.yarn.server.resourcemanager.recovery.Recoverable
recover
 

Method Detail

reinitialize

void reinitialize(org.apache.hadoop.conf.Configuration conf,
                  RMContext rmContext)
                  throws IOException
Re-initialize the ResourceScheduler.

Parameters:
conf - configuration
Throws:
IOException


Copyright © 2013 Apache Software Foundation. All Rights Reserved.