hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3617) Fix WindowsResourceCalculatorPlugin.getCpuFrequency() returning always -1
Date Wed, 17 Jun 2015 18:15:13 GMT

    [ https://issues.apache.org/jira/browse/YARN-3617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14590239#comment-14590239
] 

Hudson commented on YARN-3617:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #229 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/229/])
YARN-3617. Fix WindowsResourceCalculatorPlugin.getCpuFrequency() returning (devaraj: rev 318d2cde7cb5c05a5f87c4ee967446bb60d28ae4)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/WindowsResourceCalculatorPlugin.java
* hadoop-yarn-project/CHANGES.txt


> Fix WindowsResourceCalculatorPlugin.getCpuFrequency() returning always -1
> -------------------------------------------------------------------------
>
>                 Key: YARN-3617
>                 URL: https://issues.apache.org/jira/browse/YARN-3617
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>         Environment: Windows 7 x64 SP1
>            Reporter: Georg Berendt
>            Assignee: J.Andreina
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: YARN-3617.1.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In the class 'WindowsResourceCalculatorPlugin.java' of the YARN project, there is an
unused variable for CPU frequency.
> " /** {@inheritDoc} */
>   @Override
>   public long getCpuFrequency() {
>     refreshIfNeeded();
>     return -1;       
>   }"
> Please change '-1' to use 'cpuFrequencyKhz'.
> org/apache/hadoop/yarn/util/WindowsResourceCalculatorPlugin.java



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

Mime
View raw message