smengcl commented on a change in pull request #547: HDDS-2928. Implement
ofs://: listStatus
URL: https://github.com/apache/hadoop-ozone/pull/547#discussion_r382684259
##########
File path:
hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneClientAdapterImpl.java
##########
@@ -439,11 +440,15 @@ public FileStatusAdapter getFileStatus(String path, URI
uri,
incrementCounter(Statistic.OBJECTS_QUERY);
OFSPath ofsPath = new OFSPath(path);
String key = ofsPath.getKeyName();
- // getFileStatus is called for root
+ // path is root
if (ofsPath.getVolumeName().isEmpty() &&
ofsPath.getBucketName().isEmpty()) {
Review comment:
Done in f003b87c307b5b3aae91a5fe25d3b81bc945ec3d
----------------------------------------------------------------
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]