Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.6.4, 1.7.2, 1.8.0
-
Access to the state serializer field in {{StateDescriptor}} is now modified to private access. Subclasses should use the {{StateDescriptor#getSerializer()}} method as the only means to obtain the wrapped state serializer.
Description
As per discussed in FLINK-11987, this JIRA aims at resolving the issue of StateDescriptor#initializeSerializerUnlessSet under race condition. More specified, we will assure no NPE thrown as well as the singleton of serializer when invoking initializeSerializerUnlessSet in parallel.
Attachments
Issue Links
- blocks
-
FLINK-11987 Kafka producer occasionally throws NullpointerException
- Resolved
- duplicates
-
FLINK-13612 StateDescriptor Loading Error NPE at FlinkKafkaProducer011 with High Concurrency Initialization
- Closed
- links to