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-12735. core-default.xml misspells
hadoop.workaround.non.threadsafe.getpwuid (Ray Chiang via cmccabe) 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 Release 2.7.3 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -140,7 +140,7 @@ private void getGcUsage(MetricsRecordBuilder rb) {
if (pauseMonitor != null) { if (pauseMonitor != null) {
rb.addCounter(GcNumWarnThresholdExceeded, rb.addCounter(GcNumWarnThresholdExceeded,
pauseMonitor.getNumGcWarnThreadholdExceeded()); pauseMonitor.getNumGcWarnThresholdExceeded());
rb.addCounter(GcNumInfoThresholdExceeded, rb.addCounter(GcNumInfoThresholdExceeded,
pauseMonitor.getNumGcInfoThresholdExceeded()); pauseMonitor.getNumGcInfoThresholdExceeded());
rb.addCounter(GcTotalExtraSleepTime, rb.addCounter(GcTotalExtraSleepTime,

View File

@ -106,7 +106,7 @@ public boolean isStarted() {
return monitorThread != null; return monitorThread != null;
} }
public long getNumGcWarnThreadholdExceeded() { public long getNumGcWarnThresholdExceeded() {
return numGcWarnThresholdExceeded; return numGcWarnThresholdExceeded;
} }