HADOOP-14059. typo in s3a rename(self, subdir) error message. Contributed by Steve Loughran.

This commit is contained in:
Arpit Agarwal 2017-03-20 11:29:23 -07:00
parent 35034653d0
commit 6c399a88e9
1 changed files with 1 additions and 1 deletions

View File

@ -813,7 +813,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<DeleteObjectsRequest.KeyVersion> keysToDelete = new ArrayList<>();