You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2016/12/02 17:48:58 UTC

[jira] [Created] (HADOOP-13858) Skip some tests in TestGridmixMemoryEmulation and TestResourceUsageEmulators on the environment other than Linux or Windows

Akira Ajisaka created HADOOP-13858:
--------------------------------------

             Summary: Skip some tests in TestGridmixMemoryEmulation and TestResourceUsageEmulators on the environment other than Linux or Windows
                 Key: HADOOP-13858
                 URL: https://issues.apache.org/jira/browse/HADOOP-13858
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
         Environment: other than Linux or Windows, such as Mac
            Reporter: Akira Ajisaka


TestGridmixMemoryEmulation.testTotalHeapUsageEmulatorPlugin fails on Mac.
{noformat}
Running org.apache.hadoop.mapred.gridmix.TestGridmixMemoryEmulation
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.896 sec <<< FAILURE! - in org.apache.hadoop.mapred.gridmix.TestGridmixMemoryEmulation
testTotalHeapUsageEmulatorPlugin(org.apache.hadoop.mapred.gridmix.TestGridmixMemoryEmulation)  Time elapsed: 0.009 sec  <<< ERROR!
java.lang.UnsupportedOperationException: Could not determine OS
	at org.apache.hadoop.util.SysInfo.newInstance(SysInfo.java:43)
	at org.apache.hadoop.yarn.util.ResourceCalculatorPlugin.<init>(ResourceCalculatorPlugin.java:42)
	at org.apache.hadoop.mapred.gridmix.DummyResourceCalculatorPlugin.<init>(DummyResourceCalculatorPlugin.java:32)
	at org.apache.hadoop.mapred.gridmix.TestGridmixMemoryEmulation.testTotalHeapUsageEmulatorPlugin(TestGridmixMemoryEmulation.java:131)
{noformat}

The following tests fail on Mac as well:
* TestResourceUsageEmulators.testCumulativeCpuUsageEmulatorPlugin
* TestResourceUsageEmulators.testCpuUsageEmulator
* TestResourceUsageEmulators.testResourceUsageMatcherRunner



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org