xiaoyuyao commented on a change in pull request #547: HDDS-2928. Implement
ofs://: listStatus
URL: https://github.com/apache/hadoop-ozone/pull/547#discussion_r382227634
##########
File path:
hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneClientAdapterImpl.java
##########
@@ -511,10 +567,22 @@ public void makeQualified(FileStatus status, URI uri,
Path path,
incrementCounter(Statistic.OBJECTS_LIST);
OFSPath ofsPath = new OFSPath(pathStr);
- // TODO: Subject to change in HDDS-2928.
+
+ // listStatus root
+ if (ofsPath.getVolumeName().isEmpty()
Review comment:
Can we add OFSPath helpers as suggested above?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]