Class ProportionRouterRpcFairnessPolicyController

java.lang.Object
org.apache.hadoop.hdfs.server.federation.fairness.AbstractRouterRpcFairnessPolicyController
org.apache.hadoop.hdfs.server.federation.fairness.ProportionRouterRpcFairnessPolicyController
All Implemented Interfaces:
RouterRpcFairnessPolicyController

public class ProportionRouterRpcFairnessPolicyController extends AbstractRouterRpcFairnessPolicyController
Proportion fairness policy extending AbstractRouterRpcFairnessPolicyController and fetching proportion of handlers from configuration for all available name services, based on the proportion and the total number of handlers, calculate the handlers of all ns. The handlers count will not change for this controller.
  • Constructor Details

    • ProportionRouterRpcFairnessPolicyController

      public ProportionRouterRpcFairnessPolicyController(org.apache.hadoop.conf.Configuration conf)
  • Method Details