Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
java.io.InputStream.available() returns an int which has the max value 2^31-1 = 2GB - 1B. It won't work if the number of available bytes is >= 2GB.
Attachments
Attachments
Issue Links
- is depended upon by
-
HADOOP-6307 Support reading on un-closed SequenceFile
- Closed
- is related to
-
HDFS-246 Add a method to get file length for Seekable, FSDataInputStream and libhdfs
- Open
- relates to
-
HDFS-814 Add an api to get the visible length of a DFSDataInputStream.
- Closed