[
https://issues.apache.org/jira/browse/FLINK-25784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17564456#comment-17564456
]
Weijie Guo commented on FLINK-25784:
------------------------------------
In `SerializedThrowableSerializer`, the other two fields have already been
serialized during write serialized-throwable field. The deserialized object
should be able to get `originalerrorClassName` and `fullStringifiedStacktrace`
directly. I think the serialization of these two fields should be removed as
you said.If you think it reasonable, I can prepare a PR for this simple work.
> SerializedThrowable(De)Serializer out of sync
> ---------------------------------------------
>
> Key: FLINK-25784
> URL: https://issues.apache.org/jira/browse/FLINK-25784
> Project: Flink
> Issue Type: Technical Debt
> Components: Runtime / REST
> Affects Versions: 1.15.0
> Reporter: Chesnay Schepler
> Priority: Major
>
> The serializers writes 3 fields, but we only deserialize one of them.
> If the latter is sufficient, then we could skip the serialization of 2 fields.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)