OW
- Writer typepublic interface BlockOutputDesc<OW extends BlockOutputWriter>
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commit everything
|
OW |
createOutputWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.util.Progressable hadoopProgressable)
Create writer
|
void |
initializeAndCheck(String jobIdentifier,
org.apache.hadoop.conf.Configuration conf)
Initialize output and perform any necessary checks
|
default void |
postWriting()
This method will be called after all writers are closed
|
default void |
preWriting()
This method will be called before creating any writers
|
void initializeAndCheck(String jobIdentifier, org.apache.hadoop.conf.Configuration conf)
jobIdentifier
- Unique identifier of the jobconf
- ConfigurationOW createOutputWriter(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.util.Progressable hadoopProgressable)
conf
- ConfigurationhadoopProgressable
- Progressable to call progress ondefault void preWriting()
default void postWriting()
void commit()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.