[
https://issues.apache.org/jira/browse/HDFS-15510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17179101#comment-17179101
]
Hemanth Boyina commented on HDFS-15510:
---------------------------------------
!15510.png!
/router_test is a mount point which has 2 destinations
set namespace quota on /router_test as 10 , though content summary on
/router_test is showing as 20 we are able to create only 10 files because in
mount table store namespace quota of /router_test is 10 , to solve these we
have the following approaches
1) in mount table store , store the name space quota as 20 , (nsQuota * number
of destinations ) , but by allowing the quota upto 20 the problem is user can
think of as he set the nsQuota as 10 but he is able to create 20 files
2) divide the nsQuota by number of destinations and invoke setquota on
nameservices with this output value , but the problem is name space quota may
not be equally divided across name services
3) on count command , divide the quota received from nameservices with number
of destinations , so in the current scenario for /router_test we will display
the nsQuota as 10 and allow the nsQuota as 10
IMHO i think option 3 will be better
> RBF: Quota and Content Summary was not correct in Multiple Destinations
> -----------------------------------------------------------------------
>
> Key: HDFS-15510
> URL: https://issues.apache.org/jira/browse/HDFS-15510
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Hemanth Boyina
> Assignee: Hemanth Boyina
> Priority: Critical
> Attachments: 15510.png
>
>
> steps :
> *) create a mount entry with multiple destinations ( for suppose 2)
> *) Set NS quota as 10 for mount entry by dfsrouteradmin command, Content
> Summary on the Mount Entry shows NS quota as 20
> *) Create 10 files through router, on creating 11th file , NS Quota Exceeded
> Exception is coming
> though the Content Summary showing the NS quota as 20 , we are not able to
> create 20 files
>
> the problem here is router stores the mount entry's NS quota as 10 , but
> invokes NS quota on both the name services by set NS quota as 10 , so content
> summary on mount entry aggregates the content summary of both the name
> services by making NS quota as 20
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]