[
https://issues.apache.org/jira/browse/HDFS-7661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570445#comment-14570445
]
GAO Rui commented on HDFS-7661:
-------------------------------
Hi [~zhz]. I try to read a EC file which is being written, and it seems that
read support of being written EC file has already been finished in current
version of HDFS-7285. I touched a 10GB file named {{ecTestFile}} from terminal
by this command {{$dd if=/dev/urandom of=%path%/ecTestFile bs=100MB count=100
oflag=direct}}. Then, write it into HDFS by {{$%hadoop_path%/hdfs --config
%hadoop_config_path% dfs -copyFromLocal %path%/ecTestFile %hdfs_ecZone_path%}}.
While being written, in ecZone, file {{ecTestFile.\_COPYING_}} can be read by
{{$%hadoop_path%/hdfs --config %hadoop_config_path% dfs -cat
%hdfs_ecZone_path%/ecTestFile.\_COPYING_}}. Does it means "Support read when a
EC file is being written" has already been finished? Or in the writing process,
it should be possible to read the file by {{$%hadoop_path%/hdfs --config
%hadoop_config_path% dfs -cat %hdfs_ecZone_path%/ecTestFile}}?
> 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
>
> We also need to support hflush/hsync and visible length.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)