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 19:49:06 UTC

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

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

 ##########
 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.
+   *                  Notice that startFrom can be a non-existent entry, then the list request response contains
+   *                  all entries after this non-existent entry in lexical order.
+   * @return the entries in the path in lexical order from "startFrom".
+   * */
+  public FileStatus[] listStatus(final Path path, final String startFrom) throws IOException {
 
 Review comment:
   this doesn't need to be a public API

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