HADOOP-15533. Make WASB listStatus messages consistent. Contributed by Esfandiar Manii
(cherry picked from commitf34744603e
) (cherry picked from commit7e655b642d
) (cherry picked from commitd1dcc39222
)
This commit is contained in:
parent
59686179ae
commit
4789b8e9c9
|
@ -2894,7 +2894,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