dmvk commented on a change in pull request #17916:
URL: https://github.com/apache/flink/pull/17916#discussion_r787791660
##########
File path:
flink-core/src/main/java/org/apache/flink/core/fs/SafeFileSystemFactory.java
##########
@@ -58,8 +81,29 @@ public void configure(final Configuration config) {
@Override
public FileSystem create(final URI fsUri) throws IOException {
- try (TemporaryClassLoaderContext ignored =
TemporaryClassLoaderContext.of(loader)) {
- return new ClassLoaderFixingFileSystem(inner.create(fsUri),
loader);
+ final CompletableFuture<FileSystem> fileSystemFuture = new
CompletableFuture<>();
+ EXECUTOR.execute(
+ () -> {
+ try {
+ synchronized (inner) {
Review comment:
👍
--
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]