kgeisz commented on code in PR #7474:
URL: https://github.com/apache/hbase/pull/7474#discussion_r2608770585
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java:
##########
@@ -3117,13 +3117,11 @@ public ClusterMetrics
getClusterMetricsWithoutCoprocessor(EnumSet<Option> option
try {
Map<TableName, RegionStatesCount> tableRegionStatesCountMap =
new HashMap<>();
Map<String, TableDescriptor> tableDescriptorMap =
getTableDescriptors().getAll();
Review Comment:
Nice find! This is much cleaner.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]