frontlakexp commented on a change in pull request #3587:
URL: https://github.com/apache/hadoop/pull/3587#discussion_r738284009



##########
File path: 
hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/AliyunOSSFileSystem.java
##########
@@ -271,14 +270,15 @@ public FileStatus getFileStatus(Path path) throws 
IOException {
       meta = store.getObjectMetadata(key);
     }
     if (meta == null) {
-      ObjectListing listing = store.listObjects(key, 1, null, false);
+      OSSListRequest listRequest = store.createListObjectsRequest(key,

Review comment:
       It looks we can do more optimization here for versioning/non-versioning 
bucket; But the change here should be good enough for now.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to