From e5d0c97fb724d2e09b685d56f007e22675c03748 Mon Sep 17 00:00:00 2001 From: Manika Joshi Date: Wed, 22 Jan 2025 21:02:24 -0800 Subject: [PATCH] correcting exception msg --- .../org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java index 5865ee3f5b6ee..b374d79567674 100644 --- a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java +++ b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsDfsClient.java @@ -617,7 +617,7 @@ public AbfsClientRenameResult renamePath( if(op.getResult().getStorageErrorCode() .equals(UNAUTHORIZED_BLOB_OVERWRITE.getErrorCode())){ - throw new FileAlreadyExistsException("File already exists or request not authorized for blob overwrites."); + throw new FileAlreadyExistsException("File already exists."); } // ref: HADOOP-18242. Rename failure occurring due to a rare case of