Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
Add an api to get the visible length of a DFSDataInputStream.
Description
Hflush guarantees that the bytes written before are visible to the new readers. However, there is no way to get the length of the visible bytes. The visible length is useful in some applications like SequenceFile.
Attachments
Attachments
Issue Links
- blocks
-
HBASE-2069 Use the new 'visible' length feature added by hdfs-814
- Closed
- is related to
-
HDFS-691 Limitation on java.io.InputStream.available()
- Closed
-
HDFS-246 Add a method to get file length for Seekable, FSDataInputStream and libhdfs
- Open
-
HADOOP-6307 Support reading on un-closed SequenceFile
- Closed