aryangupta1998 commented on a change in pull request #2561:
URL: https://github.com/apache/ozone/pull/2561#discussion_r716476650



##########
File path: 
hadoop-ozone/interface-storage/src/main/java/org/apache/hadoop/ozone/om/OMMetadataManager.java
##########
@@ -311,7 +312,14 @@ boolean recoverTrash(String volumeName, String bucketName,
    *
    * @return Table.
    */
-  Table<String, OmKeyInfo> getOpenKeyTable();
+  //Table<String, OmKeyInfo> getOpenKeyTable();

Review comment:
       Done

##########
File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyManagerImpl.java
##########
@@ -1492,4 +1493,8 @@ private RequestContext currentUserReads() throws 
IOException {
         .setAclType(ACLIdentityType.USER)
         .build();
   }
+
+  public BucketLayout getBucketLayout() {

Review comment:
       Done

##########
File path: 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java
##########
@@ -300,12 +301,11 @@ protected OmMetadataManagerImpl() {
     return deletedDirTable;
   }
 
-  @Override
-  public Table<String, OmKeyInfo> getOpenKeyTable() {
-    if (OzoneManagerRatisUtils.isBucketFSOptimized()) {
-      return openFileTable;
+  public Table getOpenKeyTable(BucketLayout bucketLayout) {
+    if (bucketLayout.equals(BucketLayout.OBJECT_STORE)) {

Review comment:
       Done




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