hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-740) rm and rmr fail to correctly move the user's files to the trash prior to deleting when they are over quota.
Date Thu, 29 Oct 2009 01:44:59 GMT

    [ https://issues.apache.org/jira/browse/HDFS-740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771252#action_12771252
] 

Jakob Homan commented on HDFS-740:
----------------------------------

A quick instrumentation of code and Gary able to prove mkdir is throwing an exception, but
it's an odd one:
{noformat}
an IOException from mkdirs: org.apache.hadoop.hdfs.protocol.DSQuotaExceededException: The
DiskSpace quota of /user/hadoopqa is exceeded: quota=1 diskspace consumed=19.6g
{noformat}
I didn't think that creating a directory would count against your DSQuota.  Still poking around.
At the very least this code should be fixed no to silently catch the exception.  After Boris'
fix (HADOOP-6203), the log message at least indicates there was an exception rather than a
false return value, but still swallows the exception and doesn't log what it actually was.

> rm and rmr fail to correctly move the user's files to the trash prior to deleting when
they are over quota.  
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-740
>                 URL: https://issues.apache.org/jira/browse/HDFS-740
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.1
>            Reporter: gary murry
>
> With trash turned on, if a user is over his quota and does a rm (or rmr), the file is
deleted without a copy being placed in the trash.

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