Tabnine Logo
FSQueueMetrics.setFairShare
Code IndexAdd Tabnine to your IDE (free)

How to use
setFairShare
method
in
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSQueueMetrics

Best Java code snippets using org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSQueueMetrics.setFairShare (Showing top 6 results out of 315)

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

@Override
public void setFairShare(Resource fairShare) {
 this.fairShare = fairShare;
 metrics.setFairShare(fairShare);
}
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

@Override
public void setFairShare(Resource fairShare) {
 this.fairShare = fairShare;
 metrics.setFairShare(fairShare);
}
origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

@Override
public void setFairShare(Resource fairShare) {
 this.fairShare = fairShare;
 metrics.setFairShare(fairShare);
 if (LOG.isDebugEnabled()) {
  LOG.debug("The updated fairShare for " + getName() + " is " + fairShare);
 }
}
origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

@Override
void updateInternal() {
 readLock.lock();
 try {
  policy.computeShares(childQueues, getFairShare());
  for (FSQueue childQueue : childQueues) {
   childQueue.getMetrics().setFairShare(childQueue.getFairShare());
   childQueue.updateInternal();
  }
 } finally {
  readLock.unlock();
 }
}
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

@Override
public void recomputeShares() {
 policy.computeShares(childQueues, getFairShare());
 for (FSQueue childQueue : childQueues) {
  childQueue.getMetrics().setFairShare(childQueue.getFairShare());
  childQueue.recomputeShares();
 }
}
origin: com.github.jiayuhan-it/hadoop-yarn-server-resourcemanager

@Override
public void recomputeShares() {
 policy.computeShares(childQueues, getFairShare());
 for (FSQueue childQueue : childQueues) {
  childQueue.getMetrics().setFairShare(childQueue.getFairShare());
  childQueue.recomputeShares();
 }
}
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fairFSQueueMetricssetFairShare

Popular methods of FSQueueMetrics

  • forQueue
    Get the FS queue metric for the given queue. Create one and register it to metrics system if there i
  • getAvailableMB
  • getAvailableVirtualCores
  • <init>
  • getAllocatedMB
  • getAllocatedResources
  • getAllocatedVirtualCores
  • getReservedMB
  • setAvailableResourcesToQueue
  • setMaxShare
  • setMinShare
  • setSteadyFairShare
  • setMinShare,
  • setSteadyFairShare,
  • sourceName,
  • submitApp,
  • submitAppAttempt,
  • tag,
  • getAMResourceUsageMB,
  • getAMResourceUsageVCores,
  • getFairShareMB

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Notification (javax.management)
  • JList (javax.swing)
  • Join (org.hibernate.mapping)
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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