[
https://issues.apache.org/jira/browse/HDFS-7661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15037551#comment-15037551
]
GAO Rui commented on HDFS-7661:
-------------------------------
Hi, [~szetszwo], [~walter.k.su]. This afternoon, I have a discussion with
[~huizane] and [~tfukudom] about the lock issue. Maybe, we could implement a
lock in NN, like a lease lock. This lock make sure that at any time point, only
on client is flush or reading the last under construction block group of a
being written EC file. Does it make sense to you? In the mean while, I will
learn the StripeReader, then try to make the reader could read to the end of
the last completed block group without flush/sync.
> Support read when a EC file is being written
> --------------------------------------------
>
> 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
>
>
> We also need to support hflush/hsync and visible length.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)