You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hemanth Boyina (Jira)" <ji...@apache.org> on 2020/09/11 07:11:00 UTC

[jira] [Commented] (HDFS-15572) RBF: Quota updating every 1 min once, if I setquota 50 on mount path, in a minute i am able to write the files morethan quota in mount path.

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

Hemanth Boyina commented on HDFS-15572:
---------------------------------------

thanks [~Harsha1206] for reporting the issue

RouterQuotaUpdateService#periodicInvoke by default updates the quota for every 1min , Because of this yes there could be chance of creating more number of files than quota  set value as router quota store will not be having updated quota value from name services 

> RBF: Quota updating every 1 min once, if I setquota 50 on mount path, in a minute i am able to write the files morethan quota in mount path. 
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-15572
>                 URL: https://issues.apache.org/jira/browse/HDFS-15572
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: rbf
>    Affects Versions: 3.1.1
>            Reporter: Harshakiran Reddy
>            Assignee: Hemanth Boyina
>            Priority: Major
>
> IN Router State store quota updating every 1 min once only, if i set quota 50 on mount path am able to write more that quota in the mount path here quota will not work out.
> {noformat}
> 1. Create a destinations dir in Namespaces
> 2. Create a mount path with multiple destinations
> 3. Setquota 50 on mount path 
> 4. write a files morethan 50 + in the mount path in a minute
> {noformat}
> *Excepted Result:-*
> Here after setquota mount path should not allow morethan that at any cost.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org