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

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

origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

@Override
public void editSchedule() {
 CSQueue root = scheduler.getRootQueue();
 Resource clusterResources = Resources.clone(scheduler.getClusterResource());
 clusterResources = getNonLabeledResources(clusterResources);
 setNodeLabels(scheduler.getRMContext().getNodeLabelManager()
   .getNodeLabels());
 containerBasedPreemptOrKill(root, clusterResources);
}
origin: com.github.jiayuhan-it/hadoop-yarn-server-resourcemanager

@Override
public void editSchedule() {
 CSQueue root = scheduler.getRootQueue();
 Resource clusterResources = Resources.clone(scheduler.getClusterResource());
 clusterResources = getNonLabeledResources(clusterResources);
 setNodeLabels(scheduler.getRMContext().getNodeLabelManager()
   .getNodeLabels());
 containerBasedPreemptOrKill(root, clusterResources);
}
org.apache.hadoop.yarn.server.resourcemanager.monitor.capacityProportionalCapacityPreemptionPolicygetNonLabeledResources

Javadoc

This method returns all non labeled resources.

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>
  • 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
  • getResourceCalculator
  • getMostUnderservedQueues,
  • getResourceCalculator,
  • isLabeledContainer,
  • preemptAMContainers,
  • preemptFrom,
  • recursivelyComputeIdealAssignment,
  • resetCapacity,
  • setNodeLabels,
  • addTempQueuePartition

Popular in Java

  • Creating JSON documents from java classes using gson
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getContentResolver (Context)
  • Kernel (java.awt.image)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Best IntelliJ 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