hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5862) Namespace quota exceeded message unclear
Date Mon, 01 Jun 2009 03:40:07 GMT

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

Raghu Angadi commented on HADOOP-5862:
--------------------------------------

The patch looks good. A few comments apart from Nicholas comment above.

# Need to makes sure help for command line quota commands and documentation user guide reflect
the new behaviour.
# In the Exception message, it might be better to replace "diskspace count=" with something
like "diskspace consumed=". "count" might confuse users.
# Currently {{FSDirectory.updateCountForInodeWithQuota()}} warns when a directory exceeds
quota. The warning text implies it is a software error (or corruption in the image) since
it is not expected. The wording in the warning could be changed to be less severe.


> 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
>         Attachments: HADOOP-5862.patch
>
>
> 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.


Mime
View raw message