hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dibyendu Karmakar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13583) RBF: Router admin clrQuota is not synchronized with nameservice
Date Thu, 17 May 2018 14:00:00 GMT
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


Mime
View raw message