Tabnine Logo
CapacityReservationSystem.getResourceCalculator
Code IndexAdd Tabnine to your IDE (free)

How to use
getResourceCalculator
method
in
org.apache.hadoop.yarn.server.resourcemanager.reservation.CapacityReservationSystem

Best Java code snippets using org.apache.hadoop.yarn.server.resourcemanager.reservation.CapacityReservationSystem.getResourceCalculator (Showing top 3 results out of 315)

origin: com.github.jiayuhan-it/hadoop-yarn-server-resourcemanager

@Override
protected Resource getPlanQueueCapacity(String planQueueName) {
 Resource minAllocation = getMinAllocation();
 ResourceCalculator rescCalc = getResourceCalculator();
 CSQueue planQueue = capScheduler.getQueue(planQueueName);
 return rescCalc.multiplyAndNormalizeDown(capScheduler.getClusterResource(),
   planQueue.getAbsoluteCapacity(), minAllocation);
}
origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

@Override
protected Resource getPlanQueueCapacity(String planQueueName) {
 Resource minAllocation = getMinAllocation();
 ResourceCalculator rescCalc = getResourceCalculator();
 CSQueue planQueue = capScheduler.getQueue(planQueueName);
 return rescCalc.multiplyAndNormalizeDown(capScheduler.getClusterResource(),
   planQueue.getAbsoluteCapacity(), minAllocation);
}
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

@Override
protected Resource getPlanQueueCapacity(String planQueueName) {
 Resource minAllocation = getMinAllocation();
 ResourceCalculator rescCalc = getResourceCalculator();
 CSQueue planQueue = capScheduler.getQueue(planQueueName);
 return rescCalc.multiplyAndNormalizeDown(capScheduler.getClusterResource(),
   planQueue.getAbsoluteCapacity(), minAllocation);
}
org.apache.hadoop.yarn.server.resourcemanager.reservationCapacityReservationSystemgetResourceCalculator

Popular methods of CapacityReservationSystem

  • getMinAllocation
  • <init>
  • getPlan
  • reinitialize
  • setRMContext

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now