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

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

origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

public Resource getReservedResource() {
 reservedResource.setMemorySize(metrics.getReservedMB());
 reservedResource.setVirtualCores(metrics.getReservedVirtualCores());
 return reservedResource;
}
origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

assertEquals(1024, scheduler.rootMetrics.getReservedMB());
assertEquals(1024, scheduler.rootMetrics.getReservedMB());
assertEquals(0, scheduler.rootMetrics.getReservedMB());
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

assertEquals(1024, scheduler.rootMetrics.getReservedMB());
assertEquals(1024, scheduler.rootMetrics.getReservedMB());
assertEquals(0, scheduler.rootMetrics.getReservedMB());
origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

public QueueStatistics getQueueStatistics() {
 QueueStatistics stats =
   recordFactory.newRecordInstance(QueueStatistics.class);
 stats.setNumAppsSubmitted(getMetrics().getAppsSubmitted());
 stats.setNumAppsRunning(getMetrics().getAppsRunning());
 stats.setNumAppsPending(getMetrics().getAppsPending());
 stats.setNumAppsCompleted(getMetrics().getAppsCompleted());
 stats.setNumAppsKilled(getMetrics().getAppsKilled());
 stats.setNumAppsFailed(getMetrics().getAppsFailed());
 stats.setNumActiveUsers(getMetrics().getActiveUsers());
 stats.setAvailableMemoryMB(getMetrics().getAvailableMB());
 stats.setAllocatedMemoryMB(getMetrics().getAllocatedMB());
 stats.setPendingMemoryMB(getMetrics().getPendingMB());
 stats.setReservedMemoryMB(getMetrics().getReservedMB());
 stats.setAvailableVCores(getMetrics().getAvailableVirtualCores());
 stats.setAllocatedVCores(getMetrics().getAllocatedVirtualCores());
 stats.setPendingVCores(getMetrics().getPendingVirtualCores());
 stats.setReservedVCores(getMetrics().getReservedVirtualCores());
 stats.setAllocatedContainers(getMetrics().getAllocatedContainers());
 stats.setPendingContainers(getMetrics().getPendingContainers());
 stats.setReservedContainers(getMetrics().getReservedContainers());
 return stats;
}

org.apache.hadoop.yarn.server.resourcemanager.scheduler.fairFSQueueMetricsgetReservedMB

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Path (java.nio.file)
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JComboBox (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Best IntelliJ plugins
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