Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
If the directory is nonexistent, getQuotaUsage rpc call will run into
NullPointerException throwed by
FSDirStatAndListingOp.getQuotaUsageInt() .
I think FSDirStatAndListingOp.getQuotaUsageInt() should throw FileNotFoundException when the directory is nonexistent.
Attachments
Attachments
Issue Links
- duplicates
-
HDFS-13816 dfs.getQuotaUsage() throws NPE on non-existent dir instead of FileNotFoundException
- Resolved