Skip to content

Commit e5d0c97

Browse files
committed
correcting exception msg
1 parent 00b426f commit e5d0c97

File tree

1 file changed

+1
-1
lines changed
  • hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services

1 file changed

+1
-1
lines changed

hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ public AbfsClientRenameResult renamePath(
617617

618618
if(op.getResult().getStorageErrorCode()
619619
.equals(UNAUTHORIZED_BLOB_OVERWRITE.getErrorCode())){
620-
throw new FileAlreadyExistsException("File already exists or request not authorized for blob overwrites.");
620+
throw new FileAlreadyExistsException("File already exists.");
621621
}
622622

623623
// ref: HADOOP-18242. Rename failure occurring due to a rare case of

0 commit comments

Comments
 (0)