Vinayakumar B created HDFS-7098:
-----------------------------------
Summary: Support polling for more data from a write-in-progress
file using same DFSInputStream
Key: HDFS-7098
URL: https://issues.apache.org/jira/browse/HDFS-7098
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: Vinayakumar B
Assignee: Vinayakumar B
Currently DFSInputStream can read only till the bytes written which were
written by the time of Opening it for reading.
But, later there can be more bytes written to same file.
If client expects more data to be available, then client can poll it
continuously for more data without re-opening the stream.
One simple example use case for this is tailing logs files.
Currently LocalFileSystem supports this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)