Package | Description |
---|---|
org.apache.hadoop.mapred.gridmix.emulators.resourceusage | |
org.apache.hadoop.yarn.util |
Modifier and Type | Method and Description |
---|---|
void |
CumulativeCpuUsageEmulatorPlugin.CpuUsageEmulatorCore.calibrate(ResourceCalculatorPlugin monitor,
long totalCpuUsage)
Allows the core to calibrate itself.
|
void |
CumulativeCpuUsageEmulatorPlugin.DefaultCpuUsageEmulator.calibrate(ResourceCalculatorPlugin monitor,
long totalCpuUsage)
This will calibrate the algorithm such that a single invocation of
CumulativeCpuUsageEmulatorPlugin.DefaultCpuUsageEmulator.compute() emulates roughly 1% of the total desired resource
usage value. |
void |
ResourceUsageMatcher.configure(Configuration conf,
ResourceCalculatorPlugin monitor,
ResourceUsageMetrics metrics,
Progressive progress)
Configure the
ResourceUsageMatcher to load the configured plugins
and initialize them. |
void |
TotalHeapUsageEmulatorPlugin.initialize(Configuration conf,
ResourceUsageMetrics metrics,
ResourceCalculatorPlugin monitor,
Progressive progress) |
void |
ResourceUsageEmulatorPlugin.initialize(Configuration conf,
ResourceUsageMetrics metrics,
ResourceCalculatorPlugin monitor,
Progressive progress)
Initialize the plugin.
|
void |
CumulativeCpuUsageEmulatorPlugin.initialize(Configuration conf,
ResourceUsageMetrics metrics,
ResourceCalculatorPlugin monitor,
Progressive progress) |
void |
TotalHeapUsageEmulatorPlugin.HeapUsageEmulatorCore.initialize(ResourceCalculatorPlugin monitor,
long totalHeapUsageInMB)
Initialize the core.
|
void |
TotalHeapUsageEmulatorPlugin.DefaultHeapUsageEmulator.initialize(ResourceCalculatorPlugin monitor,
long totalHeapUsageInMB)
This will initialize the core and check if the core can emulate the
desired target on the underlying hardware.
|
Modifier and Type | Class and Description |
---|---|
class |
LinuxResourceCalculatorPlugin
Plugin to calculate resource information on Linux systems.
|
class |
WindowsResourceCalculatorPlugin |
Modifier and Type | Method and Description |
---|---|
static ResourceCalculatorPlugin |
ResourceCalculatorPlugin.getResourceCalculatorPlugin(Class<? extends ResourceCalculatorPlugin> clazz,
Configuration conf)
Create the ResourceCalculatorPlugin from the class name and configure it.
|
Modifier and Type | Method and Description |
---|---|
static ResourceCalculatorPlugin |
ResourceCalculatorPlugin.getResourceCalculatorPlugin(Class<? extends ResourceCalculatorPlugin> clazz,
Configuration conf)
Create the ResourceCalculatorPlugin from the class name and configure it.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.