HADOOP-15533. Make WASB listStatus messages consistent. Contributed by Esfandiar Manii
This commit is contained in:
parent
980031bb04
commit
f34744603e
|
@ -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