[ 
https://issues.apache.org/jira/browse/HDFS-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HDFS-1108:
------------------------------

    Attachment: hdfs-1108-habranch.txt

Rebased on HA branch with following changes:
- some places used to persist blocks only if append was enabled - now it also 
persists them in those cases if the configuration is set
- the config is forced to true if HA is enabled
- improved the unit test so the writer keeps writing after the NN restarts, and 
verifies that both the data written before and after the restart can be read 
back

> ability to create a file whose newly allocated blocks are automatically 
> persisted immediately
> ---------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1108
>                 URL: https://issues.apache.org/jira/browse/HDFS-1108
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>            Reporter: dhruba borthakur
>            Assignee: Dmytro Molkov
>         Attachments: HDFS-1108.patch, hdfs-1108-habranch.txt
>
>
> The current HDFS design says that newly allocated blocks for a file are not 
> persisted in the NN transaction log when the block is allocated. Instead, a 
> hflush() or a close() on the file persists the blocks into the transaction 
> log. It would be nice if we can immediately persist newly allocated blocks 
> (as soon as they are allocated) for specific files.

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

        

Reply via email to