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

How to use
cloneQueues
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.cloneQueues (Showing top 6 results out of 315)

origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

cloneQueues(root, Resources
    .clone(nlm.getResourceByLabel(partitionToLookAt, clusterResources)),
  partitionToLookAt);
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

tRoot = cloneQueues(root, clusterResources);
origin: com.github.jiayuhan-it/hadoop-yarn-server-resourcemanager

tRoot = cloneQueues(root, clusterResources);
origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

TempQueuePerPartition subq = cloneQueues(c, partitionResource,
  partitionToLookAt);
origin: com.github.jiayuhan-it/hadoop-yarn-server-resourcemanager

Resource childrensPreemptable = Resource.newInstance(0, 0);
for (CSQueue c : root.getChildQueues()) {
 TempQueue subq = cloneQueues(c, clusterResources);
 Resources.addTo(childrensPreemptable, subq.preemptableExtra);
 ret.addChild(subq);
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

Resource childrensPreemptable = Resource.newInstance(0, 0);
for (CSQueue c : root.getChildQueues()) {
 TempQueue subq = cloneQueues(c, clusterResources);
 Resources.addTo(childrensPreemptable, subq.preemptableExtra);
 ret.addChild(subq);
org.apache.hadoop.yarn.server.resourcemanager.monitor.capacityProportionalCapacityPreemptionPolicycloneQueues

Javadoc

This method walks a tree of CSQueue and clones the portion of the state relevant for preemption in TempQueue(s). It also maintains a pointer to the leaves. Finally it aggregates pending resources in each queue and rolls it up to higher levels.

Popular methods of ProportionalCapacityPreemptionPolicy

  • 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>
  • computeFixpointAllocation
    Given a set of queues compute the fix-point distribution of unassigned resources among them. As pend
  • 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

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • JTextField (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top PhpStorm plugins
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