Rion Williams
09/04/2024, 5:57 PM{
"name": "facilities",
"type": [
"null",
{
"type": "array",
"items": [
"null",
"string"
]
}
],
"default": null
},
{
"name": "sources",
"type": [
"null",
{
"type": "array",
"items": [
"null",
"string"
]
}
],
"default": null
}
However, when the job came back up I began noticing serialization errors such as the following:
Caused by: java.io.IOException: Serializer consumed more bytes than the record had. This indicates broken serialization. If you are using custom serialization types (Value or Writable), check their serialization methods. If you are using a Kryo-serialized type, check the corresponding Kryo serializer.
...
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 320 out of bounds for length 2
at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:460) ~[blob_p-fd9646d20c93adaaf511308efe31314274308aff-ea4a5c5c948a79e12b19a315adbd4a13:?]
at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:283) ~[blob_p-fd9646d20c93adaaf511308efe31314274308aff-ea4a5c5c948a79e12b19a315adbd4a13:?]
at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:187) ~
...
2024-09-04 17:38:55,070 INFO org.apache.flink.api.java.typeutils.TypeExtractor [] - Field RiskVectorScore#facilities will be processed as GenericType. Please read the Flink documentation on "Data Types & Serialization" for details of the effect on performance and schema evolution.
...
2024-09-04 17:38:55,070 INFO org.apache.flink.api.java.typeutils.TypeExtractor [] - Field RiskVectorScore#sources will be processed as GenericType. Please read the Flink documentation on "Data Types & Serialization" for details of the effect on performance and schema evolution.
Any recommendations for how to troubleshoot this? It’s not super intuitive to indicate exactly what’s wrong?Rion Williams
09/04/2024, 6:00 PM2024-09-04 17:38:55,090 DEBUG org.apache.avro.SchemaCompatibility [] - Checking compatibility of reader <new schema> with writer <old schema>
Paul Annesley
09/05/2024, 4:56 AMRion Williams
09/05/2024, 4:57 AM