public static interface AsyncFSWALProvider.AsyncWriter extends WALProvider.AsyncWriter
Modifier and Type | Method and Description |
---|---|
void |
init(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration c,
boolean overwritable,
long blocksize,
StreamSlowMonitor monitor) |
append, sync
getLength, getSyncedLength
void init(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration c, boolean overwritable, long blocksize, StreamSlowMonitor monitor) throws IOException, CommonFSUtils.StreamLacksCapabilityException
IOException
- if something goes wrong initializing an output streamCommonFSUtils.StreamLacksCapabilityException
- if the given FileSystem can't provide streams that
meet the needs of the given Writer implementation.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.