[
https://issues.apache.org/jira/browse/HDFS-15536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17183580#comment-17183580
]
Íñigo Goiri commented on HDFS-15536:
------------------------------------
Thanks [~hemanthboyina] for the update.
A few style comments:
* Instead of adding the full new admin for everybody, we can create a method
called {{getRouterAdmin()}} only used for this method.
* No need to define addEntry on top, just when we create it.
* destMap could be created with Collections.singletonMap().
* Add a break line before the clear part just to differentiate a little more
and instead of using cs again, create a new one.
> RBF: Clear Quota in Router was not consistent
> -----------------------------------------------
>
> Key: HDFS-15536
> URL: https://issues.apache.org/jira/browse/HDFS-15536
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Hemanth Boyina
> Assignee: Hemanth Boyina
> Priority: Critical
> Attachments: HDFS-15536.001.patch, HDFS-15536.002.patch,
> HDFS-15536.testrepro.patch
>
>
> *)create a mount point
> *) set quota for mount point through dfsrouteradmin
> *) clear quota for the same mount point through dfsrouteradmin
> check the content summary of mount point , quota was not cleared , though the
> mount table store has the quota cleared
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]