yihua commented on code in PR #11047:
URL: https://github.com/apache/hudi/pull/11047#discussion_r1569884258


##########
hudi-hadoop-common/src/main/java/org/apache/hudi/storage/hadoop/HoodieHadoopStorage.java:
##########
@@ -94,7 +94,7 @@ public boolean createDirectory(StoragePath path) throws 
IOException {
   }
 
   @Override
-  public List<StoragePathInfo> listDirectEntries(StoragePath path) throws 
IOException {
+  public List<StoragePathInfo> listDirectory(StoragePath path) throws 
IOException {

Review Comment:
   The `FileSystem#listStatus` API: 
https://github.com/apache/hadoop/blob/branch-2.10.2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java#L1738
   ```
   
   /**
      * List the statuses of the files/directories in the given path if the 
path is
      * a directory.
      * <p>
      * Does not guarantee to return the List of files/directories status in a
      * sorted order.
      * @param f given path
      * @return the statuses of the files/directories in the given patch
      * @throws FileNotFoundException when the path does not exist
      * @throws IOException see specific implementation
      */
     public abstract FileStatus[] listStatus(Path f) throws 
FileNotFoundException,
                                                            IOException;
   ```
   



-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to