[
https://issues.apache.org/jira/browse/HADOOP-13858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832898#comment-15832898
]
Hudson commented on HADOOP-13858:
---------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11157 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/11157/])
HADOOP-13858. TestGridmixMemoryEmulation and TestResourceUsageEmulators
(aajisaka: rev 98c35bb1a4faf794060612bee7494d501701b698)
* (edit)
hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/DummyResourceCalculatorPlugin.java
> TestGridmixMemoryEmulation and TestResourceUsageEmulators fail 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
> Assignee: Akira Ajisaka
> Fix For: 2.9.0, 3.0.0-alpha3
>
> Attachments: HADOOP-13858.01.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]