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

Lars Hofhansl commented on HBASE-5954:
--------------------------------------

HBASE-7801 and HBASE-8375 put the right client APIs in place, and in 0.95+ we 
have the Hadoop1/Hadoop2 modules to avoid reflection hell.

This is then just a matter of:
# Instantiate a Writer with sync-on-close enabled
# pass the fsync through to our log syncer and issue the sync when requested

I think we would not allow pairing fsync with asynchronous sync'ing (the 
current API would not support it anyway).

I'll see if I can find some time next week. Although my guess is that most 
folks want global sync-on-close and global sync-behind-writes on the HDFS 
cluster backing HBase.

                
> Allow proper fsync support for HBase
> ------------------------------------
>
>                 Key: HBASE-5954
>                 URL: https://issues.apache.org/jira/browse/HBASE-5954
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Critical
>             Fix For: 0.98.0, 0.95.2
>
>         Attachments: 5954-trunk-hdfs-trunk.txt, 5954-trunk-hdfs-trunk-v2.txt, 
> 5954-trunk-hdfs-trunk-v3.txt, 5954-trunk-hdfs-trunk-v4.txt, 
> 5954-trunk-hdfs-trunk-v5.txt, 5954-trunk-hdfs-trunk-v6.txt, hbase-hdfs-744.txt
>
>
> At least get recommendation into 0.96 doc and some numbers running w/ this 
> hdfs feature enabled.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to