Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2074

ResettableInputStream returns Signed Data when parsing binary stream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.4.0
    • None
    • Sinks+Sources
    • 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

          Activity

            People

              Unassigned Unassigned
              huhlig Hans Uhlig
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: