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



##########
File path: 
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/OzoneBucket.java
##########
@@ -563,7 +583,7 @@ public long getUsedNamespace() {
   public Iterator<? extends OzoneKey> listKeys(String keyPrefix,
       String prevKey) throws IOException {
 
-    if(OzoneFSUtils.isFSOptimizedBucket(getMetadata())){
+    if(OzoneFSUtils.isFSOptimizedBucket(bucketType)){

Review comment:
       @mukul1987, Now we checking using 
bucketType.equals(BucketType.FILE_SYSTEM_OPTIMIZED).
   @xiaoyuyao Implemented KeyIteratorFactory that returns KeyIteratorWithFSO, 
KeyIterator.




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