Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Recently, I observed a slow restore case in local recovery using hashmap statebackend.
It took 147 seconds to restore from a 467MB snapshot, 9 times slower than that (16s) when restore from remote fs.
The thread dump show that It read local snapshot file directly by unbuffered FileInputStream / fs.local.LocalDataInputStream.
Maybe we can wrap with BufferInputStream to speed up local recovery.
Attachments
Attachments
Issue Links
- duplicates
-
FLINK-26586 FileSystem uses unbuffered read I/O
- Open
-
FLINK-19911 add read buffer for input stream
- Closed