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 "Yiqun Lin (JIRA)" <ji...@apache.org> on 2018/06/01 08:10:00 UTC
[jira] [Commented] (HDFS-13583) RBF: Router admin clrQuota is not
synchronized with nameservice
[ https://issues.apache.org/jira/browse/HDFS-13583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497704#comment-16497704 ]
Yiqun Lin commented on HDFS-13583:
----------------------------------
[~dibyendu_hadoop], almost looks great. Two minor comments:
In *RouterAdmin.java* class,
{code}
// If nsQuota and ssQuota were unset, clear nsQuota and ssQuota.
if (nsQuota == HdfsConstants.QUOTA_DONT_SET &&
ssQuota == HdfsConstants.QUOTA_DONT_SET) {
{code}
Use {{HdfsConstants.QUOTA_RESET}} instead.
In *RouterQuotaUsage.java*,
{code}
+ if (getSpaceQuota() == HdfsConstants.QUOTA_DONT_SET ||
+ getQuota() == HdfsConstants.QUOTA_RESET) {
{code}
{{getQuota()}} should be {{getSpaceQuota}}.
> 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
> Priority: Major
> Attachments: HDFS-13583-000.patch
>
>
> Router admin -clrQuota command is removing the quota from the mount table only, it is not getting synchronized with nameservice.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org