[ https://issues.apache.org/jira/browse/FLUME-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15286194#comment-15286194 ]
Miroslav Holubec commented on FLUME-2074: ----------------------------------------- already solved in FLUME-2593 > ResettableInputStream returns Signed Data when parsing binary stream > -------------------------------------------------------------------- > > Key: FLUME-2074 > URL: https://issues.apache.org/jira/browse/FLUME-2074 > Project: Flume > Issue Type: Bug > Components: Sinks+Sources > Affects Versions: v1.4.0 > Reporter: Hans Uhlig > Priority: Critical > > 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). -- This message was sent by Atlassian JIRA (v6.3.4#6332)