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

(cherry picked from commit 5d00067ca7)
This commit is contained in:
Xiaoyu Yao 2016-02-05 10:37:07 -08:00
parent 117397b89f
commit e0a356fee3
3 changed files with 5 additions and 2 deletions

View File

@ -1025,6 +1025,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 @@ public class JvmMetrics implements MetricsSource {
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 class JvmPauseMonitor extends AbstractService {
return monitorThread != null; return monitorThread != null;
} }
public long getNumGcWarnThreadholdExceeded() { public long getNumGcWarnThresholdExceeded() {
return numGcWarnThresholdExceeded; return numGcWarnThresholdExceeded;
} }