tillrohrmann commented on a change in pull request #8068:
[FLINK-12042][StateBackends] Fix RocksDBStateBackend's mistaken usage of
default filesystem
URL: https://github.com/apache/flink/pull/8068#discussion_r278584311
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/state/SnapshotDirectory.java
##########
@@ -185,7 +185,7 @@ public DirectoryStateHandle completeSnapshotAndGetHandle()
{
private static class PermanentSnapshotDirectory extends
SnapshotDirectory {
PermanentSnapshotDirectory(@Nonnull Path directory) throws
IOException {
- super(directory);
+ super(directory, FileSystem.getLocalFileSystem());
Review comment:
Not every `PermanentSnapshotDirectory` is local. This is not correct.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services