Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.3.0, 3.0.0-alpha1
-
None
-
None
Description
The patch fixes bug in method org.apache.hadoop.fs.HarFileSystem.HarFSDataInputStream.HarFsInputStream.skip(long):
// the contract is described in java.io.InputStream.skip(long):
// this method returns the number of bytes actually skipped, so,
// the return value should never be negative.
The patch adds tests for the fixed functionality + other tests to cover other uncovered methods of classes org.apache.hadoop.fs.HarFileSystem.HarFSDataInputStream,
org.apache.hadoop.fs.HarFileSystem.HarFSDataInputStream.HarFsInputStream.