You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Dibyendu Karmakar (JIRA)" <ji...@apache.org> on 2018/05/17 14:00:00 UTC

[jira] [Created] (HDFS-13583) RBF: Router admin clrQuota is not synchronized with nameservice

Dibyendu Karmakar created HDFS-13583:
----------------------------------------

             Summary: RBF: Router admin clrQuota is not synchronized with nameservice
                 Key: HDFS-13583
                 URL: https://issues.apache.org/jira/browse/HDFS-13583
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Dibyendu Karmakar
            Assignee: Dibyendu Karmakar


Router admin -clrQuota command is removing the quota from the mount table only, it is not getting synchronized with nameservice.

we should remove this  QUOTA_DONT_SET check from RouterAdminServer#synchronizeQuota

 
{code:java}
if (nsQuota != HdfsConstants.QUOTA_DONT_SET
|| ssQuota != HdfsConstants.QUOTA_DONT_SET) {
  this.router.getRpcServer().getQuotaModule().setQuota(path, nsQuota, ssQuota, null);
}
{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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