congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • compareTo (BigDecimal)
  • setContentView (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JFileChooser (javax.swing)
  • Top 12 Jupyter Notebook extensions
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