You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/12/16 17:15:58 UTC

[GitHub] [accumulo] ctubbsii commented on a change in pull request #1259: update du command to use hdfs iterator

ctubbsii commented on a change in pull request #1259:
URL: https://github.com/apache/accumulo/pull/1259#discussion_r770753481



##########
File path: server/base/src/main/java/org/apache/accumulo/server/fs/VolumeManagerImpl.java
##########
@@ -277,6 +279,12 @@ public Volume getVolumeByPath(Path path) {
     return volumesByName;
   }
 
+  @Override
+  public RemoteIterator<LocatedFileStatus> listStatus(final Path path, final boolean recursive)
+      throws IOException {
+    return getVolumeByPath(path).getFileSystem().listFiles(path, recursive);

Review comment:
       If it doesn't support globbing, then the code in this PR won't work as intended.




-- 
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: notifications-unsubscribe@accumulo.apache.org

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