HADOOP-12771. Fix typo in JvmPauseMonitor#getNumGcWarnThreadholdExceeded. Contributed by Xiaobing Zhou.

This commit is contained in:
Xiaoyu Yao 2016-02-05 10:37:07 -08:00
parent 4e5e1c0f99
commit 5d00067ca7
3 changed files with 5 additions and 2 deletions

View File

@ -1664,6 +1664,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-12735. core-default.xml misspells
hadoop.workaround.non.threadsafe.getpwuid (Ray Chiang via cmccabe)
HADOOP-12771. Fix typo in JvmPauseMonitor#getNumGcWarnThreadholdExceeded.
(Xiaobing Zhou via xyao)
Release 2.7.3 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -140,7 +140,7 @@ public class JvmMetrics implements MetricsSource {
if (pauseMonitor != null) {
rb.addCounter(GcNumWarnThresholdExceeded,
pauseMonitor.getNumGcWarnThreadholdExceeded());
pauseMonitor.getNumGcWarnThresholdExceeded());
rb.addCounter(GcNumInfoThresholdExceeded,
pauseMonitor.getNumGcInfoThresholdExceeded());
rb.addCounter(GcTotalExtraSleepTime,

View File

@ -106,7 +106,7 @@ public class JvmPauseMonitor extends AbstractService {
return monitorThread != null;
}
public long getNumGcWarnThreadholdExceeded() {
public long getNumGcWarnThresholdExceeded() {
return numGcWarnThresholdExceeded;
}