[jira] [Created] (FLINK-22727) SerializableAvroSchema cannot handle large schema

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-22727) SerializableAvroSchema cannot handle large schema

Shang Yuanchun (Jira)
Serge Travin created FLINK-22727:
------------------------------------

             Summary: SerializableAvroSchema cannot handle large schema
                 Key: FLINK-22727
                 URL: https://issues.apache.org/jira/browse/FLINK-22727
             Project: Flink
          Issue Type: Bug
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 1.13.0
            Reporter: Serge Travin


The issue is very similar to the https://issues.apache.org/jira/browse/FLINK-19491 

Here is the stack trace for the problem.
{noformat}
Caused by: java.lang.RuntimeException: Could not serialize serializer into the configuration.Caused by: java.lang.RuntimeException: Could not serialize serializer into the configuration. at org.apache.flink.api.java.typeutils.runtime.RuntimeSerializerFactory.writeParametersToConfig(RuntimeSerializerFactory.java:61) ~[flink-core-1.13.0.jar:1.13.0] at org.apache.flink.runtime.operators.util.TaskConfig.setTypeSerializerFactory(TaskConfig.java:1211) ~[flink-runtime_2.12-1.13.0.jar:1.13.0] at org.apache.flink.runtime.operators.util.TaskConfig.setOutputSerializer(TaskConfig.java:594) ~[flink-runtime_2.12-1.13.0.jar:1.13.0] at org.apache.flink.optimizer.plantranslate.JobGraphGenerator.connectJobVertices(JobGraphGenerator.java:1336) ~[flink-optimizer_2.12-1.13.0.jar:1.13.0] at org.apache.flink.optimizer.plantranslate.JobGraphGenerator.translateChannel(JobGraphGenerator.java:820) ~[flink-optimizer_2.12-1.13.0.jar:1.13.0] at org.apache.flink.optimizer.plantranslate.JobGraphGenerator.postVisit(JobGraphGenerator.java:664) ~[flink-optimizer_2.12-1.13.0.jar:1.13.0] ... 15 moreCaused by: java.io.UTFDataFormatException at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:2164) ~[?:1.8.0_202] at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:2007) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:869) ~[?:1.8.0_202] at org.apache.flink.formats.avro.typeutils.SerializableAvroSchema.writeObject(SerializableAvroSchema.java:55) ~[flink-avro-1.13.0.jar:1.13.0] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_202] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_202] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) ~[?:1.8.0_202] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) ~[?:1.8.0_202] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) ~[?:1.8.0_202] at org.apache.flink.util.InstantiationUtil.serializeObject(InstantiationUtil.java:624) ~[flink-core-1.13.0.jar:1.13.0] at org.apache.flink.util.InstantiationUtil.writeObjectToConfig(InstantiationUtil.java:546) ~[flink-core-1.13.0.jar:1.13.0] at org.apache.flink.api.java.typeutils.runtime.RuntimeSerializerFactory.writeParametersToConfig(RuntimeSerializerFactory.java:59) ~[flink-core-1.13.0.jar:1.13.0] at org.apache.flink.runtime.operators.util.TaskConfig.setTypeSerializerFactory(TaskConfig.java:1211) ~[flink-runtime_2.12-1.13.0.jar:1.13.0] at org.apache.flink.runtime.operators.util.TaskConfig.setOutputSerializer(TaskConfig.java:594) ~[flink-runtime_2.12-1.13.0.jar:1.13.0] at org.apache.flink.optimizer.plantranslate.JobGraphGenerator.connectJobVertices(JobGraphGenerator.java:1336) ~[flink-optimizer_2.12-1.13.0.jar:1.13.0] at org.apache.flink.optimizer.plantranslate.JobGraphGenerator.translateChannel(JobGraphGenerator.java:820) ~[flink-optimizer_2.12-1.13.0.jar:1.13.0] at org.apache.flink.optimizer.plantranslate.JobGraphGenerator.postVisit(JobGraphGenerator.java:664) ~[flink-optimizer_2.12-1.13.0.jar:1.13.0] ... 15 more
{noformat}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)