smengcl commented on a change in pull request #1286:
URL: https://github.com/apache/hadoop-ozone/pull/1286#discussion_r467197266
##########
File path:
hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneFileSystem.java
##########
@@ -255,9 +258,11 @@ public FSDataOutputStream append(Path f, int bufferSize,
}
@Override
- boolean processKeyPath(String keyPath) throws IOException {
- String newPath = dstPath.concat(keyPath.substring(srcPath.length()));
- adapterImpl.rename(this.bucket, keyPath, newPath);
+ boolean processKeyPath(List<String> keyPathList) throws IOException {
+ for (String keyPath : keyPathList) {
+ String newPath = dstPath.concat(keyPath.substring(srcPath.length()));
+ adapterImpl.rename(this.bucket, keyPath, newPath);
Review comment:
Filed HDDS-4090
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]