hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-978) Record every new block allocation of a file into the transaction log.
Date Wed, 08 Jun 2011 23:58:59 GMT

    [ 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

Mime
View raw message