FileSystem.listStatus should report the current length of a file if it has been
sync'd
--------------------------------------------------------------------------------------
Key: HADOOP-4751
URL: https://issues.apache.org/jira/browse/HADOOP-4751
Project: Hadoop Core
Issue Type: Improvement
Components: dfs
Affects Versions: 0.19.0
Reporter: Jim Kellerman
Fix For: 0.19.1, 0.20.0
If a writer calls sync(), it should be possible to get the current file size
via FileSystem.listStatus, rather than listStatus returning 0 for the file size
until the file lease times out or the file is closed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.