[
https://issues.apache.org/jira/browse/HADOOP-5862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713686#action_12713686
]
Boris Shkolnik commented on HADOOP-5862:
----------------------------------------
Suggested wording for the namespace quota:
The NameSpace quota (maximum allowed number of files) of directory /test is
exceeded: quota=2 file count=3
For disk quota:
The DiskSpace quota of /test is exceeded: quota=45000 diskspace count=70656
I will also modify TestQuota and TestHDFSCLI tests .
> Namespace quota exceeded message unclear
> ----------------------------------------
>
> Key: HADOOP-5862
> URL: https://issues.apache.org/jira/browse/HADOOP-5862
> Project: Hadoop Core
> Issue Type: Bug
> Reporter: eric baldeschwieler
> Assignee: Boris Shkolnik
>
> 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 -----
> > Hi,
> >
> > 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?
> >
> > Thanks,
> > x
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.