HBASE-20917 MetaTableMetrics#stop references uninitialized requestsMap for non-meta region - addendum
This commit is contained in:
parent
d159b1f8bb
commit
7db116ae1b
|
@ -197,9 +197,8 @@ public class MetaTableMetrics implements RegionCoprocessor {
|
|||
}
|
||||
|
||||
private boolean isMetaTableOp(ObserverContext<RegionCoprocessorEnvironment> e) {
|
||||
return TableName.META_TABLE_NAME.toString()
|
||||
.equals(new String(e.getEnvironment().getRegionInfo().getTable().getName(),
|
||||
StandardCharsets.UTF_8));
|
||||
return TableName.META_TABLE_NAME
|
||||
.equals(e.getEnvironment().getRegionInfo().getTable());
|
||||
}
|
||||
|
||||
private void clientMetricRegisterAndMark(ObserverContext<RegionCoprocessorEnvironment> e) {
|
||||
|
|
Loading…
Reference in New Issue