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

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

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

/**
 * Subqueue metrics might be a little out of date because fair shares are
 * recalculated at the update interval, but the root queue metrics needs to
 * be updated synchronously with allocations and completions so that cluster
 * metrics will be consistent.
 */
private void updateRootQueueMetrics() {
 rootMetrics.setAvailableResourcesToQueue(
   Resources.subtract(
     clusterResource, rootMetrics.getAllocatedResources()));
}
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

/**
 * Subqueue metrics might be a little out of date because fair shares are
 * recalculated at the update interval, but the root queue metrics needs to
 * be updated synchronously with allocations and completions so that cluster
 * metrics will be consistent.
 */
private void updateRootQueueMetrics() {
 rootMetrics.setAvailableResourcesToQueue(
   Resources.subtract(
     clusterResource, rootMetrics.getAllocatedResources()));
}
origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

/**
 * Subqueue metrics might be a little out of date because fair shares are
 * recalculated at the update interval, but the root queue metrics needs to
 * be updated synchronously with allocations and completions so that cluster
 * metrics will be consistent.
 */
private void updateRootQueueMetrics() {
 rootMetrics.setAvailableResourcesToQueue(
   Resources.subtract(
     getClusterResource(), rootMetrics.getAllocatedResources()));
}
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fairFSQueueMetricssetAvailableResourcesToQueue

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
  • setFairShare
  • setMaxShare
  • setMinShare
  • setSteadyFairShare
  • setMinShare,
  • setSteadyFairShare,
  • sourceName,
  • submitApp,
  • submitAppAttempt,
  • tag,
  • getAMResourceUsageMB,
  • getAMResourceUsageVCores,
  • getFairShareMB

Popular in Java

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • JTextField (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • 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