You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Boris Shkolnik (JIRA)" <ji...@apache.org> on 2009/05/26 22:18:45 UTC

[jira] Commented: (HADOOP-5862) Namespace quota exceeded message unclear

    [ https://issues.apache.org/jira/browse/HADOOP-5862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713225#action_12713225 ] 

Boris Shkolnik commented on HADOOP-5862:
----------------------------------------

Fixing together with HADOOP-5872.

1. allowing to set quota even if the current usage goes over the quota.
2. creating two separate exception for NameSpace and DiskSpace quota (both extending QuotaExceededException).

> 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.