public static interface FSHLogProvider.Writer extends WALProvider.Writer
| 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) |
append, syncgetLengthvoid init(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration c,
boolean overwritable,
long blocksize)
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–2019 Cloudera. All rights reserved.