Interface MutableConfScheduler

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

public interface MutableConfScheduler extends ResourceScheduler
Interface for a scheduler that supports changing configuration at runtime.
  • Method Details

    • getConfiguration

      org.apache.hadoop.conf.Configuration getConfiguration()
      Get the scheduler configuration.
      Returns:
      the scheduler configuration
    • getQueue

      Queue getQueue(String queueName)
      Get queue object based on queue name.
      Parameters:
      queueName - the queue name
      Returns:
      the queue object
    • isConfigurationMutable

      boolean isConfigurationMutable()
      Return whether the scheduler configuration is mutable.
      Returns:
      whether scheduler configuration is mutable or not.
    • getMutableConfProvider

      MutableConfigurationProvider getMutableConfProvider()
      Get scheduler's configuration provider, so other classes can directly call mutation APIs on configuration provider.
      Returns:
      scheduler's configuration provider