From 90e3283a0a0b9e6a5f82ea3e009b3c69ed8e8569 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 c26ba60573f..209ead7b854 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 @@ -812,7 +812,7 @@ private boolean innerRename(Path src, Path dst) //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<>();