adoroszlai commented on code in PR #4805:
URL: https://github.com/apache/ozone/pull/4805#discussion_r1211570686


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java:
##########
@@ -294,7 +291,7 @@ public ReentrantReadWriteLock getTableLock(String 
tableName) {
   private final long omEpoch;
 
   private Map<String, Table> tableMap = new HashMap<>();
-  private List<TableCacheMetrics> tableCacheMetrics = new LinkedList<>();
+  private Map<String, TableCacheMetrics> tableCacheMetricsMap = new 
HashMap<>();

Review Comment:
   ```suggestion
     private final Map<String, TableCacheMetrics> tableCacheMetricsMap =
         new HashMap<>();
   ```



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to