Tabnine Logo
FSQueueMetrics.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSQueueMetrics
constructor

Best Java code snippets using org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSQueueMetrics.<init> (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

QueueMetrics metrics = QueueMetrics.getQueueMetrics().get(queueName);
if (metrics == null) {
 metrics = new FSQueueMetrics(ms, queueName, parent, enableUserMetrics, conf)
   .tag(QUEUE_INFO, queueName);
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fairFSQueueMetrics<init>

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

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • putExtra (Intent)
  • startActivity (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Path (java.nio.file)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • JComboBox (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best plugins for Eclipse
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