[
https://issues.apache.org/jira/browse/HDFS-10299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245660#comment-15245660
]
James Clampffer commented on HDFS-10299:
----------------------------------------
Committed this to HDFS-8707.
We should add some more tests that include concurrency between reads and writes
to try and catch this stuff sooner.
> libhdfs++: File length doesn't always count the last block if it's being
> written to
> -----------------------------------------------------------------------------------
>
> Key: HDFS-10299
> URL: https://issues.apache.org/jira/browse/HDFS-10299
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: James Clampffer
> Assignee: Xiaowei Zhu
> Attachments: HDFS-10299.HDFS-8707.000.patch
>
>
> It looks like we aren't factoring in the last block of files that are being
> written to or haven't been closed yet into the length of the file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)