Modifier and Type | Method and Description |
---|---|
org.apache.tez.dag.api.DataSinkDescriptor |
build()
Create the
DataSinkDescriptor |
MROutput.MROutputConfigBuilder |
getCredentialsForSinkFileSystem(boolean value)
Get the credentials for the output from its
FileSystem s
Use the method to turn this off when not using a FileSystem
or when Credentials are not supported |
MROutput.MROutputConfigBuilder |
setDoCommit(boolean value)
Disable commit operations for the output (default: true)
If the value is set to false then no
OutputCommitter will
be specified for the output |
public org.apache.tez.dag.api.DataSinkDescriptor build()
DataSinkDescriptor
DataSinkDescriptor
public MROutput.MROutputConfigBuilder getCredentialsForSinkFileSystem(boolean value)
FileSystem
s
Use the method to turn this off when not using a FileSystem
or when Credentials
are not supportedvalue
- whether to get credentials or not. (true by default)MROutput.MROutputConfigBuilder
public MROutput.MROutputConfigBuilder setDoCommit(boolean value)
OutputCommitter
will
be specified for the outputCopyright © 2016 Apache Software Foundation. All rights reserved.