Affects Version/s: None
Fix Version/s: 0.21.0
We seem to return one generic message when either a namespace or diskspace quota is exceeded. We should be clearer. The error should state which quota is exceeded and only report statistics on the exceeded quota.
Further namespace quota is probably not clear to most users. We should probably have explanatory text such as: "you have exceeded the maximum allowed number of files". Maybe we should even rename the quota to number of files quota?
Finally, the error below would be clearer if it read:
Quota exceeded for directory '/user/ciyaliao'.
By not using the word "directory" it is not clear in this case if the issue is with a user or a directory.
------ AN EXAMPLE -----
> I encountered an error:
> put: org.apache.hadoop.hdfs.protocol.QuotaExceededException: The quota of
> /user/x is exceeded: namespace quota=200000 file count=200001,
> diskspace quota=-1 diskspace=-44221467605496
> It apparently complains that dfs quota is exceeded. But I only use around
> 200GB disk space. From the error message, what kind of quota did I actually
> exceed? How do I check my usage of this type of quota?