Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.8.0
-
None
-
None
Description
HDFS should can do stricter checking of the inputs
- raise an exception on negative offset of destination buffer
- explicitly raise an EOF exception if the file position is negative
Optionally: short-circuit read/readfully operations if the byte range is 0.
Attachments
Issue Links
- is broken by
-
HADOOP-12994 Specify PositionedReadable, add contract tests, fix problems
- Resolved
- Is contained by
-
HADOOP-12994 Specify PositionedReadable, add contract tests, fix problems
- Resolved