Class DataWriterMRJob
java.lang.Object
com.linkedin.venice.jobs.DataWriterComputeJob
com.linkedin.venice.hadoop.mapreduce.datawriter.jobs.DataWriterMRJob
- All Implemented Interfaces:
ComputeJob
,Closeable
,AutoCloseable
The implementation of
DataWriterComputeJob
for MapReduce engine.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.linkedin.venice.jobs.ComputeJob
ComputeJob.Status
-
Field Summary
Fields inherited from class com.linkedin.venice.jobs.DataWriterComputeJob
PASS_THROUGH_CONFIG_PREFIXES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
configure
(VeniceProperties props, PushJobSetting pushJobSetting) void
kill()
protected void
void
setJobClientWrapper
(JobClientWrapper jobClientWrapper) protected void
setupInputFormatConf
(org.apache.hadoop.mapred.JobConf jobConf, PushJobSetting pushJobSetting) Methods inherited from class com.linkedin.venice.jobs.DataWriterComputeJob
configure, getFailureReason, getStatus, runJob, validateJob
-
Field Details
-
HADOOP_PREFIX
- See Also:
-
-
Constructor Details
-
DataWriterMRJob
public DataWriterMRJob()
-
-
Method Details
-
configure
- Specified by:
configure
in classDataWriterComputeJob
-
setupInputFormatConf
protected void setupInputFormatConf(org.apache.hadoop.mapred.JobConf jobConf, PushJobSetting pushJobSetting) -
setJobClientWrapper
-
getTaskTracker
- Specified by:
getTaskTracker
in classDataWriterComputeJob
-
runComputeJob
protected void runComputeJob()- Specified by:
runComputeJob
in classDataWriterComputeJob
-
getPushJobSetting
- Specified by:
getPushJobSetting
in classDataWriterComputeJob
-
kill
public void kill()- Specified by:
kill
in interfaceComputeJob
- Overrides:
kill
in classDataWriterComputeJob
-
close
- Throws:
IOException
-