org.apache.hadoop.yarn.server.resourcemanager.scheduler
Interface ResourceScheduler
- All Superinterfaces:
- org.apache.hadoop.yarn.event.EventHandler<SchedulerEvent>, Recoverable, YarnScheduler
- All Known Implementing Classes:
- CapacityScheduler, 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,
org.apache.hadoop.yarn.server.security.ContainerTokenSecretManager secretManager,
RMContext rmContext)
Re-initialize the ResourceScheduler. |
| Methods inherited from interface org.apache.hadoop.yarn.event.EventHandler |
handle |
| Methods inherited from interface org.apache.hadoop.yarn.server.resourcemanager.recovery.Recoverable |
recover |
reinitialize
void reinitialize(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.server.security.ContainerTokenSecretManager secretManager,
RMContext rmContext)
throws IOException
- Re-initialize the
ResourceScheduler.
- Parameters:
conf - configurationsecretManager - token-secret manager
- Throws:
IOException
Copyright © 2012 Apache Software Foundation. All Rights Reserved.