HADOOP-15533. Make WASB listStatus messages consistent. Contributed by Esfandiar Manii

This commit is contained in:
Chris Douglas 2018-06-17 23:12:18 -07:00
parent 980031bb04
commit f34744603e

View File

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