HADOOP-14059. typo in s3a rename(self, subdir) error message. Contributed by Steve Loughran.
This commit is contained in:
parent
e2cabb4d21
commit
90e3283a0a
|
@ -812,7 +812,7 @@ public class S3AFileSystem extends FileSystem {
|
||||||
//Verify dest is not a child of the source directory
|
//Verify dest is not a child of the source directory
|
||||||
if (dstKey.startsWith(srcKey)) {
|
if (dstKey.startsWith(srcKey)) {
|
||||||
throw new RenameFailedException(srcKey, dstKey,
|
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<>();
|
List<DeleteObjectsRequest.KeyVersion> keysToDelete = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in New Issue