From 6c399a88e9b5ef8f822a9bd469dbf9fdb3141e38 Mon Sep 17 00:00:00 2001 From: Arpit Agarwal Date: Mon, 20 Mar 2017 11:29:23 -0700 Subject: [PATCH] HADOOP-14059. typo in s3a rename(self, subdir) error message. Contributed by Steve Loughran. --- .../src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java index 1786e68a53a..e0ff5a884ba 100644 --- a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java +++ b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java @@ -813,7 +813,7 @@ public class S3AFileSystem extends FileSystem { //Verify dest is not a child of the source directory if (dstKey.startsWith(srcKey)) { throw new RenameFailedException(srcKey, dstKey, - "cannot rename a directory to a subdirectory o fitself "); + "cannot rename a directory to a subdirectory of itself "); } List keysToDelete = new ArrayList<>();