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