From 4789b8e9c95a29e2d8277e83e98dfcde7ece333f Mon Sep 17 00:00:00 2001 From: Chris Douglas Date: Sun, 17 Jun 2018 23:12:18 -0700 Subject: [PATCH] HADOOP-15533. Make WASB listStatus messages consistent. Contributed by Esfandiar Manii (cherry picked from commit f34744603ee93e082e7ba148df1400af5ac7c30c) (cherry picked from commit 7e655b642d0ed5b85e0e8c212e004d067318ed4c) (cherry picked from commit d1dcc39222b6d1d8ba10f38a3f2fb69e4d6548b3) --- .../java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java index 2cda43cd130..08da8f12049 100644 --- a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java +++ b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java @@ -2894,7 +2894,7 @@ public class NativeAzureFileSystem extends FileSystem { // There is no metadata found for the path. LOG.debug("Did not find any metadata for path: {}", key); - throw new FileNotFoundException("File" + f + " does not exist."); + throw new FileNotFoundException(f + " is not found"); } return status.toArray(new FileStatus[0]);