org.apache.avro.UnresolvedUnionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • org.apache.avro.UnresolvedUnionException
    via by Lucy Chen,
  • Re: org.apache.avro.UnresolvedUnionException
    via by Josh Wills,
  • Re: org.apache.avro.UnresolvedUnionException
    via by Lucy Chen,
  • Re: org.apache.avro.UnresolvedUnionException
    via by Josh Wills,
  • Avro GenericRecordBuilder weirdness
    via by James Boorn,
  • Union - null with enum in Pig
    via Stack Overflow by BigDataMiner
    ,
    • org.apache.avro.UnresolvedUnionException: Not in union ["null",{"type":"record","name":"Vector","namespace":"com.aliasi.matrix","fields":[]}]: 0=1.0 8=0.0917 9=0.0734 14=0.0336 22=0.0485 36=0.0795 40=0.0611 59=0.079 101=0.1065 127=0.1101 131=0.0969 135=0.1016 151=0.079 154=0.1847 177=0.0858 199=0.1131 200=0.0485 269=0.1096 271=0.1275 335=0.1299 588=0.165 799=0.2264 1200=0.1321 1286=0.2796 1482=0.1299 1702=0.4409 2170=0.2236 3644=0.2319 4824=0.2624 5040=0.3815 5584=0.2258 5937=0.2466 at org.apache.avro.file.DataFileWriter.append(DataFileWriter.java:263) at org.apache.crunch.types.avro.AvroOutputFormat$1.write(AvroOutputFormat.java:87) at org.apache.crunch.types.avro.AvroOutputFormat$1.write(AvroOutputFormat.java:84) at org.apache.crunch.io.CrunchOutputs.write(CrunchOutputs.java:133) at org.apache.crunch.impl.mr.emit.MultipleOutputEmitter.emit(MultipleOutputEmitter.java:41) Caused by: org.apache.avro.UnresolvedUnionException: Not in union ["null",{"type":"record","name":"Vector","namespace":"com.aliasi.matrix","fields":[]}]: 0=1.0 8=0.0917 9=0.0734 14=0.0336 22=0.0485 36=0.0795 40=0.0611 59=0.079 101=0.1065 127=0.1101 131=0.0969 135=0.1016 151=0.079 154=0.1847 177=0.0858 199=0.1131 200=0.0485 269=0.1096 271=0.1275 335=0.1299 588=0.165 799=0.2264 1200=0.1321 1286=0.2796 1482=0.1299 1702=0.4409 2170=0.2236 3644=0.2319 4824=0.2624 5040=0.3815 5584=0.2258 5937=0.2466 at org.apache.avro.generic.GenericData.resolveUnion(GenericData.java:561) at org.apache.avro.generic.GenericDatumWriter.resolveUnion(GenericDatumWriter.java:144) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:71) at org.apache.avro.reflect.ReflectDatumWriter.write(ReflectDatumWriter.java:104) at org.apache.avro.generic.GenericDatumWriter.writeRecord(GenericDatumWriter.java:106) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:66) at org.apache.avro.reflect.ReflectDatumWriter.write(ReflectDatumWriter.java:104) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:73) at org.apache.avro.reflect.ReflectDatumWriter.write(ReflectDatumWriter.java:104) at org.apache.avro.generic.GenericDatumWriter.writeRecord(GenericDatumWriter.java:106) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:66) at org.apache.avro.reflect.ReflectDatumWriter.write(ReflectDatumWriter.java:104) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:58) at org.apache.avro.file.DataFileWriter.append(DataFileWriter.java:257) ... 5 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,