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

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

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

public synchronized 
static FSQueueMetrics forQueue(String queueName, Queue parent,
  boolean enableUserMetrics, Configuration conf) {
 MetricsSystem ms = DefaultMetricsSystem.instance();
 QueueMetrics metrics = queueMetrics.get(queueName);
 if (metrics == null) {
  metrics = new FSQueueMetrics(ms, queueName, parent, enableUserMetrics, conf)
    .tag(QUEUE_INFO, queueName);
  
  // Register with the MetricsSystems
  if (ms != null) {
   metrics = ms.register(
       sourceName(queueName).toString(), 
       "Metrics for queue: " + queueName, metrics);
  }
  queueMetrics.put(queueName, metrics);
 }
 return (FSQueueMetrics)metrics;
}
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

public synchronized 
static FSQueueMetrics forQueue(String queueName, Queue parent,
  boolean enableUserMetrics, Configuration conf) {
 MetricsSystem ms = DefaultMetricsSystem.instance();
 QueueMetrics metrics = queueMetrics.get(queueName);
 if (metrics == null) {
  metrics = new FSQueueMetrics(ms, queueName, parent, enableUserMetrics, conf)
    .tag(QUEUE_INFO, queueName);
  
  // Register with the MetricsSystems
  if (ms != null) {
   metrics = ms.register(
       sourceName(queueName).toString(), 
       "Metrics for queue: " + queueName, metrics);
  }
  queueMetrics.put(queueName, metrics);
 }
 return (FSQueueMetrics)metrics;
}
origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

if (metrics == null) {
 metrics = new FSQueueMetrics(ms, queueName, parent, enableUserMetrics, conf)
   .tag(QUEUE_INFO, queueName);
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fairFSQueueMetricstag

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • getSystemService (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top plugins for Android Studio
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