Details
-
Sub-task
-
Status: Closed
-
Blocker
-
Resolution: Done
-
None
Description
The Path class is currently mutable to support the IOReadableWritable serialization. Since that serialization is not used any more, I suggest to drop that interface from Path and make the Path's URI final.
Being immutable, we can store configures paths properly without the chance of them being mutated as side effects.
Many parts of the code make the assumption that the Path is immutable, being susceptible to subtle errors.
Attachments
Issue Links
- relates to
-
FLINK-4758 Remove IOReadableWritable from classes where not needed
- Open
-
FLINK-32977 Deprecate IOReadableWritable serialization in Path
- Closed
- links to
- mentioned in
-
Page Loading...