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

Stephen O'Donnell commented on HDFS-14896:
------------------------------------------

>From the patch it looks like MIN_BLOCKS_TO_WRITE was previously hard coded to 
>1, and scanning the patch quickly, that seems to be used to calculate if there 
>is free space on a datanode to allocate a block - is that correct?

As we only allocate a single block at a time, why do we need to make this 
configurable and hence reserve X blocks of space on a datanode?

Can you tell us some more about what problem this patch is solving?

> Make MIN_BLOCKS_FOR_WRITE configurable
> --------------------------------------
>
>                 Key: HDFS-14896
>                 URL: https://issues.apache.org/jira/browse/HDFS-14896
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Lisheng Sun
>            Assignee: Lisheng Sun
>            Priority: Minor
>         Attachments: HDFS-14896.001.patch, HDFS-14896.002.patch, 
> HDFS-14896.003(2).patch, HDFS-14896.003.patch, HDFS-14896.004.patch, 
> HDFS-14896.005.patch
>
>




--
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

Reply via email to