Revert "Amend HBASE-15728 Add Per-Table metrics back"

This reverts commit 72f29f48ea.
This commit is contained in:
Andrew Purtell 2018-09-04 13:12:17 -07:00
parent 72f29f48ea
commit dfb1af4892
1 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ public class MetricsRegionServer {
serverSource.updateFlushMemstoreSize(memstoreSize);
serverSource.updateFlushOutputSize(fileSize);
if (metricsTable != null && table != null) {
if (table != null) {
metricsTable.updateFlushTime(table, memstoreSize);
metricsTable.updateFlushMemstoreSize(table, memstoreSize);
metricsTable.updateFlushOutputSize(table, fileSize);
@ -218,7 +218,7 @@ public class MetricsRegionServer {
serverSource.updateCompactionInputSize(isMajor, inputBytes);
serverSource.updateCompactionOutputSize(isMajor, outputBytes);
if (metricsTable != null && table != null) {
if (table != null) {
metricsTable.updateCompactionTime(table, isMajor, t);
metricsTable.updateCompactionInputFileCount(table, isMajor, inputFileCount);
metricsTable.updateCompactionOutputFileCount(table, isMajor, outputFileCount);