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 SummaryNested ClassesNested classes/interfaces inherited from interface com.linkedin.venice.jobs.ComputeJobComputeJob.Status
- 
Field SummaryFieldsModifier and TypeFieldDescriptionPass-through the properties whose names start with:VeniceWriter.VENICE_WRITER_CONFIG_PREFIXConfigKeys.KAFKA_CONFIG_PREFIXVenicePushJobConstants.KIF_RECORD_READER_KAFKA_CONFIG_PREFIX
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconfigure(VeniceProperties properties) abstract voidconfigure(VeniceProperties props, PushJobSetting pushJobSetting) protected abstract PushJobSettingabstract DataWriterTaskTrackervoidkill()static voidpopulateWithPassThroughConfigs(VeniceProperties props, DataWriterComputeJob.ConfigSetter configSetter) static voidpopulateWithPassThroughConfigs(VeniceProperties props, DataWriterComputeJob.ConfigSetter configSetter, List<String> passThroughConfigPrefix, String overridePrefix) Override the configs following the rules: Pass-through the properties whose names start with the prefixes defined in `passThroughConfigPrefix`. Pass-through the properties whose names starts with the prefix defined by another special propertyConfigKeys.PASS_THROUGH_CONFIG_PREFIXES_LIST_KEY. Override the properties that are specified with a particular `overridePrefix`.abstract voidvoidrunJob()voidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.linkedin.venice.jobs.ComputeJobclose
- 
Field Details- 
PASS_THROUGH_CONFIG_PREFIXESPass-through the properties whose names start with:
 
- 
- 
Constructor Details- 
DataWriterComputeJobpublic DataWriterComputeJob()
 
- 
- 
Method Details- 
populateWithPassThroughConfigspublic static void populateWithPassThroughConfigs(VeniceProperties props, DataWriterComputeJob.ConfigSetter configSetter, List<String> passThroughConfigPrefix, String overridePrefix) Override the configs following the rules:- Pass-through the properties whose names start with the prefixes defined in `passThroughConfigPrefix`.
- Pass-through the properties whose names starts with the prefix defined by another special property ConfigKeys.PASS_THROUGH_CONFIG_PREFIXES_LIST_KEY.
- Override the properties that are specified with a particular `overridePrefix`.
 
- 
populateWithPassThroughConfigspublic static void populateWithPassThroughConfigs(VeniceProperties props, DataWriterComputeJob.ConfigSetter configSetter) 
- 
getTaskTracker
- 
validateJobpublic void validateJob()
- 
runComputeJobpublic abstract void runComputeJob()
- 
configure- Specified by:
- configurein interface- ComputeJob
 
- 
getPushJobSetting
- 
configure
- 
runJobpublic void runJob()- Specified by:
- runJobin interface- ComputeJob
 
- 
killpublic void kill()- Specified by:
- killin interface- ComputeJob
 
- 
getStatus- Specified by:
- getStatusin interface- ComputeJob
 
- 
getFailureReason- Specified by:
- getFailureReasonin interface- ComputeJob
 
 
-