[
https://issues.apache.org/jira/browse/HDFS-978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833562#action_12833562
]
Wang Xu commented on HDFS-978:
------------------------------
Do you mean log it after a block is written by datanodes or just allocated?
> 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.
-
You can reply to this email to add a comment to the issue online.