HADOOP-13858. TestGridmixMemoryEmulation and TestResourceUsageEmulators fail on the environment other than Linux or Windows.

This commit is contained in:
Akira Ajisaka 2017-01-21 17:31:20 +09:00
parent ccf2d66244
commit 98c35bb1a4
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ import org.apache.hadoop.yarn.util.ResourceCalculatorPlugin;
@InterfaceAudience.Private
public class DummyResourceCalculatorPlugin extends ResourceCalculatorPlugin {
DummyResourceCalculatorPlugin() {
super(null);
}
/** max vmem on the TT */
public static final String MAXVMEM_TESTING_PROPERTY =
"mapred.tasktracker.maxvmem.testing";