Class ForStFileSystemTrackingCreatedDirDecorator

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.apache.flink.core.fs.IFileSystem

    public class ForStFileSystemTrackingCreatedDirDecorator
    extends ForStFlinkFileSystem
    A decorator of ForStFlinkFileSystem to adapt ForSt to the underlying FileSystems which are implemented with incomplete mkdir(), i.e., such FileSystem implementation does not actually create the directory when mkdir() completes. This can lead to unexpected behavior when ForSt tries to assert the existence of directories by calling exists(). Therefore, we track the paths of the should-be-created directories and subsequently return true for existence checks.