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)
This commit is contained in:
Chris Douglas 2018-06-17 23:12:18 -07:00
parent 59686179ae
commit 4789b8e9c9

View File

@ -2894,7 +2894,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]);