Search in sources :

Example 1 with SparkBatchSourceFactory

use of io.cdap.cdap.etl.spark.batch.SparkBatchSourceFactory in project cdap by caskdata.

the class AbstractSparkPreparer method prepare.

@Override
public List<Finisher> prepare(PhaseSpec phaseSpec) throws TransactionFailureException, InstantiationException, IOException {
    stageOperations = new HashMap<>();
    stagePartitions = new HashMap<>();
    sourceFactory = new SparkBatchSourceFactory();
    sinkFactory = new SparkBatchSinkFactory();
    return super.prepare(phaseSpec);
}
Also used : SparkBatchSourceFactory(io.cdap.cdap.etl.spark.batch.SparkBatchSourceFactory) SparkBatchSinkFactory(io.cdap.cdap.etl.spark.batch.SparkBatchSinkFactory)

Aggregations

SparkBatchSinkFactory (io.cdap.cdap.etl.spark.batch.SparkBatchSinkFactory)1 SparkBatchSourceFactory (io.cdap.cdap.etl.spark.batch.SparkBatchSourceFactory)1