bgaborg commented on a change in pull request #1646: HADOOP-15430. hadoop fs
-mkdir -p path-ending-with-slash/ fails with s3guard
URL: https://github.com/apache/hadoop/pull/1646#discussion_r349140724
##########
File path:
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/s3guard/S3GuardTool.java
##########
@@ -1003,7 +1003,7 @@ private void compareDir(FileStatus msDir, FileStatus
s3Dir,
* @throws IOException on I/O errors.
*/
private void compareRoot(Path path, PrintStream out) throws IOException {
- Path qualified = getFilesystem().qualify(path);
Review comment:
We don't need to change this. qualify() will call makeQualified.
----------------------------------------------------------------
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]