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

How to use
setNodeLabels
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.setNodeLabels (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.capacityProportionalCapacityPreemptionPolicysetNodeLabels

Javadoc

Setting Node Labels

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
  • getNonLabeledResources
    This method returns all non labeled resources.
  • getMostUnderservedQueues,
  • getNonLabeledResources,
  • getResourceCalculator,
  • isLabeledContainer,
  • preemptAMContainers,
  • preemptFrom,
  • recursivelyComputeIdealAssignment,
  • resetCapacity,
  • addTempQueuePartition

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (Timer)
  • setRequestProperty (URLConnection)
  • getApplicationContext (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Github Copilot alternatives
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