public class FlinkS3PrestoFileSystem
extends org.apache.flink.fs.s3.common.FlinkS3FileSystem
FlinkS3PrestoFileSystem provides custom recursive deletion functionality to work around a
bug in the internally used Presto file system.
https://github.com/prestodb/presto/issues/17416
| Constructor and Description |
|---|
FlinkS3PrestoFileSystem(org.apache.hadoop.fs.FileSystem hadoopS3FileSystem,
String localTmpDirectory,
String entropyInjectionKey,
int entropyLength,
org.apache.flink.fs.s3.common.writer.S3AccessHelper s3UploadHelper,
long s3uploadPartSize,
int maxConcurrentUploadsPerStream) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(org.apache.flink.core.fs.Path path,
boolean recursive) |
createRecoverableWriter, generateEntropy, getEntropyInjectionKey, getKind, getLocalTmpDircreate, create, exists, getDefaultBlockSize, getFileBlockLocations, getFileStatus, getHadoopFileSystem, getHomeDirectory, getUri, getWorkingDirectory, isDistributedFS, listStatus, mkdirs, open, open, rename, toHadoopPathpublic FlinkS3PrestoFileSystem(org.apache.hadoop.fs.FileSystem hadoopS3FileSystem,
String localTmpDirectory,
@Nullable
String entropyInjectionKey,
int entropyLength,
@Nullable
org.apache.flink.fs.s3.common.writer.S3AccessHelper s3UploadHelper,
long s3uploadPartSize,
int maxConcurrentUploadsPerStream)
public boolean delete(org.apache.flink.core.fs.Path path,
boolean recursive)
throws IOException
delete in class org.apache.flink.runtime.fs.hdfs.HadoopFileSystemIOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.