You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/05/02 23:37:08 UTC

[GitHub] [hadoop] DadanielZ commented on a change in pull request #768: HADOOP-16269. ABFS: add listFileStatus with StartFrom.

DadanielZ commented on a change in pull request #768: HADOOP-16269. ABFS: add listFileStatus with StartFrom.
URL: https://github.com/apache/hadoop/pull/768#discussion_r280631664
 
 

 ##########
 File path: hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java
 ##########
 @@ -522,15 +537,38 @@ public FileStatus getFileStatus(final Path path) throws IOException {
             eTag);
   }
 
+  /**
+   * @param path The list path.
+   * @return the entries in the path.
+   * */
   public FileStatus[] listStatus(final Path path) throws IOException {
-    LOG.debug("listStatus filesystem: {} path: {}",
+    return listStatus(path, null);
+  }
+
+  /**
+   * @param path Path the list path.
+   * @param startFrom the entry name that list results should start with.
 
 Review comment:
   Yes, the former one is correct. `startFrom` is the name of an entry,  not a full path.
   I will add an example here.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org