public class FlinkOSSFileSystem
extends org.apache.flink.runtime.fs.hdfs.HadoopFileSystem
FileSystem interface for Aliyun OSS.
This class implements the common behavior implemented directly by Flink and delegates common
calls to an implementation of Hadoop's filesystem abstraction.| Modifier and Type | Field and Description |
|---|---|
static long |
MULTIPART_UPLOAD_PART_SIZE_MIN |
| Constructor and Description |
|---|
FlinkOSSFileSystem(org.apache.hadoop.fs.FileSystem fileSystem,
long ossUploadPartSize,
int maxConcurrentUploadsPerStream,
String localTmpDirectory,
OSSAccessor ossAccessor) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.core.fs.RecoverableWriter |
createRecoverableWriter() |
org.apache.flink.core.fs.FileSystemKind |
getKind() |
String |
getLocalTmpDir() |
create, create, delete, exists, getDefaultBlockSize, getFileBlockLocations, getFileStatus, getHadoopFileSystem, getHomeDirectory, getUri, getWorkingDirectory, isDistributedFS, listStatus, mkdirs, open, open, rename, toHadoopPathpublic static final long MULTIPART_UPLOAD_PART_SIZE_MIN
public FlinkOSSFileSystem(org.apache.hadoop.fs.FileSystem fileSystem,
long ossUploadPartSize,
int maxConcurrentUploadsPerStream,
String localTmpDirectory,
OSSAccessor ossAccessor)
public org.apache.flink.core.fs.FileSystemKind getKind()
getKind in class org.apache.flink.runtime.fs.hdfs.HadoopFileSystempublic org.apache.flink.core.fs.RecoverableWriter createRecoverableWriter()
throws IOException
createRecoverableWriter in class org.apache.flink.runtime.fs.hdfs.HadoopFileSystemIOExceptionpublic String getLocalTmpDir()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.