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

Hemanth Boyina commented on HDFS-15536:
---------------------------------------

i think MountTable#equals should also validate the nsQuota and ssQuota as 
MountTableResolver#refreshEntries will check for updates of mount table through 
equals method
{code:java}
@Override
public boolean equals(Object obj) {
  if (obj instanceof MountTable) {
    MountTable other = (MountTable)obj;
    return new EqualsBuilder()
        .append(this.getSourcePath(), other.getSourcePath())
        .append(this.getDestinations(), other.getDestinations())
        .append(this.isReadOnly(), other.isReadOnly())
        .append(this.getDestOrder(), other.getDestOrder())
        .append(this.isFaultTolerant(), other.isFaultTolerant())
        .isEquals();
  }
  return false;
} {code}

> 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.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]

Reply via email to