You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2009/07/01 13:10:47 UTC
[jira] Commented: (HADOOP-6080) Handling of Trash with quota
[ https://issues.apache.org/jira/browse/HADOOP-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726011#action_12726011 ]
Hudson commented on HADOOP-6080:
--------------------------------
Integrated in Hadoop-Common-trunk #13 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/13/])
is going to 0.20.
. Introduce -skipTrash option to rm and rmr. Contributed by Jakob Homan.
> Handling of Trash with quota
> -----------------------------
>
> Key: HADOOP-6080
> URL: https://issues.apache.org/jira/browse/HADOOP-6080
> Project: Hadoop Common
> Issue Type: New Feature
> Components: fs
> Reporter: Koji Noguchi
> Assignee: Jakob Homan
> Fix For: 0.20.1
>
> Attachments: HADOOP-6080-v20.patch, HADOOP-6080.patch, javac_warnings_diff.txt
>
>
> Currently with quota turned on, user cannot call '-rmr' on large directory that causes over quota.
> {noformat}
> [knoguchi src]$ hadoop dfs -rmr /tmp/net2
> rmr: Failed to move to trash: hdfs://abc.def.com/tmp/net2
> [knoguchi src]$ hadoop dfs -mv /tmp/net2 /user/knoguchi/.Trash/Current
> mv: org.apache.hadoop.hdfs.protocol.QuotaExceededException: The quota of /user/knoguchi is exceeded: namespace
> quota=37500 file count=37757, diskspace quota=-1 diskspace=1991250043353
> {noformat}
> Besides from error message being unfriendly, how should this be handled?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.