org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair
Interface WeightAdjuster

All Known Implementing Classes:
NewAppWeightBooster

@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface WeightAdjuster

A pluggable object for altering the weights of apps in the fair scheduler, which is used for example by NewAppWeightBooster to give higher weight to new jobs so that short jobs finish faster. May implement Configurable to access configuration parameters.


Method Summary
 double adjustWeight(AppSchedulable app, double curWeight)
           
 

Method Detail

adjustWeight

double adjustWeight(AppSchedulable app,
                    double curWeight)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.