Search in sources :

Example 1 with GSBlobStorageImpl

use of org.apache.flink.fs.gs.storage.GSBlobStorageImpl in project flink by apache.

the class GSFileSystem method createRecoverableWriter.

@Override
public RecoverableWriter createRecoverableWriter() {
    LOGGER.info("Creating GSRecoverableWriter with file-system options {}", fileSystemOptions);
    // create the GS blob storage wrapper
    GSBlobStorageImpl blobStorage = new GSBlobStorageImpl(storage);
    // construct the recoverable writer with the blob storage wrapper and the options
    return new GSRecoverableWriter(blobStorage, fileSystemOptions);
}
Also used : GSRecoverableWriter(org.apache.flink.fs.gs.writer.GSRecoverableWriter) GSBlobStorageImpl(org.apache.flink.fs.gs.storage.GSBlobStorageImpl)

Aggregations

GSBlobStorageImpl (org.apache.flink.fs.gs.storage.GSBlobStorageImpl)1 GSRecoverableWriter (org.apache.flink.fs.gs.writer.GSRecoverableWriter)1