| Package | Description |
|---|---|
| org.apache.hadoop.mapred.gridmix.emulators.resourceusage |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
ResourceUsageEmulatorPlugin |
Each resource to be emulated should have a corresponding implementation
class that implements
ResourceUsageEmulatorPlugin. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
CumulativeCpuUsageEmulatorPlugin |
A
ResourceUsageEmulatorPlugin that emulates the cumulative CPU
usage by performing certain CPU intensive operations. |
class |
ResourceUsageMatcher |
This is the driver class for managing all the resource usage emulators.
|
class |
TotalHeapUsageEmulatorPlugin |
A
ResourceUsageEmulatorPlugin that emulates the total heap
usage by loading the JVM heap memory. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ResourceUsageMatcher.configure(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.util.ResourceCalculatorPlugin monitor,
org.apache.hadoop.tools.rumen.ResourceUsageMetrics metrics,
Progressive progress) |
Configure the
ResourceUsageMatcher to load the configured plugins
and initialize them. |
void |
CumulativeCpuUsageEmulatorPlugin.initialize(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.tools.rumen.ResourceUsageMetrics metrics,
org.apache.hadoop.yarn.util.ResourceCalculatorPlugin monitor,
Progressive progress) |
|
void |
ResourceUsageEmulatorPlugin.initialize(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.tools.rumen.ResourceUsageMetrics metrics,
org.apache.hadoop.yarn.util.ResourceCalculatorPlugin monitor,
Progressive progress) |
Initialize the plugin.
|
void |
TotalHeapUsageEmulatorPlugin.initialize(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.tools.rumen.ResourceUsageMetrics metrics,
org.apache.hadoop.yarn.util.ResourceCalculatorPlugin monitor,
Progressive progress) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.