Package com.linkedin.venice.jobs
Class DataWriterComputeJob
java.lang.Object
com.linkedin.venice.jobs.DataWriterComputeJob
- All Implemented Interfaces:
ComputeJob
,Closeable
,AutoCloseable
- Direct Known Subclasses:
AbstractDataWriterSparkJob
,DataWriterMRJob
An abstraction for executing and monitoring a data writer compute job running on any batch compute engine
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.linkedin.venice.jobs.ComputeJob
ComputeJob.Status
-
Field Summary
Modifier and TypeFieldDescriptionPass-through the properties whose names start with:VeniceWriter.VENICE_WRITER_CONFIG_PREFIX
ConfigKeys.KAFKA_CONFIG_PREFIX
KafkaInputRecordReader.KIF_RECORD_READER_KAFKA_CONFIG_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(VeniceProperties properties) abstract void
configure
(VeniceProperties props, PushJobSetting pushJobSetting) protected abstract PushJobSetting
abstract DataWriterTaskTracker
void
kill()
protected abstract void
void
runJob()
protected void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.linkedin.venice.jobs.ComputeJob
close
-
Field Details
-
PASS_THROUGH_CONFIG_PREFIXES
Pass-through the properties whose names start with:
-
-
Constructor Details
-
DataWriterComputeJob
public DataWriterComputeJob()
-
-
Method Details
-
getTaskTracker
-
validateJob
protected void validateJob() -
runComputeJob
protected abstract void runComputeJob() -
configure
- Specified by:
configure
in interfaceComputeJob
-
getPushJobSetting
-
configure
-
runJob
public void runJob()- Specified by:
runJob
in interfaceComputeJob
-
kill
public void kill()- Specified by:
kill
in interfaceComputeJob
-
getStatus
- Specified by:
getStatus
in interfaceComputeJob
-
getFailureReason
- Specified by:
getFailureReason
in interfaceComputeJob
-