[ https://issues.apache.org/jira/browse/HADOOP-17997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xi chaomin resolved HADOOP-17997. --------------------------------- Resolution: Won't Fix > RBF: Namespace usage of mount table with multi subclusters can exceed quota > --------------------------------------------------------------------------- > > Key: HADOOP-17997 > URL: https://issues.apache.org/jira/browse/HADOOP-17997 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Reporter: xi chaomin > Priority: Major > Labels: pull-request-available > Attachments: 1636424307319.jpg > > Time Spent: 1.5h > Remaining Estimate: 0h > > # mkdir on each subcluster /test10 > # mount table: hdfs dfsrouteradmin -add /test10 ns1,ns2 /test10 > # set quota: hdfs dfsrouteradmin -setQuota /test10 -nsQuota 4 > # touch two files under hdfs://\{fed}/test10, now the namespace usage is 4(2 > directories and 2 files). > # refresh and put a new file, the put is successfull, and the namespace > usage comes to 5. > !1636424307319.jpg! > The router checks quota without considering the increments, It is difficult > to limit quota precisely without increments , but throw exception when usage > >= quota will be better. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org