[jira] [Commented] (HDFS-17336) Provide an option to enable/disable considering space used by .Trash folder for user quota compuation

2024-01-11 Thread Srinivasu Majeti (Jira)


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

Srinivasu Majeti commented on HDFS-17336:
-

I agree [~ayushtkn] with you. Having trash.home.prefix could help here and its 
user's wish whether to enable quota for trash.home.prefix directory or not. 

> 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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-17336) Provide an option to enable/disable considering space used by .Trash folder for user quota compuation

2024-01-11 Thread Ayush Saxena (Jira)


[ 
https://issues.apache.org/jira/browse/HDFS-17336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-17336) Provide an option to enable/disable considering space used by .Trash folder for user quota compuation

2024-01-10 Thread Srinivasu Majeti (Jira)


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

Srinivasu Majeti commented on HDFS-17336:
-

Added description [~ayushtkn] 

> 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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org