HADOOP-12771. Fix typo in JvmPauseMonitor#getNumGcWarnThreadholdExceeded. Contributed by Xiaobing Zhou.
(cherry picked from commit 5d00067ca7
)
This commit is contained in:
parent
117397b89f
commit
e0a356fee3
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue