Package org.apache.hadoop.hbase.wal
Interface FSHLogProvider.Writer
- All Superinterfaces:
AutoCloseable,Closeable,WALProvider.Writer,WALProvider.WriterBase
- All Known Implementing Classes:
ProtobufLogWriter
- Enclosing class:
- FSHLogProvider
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration c, boolean overwritable, long blocksize, StreamSlowMonitor monitor) Methods inherited from interface org.apache.hadoop.hbase.wal.WALProvider.Writer
append, syncMethods inherited from interface org.apache.hadoop.hbase.wal.WALProvider.WriterBase
getLength, getSyncedLength
-
Method Details
-
init
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 - Throws:
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.
-