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

crunch-user | Lucy Chen | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    org.apache.avro.UnresolvedUnionException

    crunch-user | 2 years ago | Lucy Chen
    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
  2. 0

    org.apache.avro.UnresolvedUnionException: Not in union ["long","null"]

    Stack Overflow | 1 year ago | Knows Not Much
    org.apache.avro.UnresolvedUnionException: Not in union ["long","null"]: 1426647603695
  3. 0

    Cascading avro-scheme handle nulls in union of ["double","null"]

    Google Groups | 1 year ago | Kunal Lahiri
    org.apache.avro.UnresolvedUnionException: Not in union > ["int","null"]: 1 > at org.apache.avro.generic.GenericData.resolveUnion(GenericData.java:600)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: org.apache.avro.UnresolvedUnionException

    crunch-user | 2 years ago | Josh Wills
    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
  6. 0

    Re: org.apache.avro.UnresolvedUnionException

    crunch-user | 2 years ago | Lucy Chen
    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

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Apache Avro
      DataFileWriter.append
      1. org.apache.avro.generic.GenericData.resolveUnion(GenericData.java:561)
      2. org.apache.avro.generic.GenericDatumWriter.resolveUnion(GenericDatumWriter.java:144)
      3. org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:71)
      4. org.apache.avro.reflect.ReflectDatumWriter.write(ReflectDatumWriter.java:104)
      5. org.apache.avro.generic.GenericDatumWriter.writeRecord(GenericDatumWriter.java:106)
      6. org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:66)
      7. org.apache.avro.reflect.ReflectDatumWriter.write(ReflectDatumWriter.java:104)
      8. org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:73)
      9. org.apache.avro.reflect.ReflectDatumWriter.write(ReflectDatumWriter.java:104)
      10. org.apache.avro.generic.GenericDatumWriter.writeRecord(GenericDatumWriter.java:106)
      11. org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:66)
      12. org.apache.avro.reflect.ReflectDatumWriter.write(ReflectDatumWriter.java:104)
      13. org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java:58)
      14. org.apache.avro.file.DataFileWriter.append(DataFileWriter.java:257)
      15. org.apache.avro.file.DataFileWriter.append(DataFileWriter.java:263)
      15 frames
    3. org.apache.crunch
      MultipleOutputEmitter.emit
      1. org.apache.crunch.types.avro.AvroOutputFormat$1.write(AvroOutputFormat.java:87)
      2. org.apache.crunch.types.avro.AvroOutputFormat$1.write(AvroOutputFormat.java:84)
      3. org.apache.crunch.io.CrunchOutputs.write(CrunchOutputs.java:133)
      4. org.apache.crunch.impl.mr.emit.MultipleOutputEmitter.emit(MultipleOutputEmitter.java:41)
      4 frames