navinko commented on code in PR #3711:
URL: https://github.com/apache/ozone/pull/3711#discussion_r965075211


##########
hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicOzoneFileSystem.java:
##########
@@ -864,6 +900,107 @@ public RemoteIterator<LocatedFileStatus> 
listLocatedStatus(Path f)
     return super.listLocatedStatus(f);
   }
 
+  @Override
+  public RemoteIterator<FileStatus> listStatusIterator(Path f)
+      throws IOException {
+    return new OzoneFileStatusIterator<>(f);
+  }
+
+  /**
+   * A private class implementation for iterating list of file status.
+   *
+   * @param <T> the type of the file status
+   */
+  private final class  OzoneFileStatusIterator<T extends FileStatus>

Review Comment:
   addressed



##########
hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicOzoneFileSystem.java:
##########
@@ -635,6 +635,42 @@ workingDir, getUsername())
     return statuses.toArray(new FileStatus[0]);
   }
 
+  /**
+   * Get all the file status for input path and startPath.
+   *
+   * @param f
+   * @param startPath
+   * @return
+   * @throws IOException
+   */
+  public FileStatusListing listFileStatus(Path f, String startPath)

Review Comment:
   addressed



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