Tabnine Logo
ProportionalCapacityPreemptionPolicy.computeFixpointAllocation
Code IndexAdd Tabnine to your IDE (free)

How to use
computeFixpointAllocation
method
in
org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy

Best Java code snippets using org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy.computeFixpointAllocation (Showing top 2 results out of 315)

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

computeFixpointAllocation(rc, tot_guarant, nonZeroGuarQueues, unassigned,
  false);
 computeFixpointAllocation(rc, tot_guarant, zeroGuarQueues, unassigned,
   true);
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

computeFixpointAllocation(rc, tot_guarant, nonZeroGuarQueues, unassigned,
  false);
 computeFixpointAllocation(rc, tot_guarant, zeroGuarQueues, unassigned,
   true);
org.apache.hadoop.yarn.server.resourcemanager.monitor.capacityProportionalCapacityPreemptionPolicycomputeFixpointAllocation

Javadoc

Given a set of queues compute the fix-point distribution of unassigned resources among them. As pending request of a queue are exhausted, the queue is removed from the set and remaining capacity redistributed among remaining queues. The distribution is weighted based on guaranteed capacity, unless asked to ignoreGuarantee, in which case resources are distributed uniformly.

Popular methods of ProportionalCapacityPreemptionPolicy

  • cloneQueues
    This method walks a tree of CSQueue and clones the portion of the state relevant for preemption in T
  • containerBasedPreemptOrKill
    This method selects and tracks containers to be preemptionCandidates. If a container is in the targe
  • init
  • logToCSV
  • sortContainers
    Compare by reversed priority order first, and then reversed containerId order
  • <init>
  • computeIdealResourceDistribution
    This method computes (for a single level in the tree, passed as a List) the ideal assignment of reso
  • editSchedule
  • getContainersToPreempt
    Based a resource preemption target drop reservations of containers and if necessary select container
  • getMostUnderservedQueues
  • getNonLabeledResources
    This method returns all non labeled resources.
  • getResourceCalculator
  • getNonLabeledResources,
  • getResourceCalculator,
  • isLabeledContainer,
  • preemptAMContainers,
  • preemptFrom,
  • recursivelyComputeIdealAssignment,
  • resetCapacity,
  • setNodeLabels,
  • addTempQueuePartition

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • JOptionPane (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • From CI to AI: The AI layer in your organization
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