HADOOP-13858. TestGridmixMemoryEmulation and TestResourceUsageEmulators fail on the environment other than Linux or Windows.
This commit is contained in:
parent
ccf2d66244
commit
98c35bb1a4
|
@ -31,6 +31,10 @@ import org.apache.hadoop.yarn.util.ResourceCalculatorPlugin;
|
||||||
@InterfaceAudience.Private
|
@InterfaceAudience.Private
|
||||||
public class DummyResourceCalculatorPlugin extends ResourceCalculatorPlugin {
|
public class DummyResourceCalculatorPlugin extends ResourceCalculatorPlugin {
|
||||||
|
|
||||||
|
DummyResourceCalculatorPlugin() {
|
||||||
|
super(null);
|
||||||
|
}
|
||||||
|
|
||||||
/** max vmem on the TT */
|
/** max vmem on the TT */
|
||||||
public static final String MAXVMEM_TESTING_PROPERTY =
|
public static final String MAXVMEM_TESTING_PROPERTY =
|
||||||
"mapred.tasktracker.maxvmem.testing";
|
"mapred.tasktracker.maxvmem.testing";
|
||||||
|
|
Loading…
Reference in New Issue