YARN-3617. Fix WindowsResourceCalculatorPlugin.getCpuFrequency() returning
always -1. Contributed by J.Andreina.
This commit is contained in:
parent
5dbc8c9cb0
commit
318d2cde7c
@ -530,6 +530,9 @@ Release 2.8.0 - UNRELEASED
|
|||||||
YARN-3714. AM proxy filter can not get RM webapp address from
|
YARN-3714. AM proxy filter can not get RM webapp address from
|
||||||
yarn.resourcemanager.hostname.rm-id. (Masatake Iwasaki via xgong)
|
yarn.resourcemanager.hostname.rm-id. (Masatake Iwasaki via xgong)
|
||||||
|
|
||||||
|
YARN-3617. Fix WindowsResourceCalculatorPlugin.getCpuFrequency()
|
||||||
|
returning always -1. (J.Andreina via devaraj)
|
||||||
|
|
||||||
Release 2.7.1 - UNRELEASED
|
Release 2.7.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -157,7 +157,7 @@ public int getNumCores() {
|
|||||||
@Override
|
@Override
|
||||||
public long getCpuFrequency() {
|
public long getCpuFrequency() {
|
||||||
refreshIfNeeded();
|
refreshIfNeeded();
|
||||||
return -1;
|
return cpuFrequencyKhz;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
Loading…
Reference in New Issue
Block a user