Class DataWriterMRJob
- java.lang.Object
-
- com.linkedin.venice.jobs.DataWriterComputeJob
-
- com.linkedin.venice.hadoop.mapreduce.datawriter.jobs.DataWriterMRJob
-
- All Implemented Interfaces:
ComputeJob
,java.io.Closeable
,java.lang.AutoCloseable
public class DataWriterMRJob extends DataWriterComputeJob
The implementation ofDataWriterComputeJob
for MapReduce engine.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.linkedin.venice.jobs.ComputeJob
ComputeJob.Status
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
HADOOP_PREFIX
-
Fields inherited from class com.linkedin.venice.jobs.DataWriterComputeJob
PASS_THROUGH_CONFIG_PREFIXES
-
-
Constructor Summary
Constructors Constructor Description DataWriterMRJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
configure(VeniceProperties props, PushJobSetting pushJobSetting)
PushJobSetting
getPushJobSetting()
DataWriterTaskTracker
getTaskTracker()
void
kill()
protected void
runComputeJob()
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 Detail
-
HADOOP_PREFIX
public static final java.lang.String HADOOP_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
public void configure(VeniceProperties props, PushJobSetting pushJobSetting)
- Specified by:
configure
in classDataWriterComputeJob
-
setupInputFormatConf
protected void setupInputFormatConf(org.apache.hadoop.mapred.JobConf jobConf, PushJobSetting pushJobSetting)
-
setJobClientWrapper
public void setJobClientWrapper(JobClientWrapper jobClientWrapper)
-
getTaskTracker
public DataWriterTaskTracker getTaskTracker()
- Specified by:
getTaskTracker
in classDataWriterComputeJob
-
runComputeJob
protected void runComputeJob()
- Specified by:
runComputeJob
in classDataWriterComputeJob
-
getPushJobSetting
public PushJobSetting getPushJobSetting()
- Specified by:
getPushJobSetting
in classDataWriterComputeJob
-
kill
public void kill()
- Specified by:
kill
in interfaceComputeJob
- Overrides:
kill
in classDataWriterComputeJob
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
-