hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj K (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (YARN-3617) Fix unused variable to get CPU frequency on Windows systems
Date Thu, 14 May 2015 16:56:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-3617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Devaraj K reopened YARN-3617:
-----------------------------

 This issue doesn't seem to be fixed/committed, reopening it.

[~xafero], Please note that committers will review and mark the issue as fixed once they commit
the changes to repository.


> Fix unused variable to get CPU frequency on Windows systems
> -----------------------------------------------------------
>
>                 Key: YARN-3617
>                 URL: https://issues.apache.org/jira/browse/YARN-3617
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 2.7.0
>         Environment: Windows 7 x64 SP1
>            Reporter: Georg Berendt
>            Assignee: J.Andreina
>            Priority: Minor
>         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