You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "xi chaomin (Jira)" <ji...@apache.org> on 2023/01/17 06:18:00 UTC
[jira] [Resolved] (HADOOP-17997) RBF: Namespace usage of mount table with multi subclusters can exceed quota
[ 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org