[
https://issues.apache.org/jira/browse/HDFS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-585:
----------------------------------------
Attachment: h585_20090909.patch
h585_20090909.patch: use getBytesOnDisk() instead of file length.
> 2. Should we have unit tests testing reading from an unclosed file?
The read function is not yet completed. So it is hard to write unit tests for
this. If you insist, I don't mind to spend time on adding unit tests.
> Datanode should serve up to visible length of a replica for read requests
> -------------------------------------------------------------------------
>
> Key: HDFS-585
> URL: https://issues.apache.org/jira/browse/HDFS-585
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node
> Affects Versions: Append Branch
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: Append Branch
>
> Attachments: h585_20090903.patch, h585_20090904.patch,
> h585_20090904b.patch, h585_20090909.patch
>
>
> As a part of the design in HDFS-265, datanodes should return all bytes within
> the visible length of a replica to the DFSClient in order to support read
> consistency.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.