[
https://issues.apache.org/jira/browse/HDFS-7661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15156435#comment-15156435
]
Kai Zheng commented on HDFS-7661:
---------------------------------
bq. I thought maybe we could close current block group when flush is called.
And write the new data to a new block group.
This sounds like an option that can simplify, but how about other operations
like read and append then, since it will leave holes in the middle of the file.
bq. I am not sure how hive/hbase and other apps using flush.
I'm not sure neither. So far I don't aware any performance and analysis in the
aspect, thinking about how striped mode can benefit the hbase workload.
> Erasure coding: support hflush and hsync
> ----------------------------------------
>
> Key: HDFS-7661
> URL: https://issues.apache.org/jira/browse/HDFS-7661
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Tsz Wo Nicholas Sze
> Assignee: GAO Rui
> Attachments: EC-file-flush-and-sync-steps-plan-2015-12-01.png,
> HDFS-7661-unitTest-wip-trunk.patch, HDFS-7661-wip.01.patch,
> HDFS-EC-file-flush-sync-design-version1.1.pdf,
> HDFS-EC-file-flush-sync-design-version2.0.pdf
>
>
> We also need to support hflush/hsync and visible length.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)