Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-99

Avros.writables throws ClassCastException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • Core
    • None

    Description

      I hit this issue running 0.3.0 w/Avro 1.5.4-- the BytesToWritableMapFn is expecting a ByteBuffer as input, but it will be a byte[] instead. Adding the same instanceof check that we have elsewhere for this situation is the workaround I came up with.

      Attachments

        1. CRUNCH-99c.patch
          13 kB
          Gabriel Reid
        2. CRUNCH-99b.patch
          9 kB
          Josh Wills
        3. CRUNCH-99.patch
          8 kB
          Josh Wills

        Activity

          People

            jwills Josh Wills
            jwills Josh Wills
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: