Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
1.4.0
-
None
-
None
Description
ResettableInputStream returns signed values( -128 - 127 ) when reading data, specifically -1 when file stream contains 0xFF rather than unsigned data (0-255) and negative control signals. This causes a premature EOF to be detected by deserializers written to obey defined control signals.
ResettableInputStream.read() returns an integer and should be returning the unsigned value of the byte (0 - 255) with -1 as en EOF rather than the signed value of (-128 - 127).
Attachments
Issue Links
- duplicates
-
FLUME-2593 ResettableFileInputStream returns negate values from read() method
-
- Closed
-