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

Anu Engineer commented on HDFS-11138:
-------------------------------------

bq. The idea is that the force flag is only an optional flag, i.e. the call may 
not have this flag. In which case a default value will be used. This key is to 
allow users specify different default behavior when force flag is missing. This 
being said, user parameter, if given, takes precedence.

So do expect the user to say force=false in case the cluster wide setting is 
true ? How does the user know what is the cluster wide setting ? Isn't easier 
to just return an error and let user use force if needed ? I am not sure I see 
the benefit of having a cluster wide default.


> Block Storage : add block storage server
> ----------------------------------------
>
>                 Key: HDFS-11138
>                 URL: https://issues.apache.org/jira/browse/HDFS-11138
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>         Attachments: HDFS-11138-HDFS-7240.001.patch
>
>
> This JIRA adds the skeleton for server side code, which is one of the core 
> components in block storage. For performance concerns, the server does not 
> handle any actual read/write operation but serving primarily as a meta data 
> server. It provides four APIs:
> # create volume : which will call into underlying container layer to allocate 
> containers
> # delete volume : delete a specific volume (as well as its containers)
> # info volume : return information of a specific volume
> # list volume : list all volumes
> Note that this is still subject to potentially major changes. Features such 
> as persistence are missing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to