fredia commented on code in PR #25310:
URL: https://github.com/apache/flink/pull/25310#discussion_r1756117243
##########
flink-state-backends/flink-statebackend-forst/src/main/java/org/apache/flink/state/forst/fs/ForStFlinkFileSystem.java:
##########
@@ -61,6 +70,16 @@ public static FileSystem get(URI uri) throws IOException {
return new ForStFlinkFileSystem(FileSystem.get(uri));
}
+ /**
+ * Setup local base path for corresponding remote base path.
+ *
+ * @param remoteBasePath the remote base path.
+ * @param localBasePath the local base path.
+ */
+ public static void setupLocalBasePath(String remoteBasePath, String
localBasePath) {
+ remoteLocalMapping.put(remoteBasePath, localBasePath);
Review Comment:
I add `unregisterLocalBasePath`, and call it when `keyedStateBackend.dispose`
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]