hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6080) Handling of Trash with quota
Date Tue, 30 Jun 2009 07:12:47 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jakob Homan updated HADOOP-6080:
--------------------------------

    Attachment: HADOOP-6080.patch
                HADOOP-6080-v20.patch

Ran into a problem that I didn't notice with the HDFS version of TestTrash.  I think there's
an issue with the FileSystem.listStatus methods between LocalFileSystem and DistributedFileSystem,
which I'll look into.  In the meantime, modified test so that it doesn't rely on that method
and works on both local and distributed file systems.  
Will run full test suite tonight, report tomorrow morning.  Also, deleted old patches to avoid
confusion.  New patches for both trunk and v20 should be good to go.

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


Mime
View raw message