HADOOP-12771. Fix typo in JvmPauseMonitor#getNumGcWarnThreadholdExceeded. Contributed by Xiaobing Zhou.
This commit is contained in:
parent
4e5e1c0f99
commit
5d00067ca7
@ -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
|
||||||
|
@ -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,
|
||||||
|
@ -106,7 +106,7 @@ public boolean isStarted() {
|
|||||||
return monitorThread != null;
|
return monitorThread != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getNumGcWarnThreadholdExceeded() {
|
public long getNumGcWarnThresholdExceeded() {
|
||||||
return numGcWarnThresholdExceeded;
|
return numGcWarnThresholdExceeded;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user