HADOOP-15533. Make WASB listStatus messages consistent. Contributed by Esfandiar Manii
(cherry picked from commit f34744603e
)
This commit is contained in:
parent
40652e77e0
commit
7e655b642d
|
@ -2886,7 +2886,7 @@ public class NativeAzureFileSystem extends FileSystem {
|
||||||
// There is no metadata found for the path.
|
// There is no metadata found for the path.
|
||||||
LOG.debug("Did not find any metadata for path: {}", key);
|
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]);
|
return status.toArray(new FileStatus[0]);
|
||||||
|
|
Loading…
Reference in New Issue