public class ExternalSparkProgram extends AbstractSpark
Modifier and Type | Field and Description |
---|---|
static String |
STAGE_NAME |
Constructor and Description |
---|
ExternalSparkProgram(BatchPhaseSpec phaseSpec,
co.cask.cdap.etl.spec.StageSpec stageSpec) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
void |
destroy() |
protected void |
initialize() |
configure, getConfigurer, getContext, initialize, setClientResources, setDescription, setDriverResources, setExecutorResources, setMainClass, setMainClassName, setName, setProperties
usePlugin, usePlugin, usePluginClass, usePluginClass
addDatasetModule, addDatasetType, addStream, addStream, createDataset, createDataset, createDataset, createDataset
public static final String STAGE_NAME
public ExternalSparkProgram(BatchPhaseSpec phaseSpec, co.cask.cdap.etl.spec.StageSpec stageSpec)
protected void configure()
configure
in class AbstractSpark
protected void initialize() throws Exception
initialize
in class AbstractSpark
Exception
public void destroy()
destroy
in interface ProgramLifecycle<SparkClientContext>
destroy
in class AbstractSpark
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.