Pig
  1. Pig
  2. PIG-2202

AvroStorage doesn't work with Avro 1.5.1

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None
    • Release Note:
      AvroStorage upgraded to work with Avro 1.5.1.

      Description

      See PIG-2195. Pig jobs that use AvroStorage to write records using the 'schema' or 'data' options fail when using Avro 1.5.1 with the following exception:

      java.lang.ClassCastException: org.apache.pig.data.BinSedesTuple cannot be cast to org.apache.avro.generic.IndexedRecord
      
      1. PIG-2202_1.patch
        2 kB
        Bill Graham
      2. PIG-2202_2.patch
        2 kB
        Bill Graham

        Activity

        Daniel Dai made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Alan Gates made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.10 [ 12316246 ]
        Resolution Fixed [ 1 ]
        Bill Graham made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note AvroStorage upgraded to work with Avro 1.5.1.
        Assignee Bill Graham [ billgraham ]
        Bill Graham made changes -
        Attachment PIG-2202_2.patch [ 12489552 ]
        Bill Graham made changes -
        Field Original Value New Value
        Attachment PIG-2202_1.patch [ 12489147 ]
        Bill Graham created issue -

          People

          • Assignee:
            Bill Graham
            Reporter:
            Bill Graham
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development