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

Eli Collins commented on HDFS-978:
----------------------------------

FSNameSystem#getAdditionalBlock currently doesn't sync the log, it will need to 
once block allocations are logged.

> Record every new block allocation of a file into the transaction log.
> ---------------------------------------------------------------------
>
>                 Key: HDFS-978
>                 URL: https://issues.apache.org/jira/browse/HDFS-978
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>            Reporter: dhruba borthakur
>
> HDFS should record every new block allocation (of a file) into its 
> transaction logs. In the current code, block allocations are persisted only 
> when a file is closed or hflush-ed. This feature will enable HDFS writers to 
> survive namenode restarts.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to