[ https://issues.apache.org/jira/browse/HDFS-14955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976118#comment-16976118 ]
Ayush Saxena commented on HDFS-14955: ------------------------------------- Thanx [~LiJinglun] for the patch. v002 LGTM. Minor stuff for the test : {code:java} + // clear normal path. + routerFs.delete(new Path("/dir-1/dir-normal"), true); {code} This clearing should be in finally block, try block for which should start just after : {code:java} routerFs.mkdirs(new Path("/dir-1/dir-normal")); {code} Otherwise if the test fails post this line, the file won't be cleared. > RBF: getQuotaUsage() on mount point should return global quota. > --------------------------------------------------------------- > > Key: HDFS-14955 > URL: https://issues.apache.org/jira/browse/HDFS-14955 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Jinglun > Assignee: Jinglun > Priority: Minor > Attachments: HDFS-14955.001.patch, HDFS-14955.002.patch > > > When getQuotaUsage() on a mount point path, the quota part should be the > global quota. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org