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

Ayush Saxena commented on HDFS-17336:
-------------------------------------

the */user* part in /user/user1/.Trash is configurable via config 
{{{}dfs.user.home.dir.prefix{}}}, maybe that can be used or we can even explore 
having a separate config for trash.home.prefix as well, ignoring quota doesn't 
seems very apt to me, it is indeed occupying space, why we should ignore that, 
I doubt people might use this as a hack to store more data than allowed.
 

> Provide an option to enable/disable considering space used by .Trash folder 
> for user quota compuation
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-17336
>                 URL: https://issues.apache.org/jira/browse/HDFS-17336
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.1.4
>            Reporter: Srinivasu Majeti
>            Priority: Major
>
> We have a use case for a large account where /user/user1 has got space quota 
> configured. By default, Trash goes into /user/user1/.Trash. As long as 
> removed files stay back in Trash user will never be able to reclaim the space 
> quota. The customer is looking for a feature that will skip computing space 
> quota for the files in the Trash folder. Proposal is to introduce a new 
> configuration parameter to skip computing quota for Trash files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to