accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [accumulo] ctubbsii commented on a change in pull request #1259: update du command to use hdfs iterator
Date Wed, 10 Jul 2019 21:06:56 GMT
ctubbsii commented on a change in pull request #1259: update du command to use hdfs iterator
URL: https://github.com/apache/accumulo/pull/1259#discussion_r302252881
 
 

 ##########
 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:
   Does this handle globbing?

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

Mime
View raw message