From f34744603ee93e082e7ba148df1400af5ac7c30c 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 --- .../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 e05327e4b3..dfc881ae5c 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 @@ -2886,7 +2886,7 @@ public FileStatus[] listStatus(Path f) throws FileNotFoundException, IOException // 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]);