public class TezScriptState extends ScriptState
Modifier and Type | Class and Description |
---|---|
static class |
TezScriptState.TezDAGScriptInfo |
ScriptState.AliasVisitor, ScriptState.FeatureVisitor, ScriptState.PIG_FEATURE, ScriptState.PIG_PROPERTY
commandLine, fileName, hadoopVersion, id, listeners, pigContext, pigVersion, scriptFeatures, serializedScript, truncatedScript
Constructor and Description |
---|
TezScriptState(String id) |
Modifier and Type | Method and Description |
---|---|
void |
addDAGSettingsToConf(org.apache.hadoop.conf.Configuration conf) |
void |
addVertexSettingsToConf(String dagName,
TezOperator tezOp,
org.apache.hadoop.conf.Configuration conf) |
void |
addWorkflowAdjacenciesToConf(TezOperPlan tezPlan,
org.apache.hadoop.conf.Configuration conf) |
void |
dagCompletedNotification(String dagName,
TezDAGStats tezDAGStats) |
void |
dagLaunchNotification(String dagName,
OperatorPlan<?> dagPlan,
int numVerticesToLaunch) |
void |
dagProgressNotification(String dagName,
int numVerticesCompleted,
int progress) |
void |
dagStartedNotification(String dagName,
String assignedApplicationId) |
static TezScriptState |
get() |
TezScriptState.TezDAGScriptInfo |
getDAGScriptInfo(String dagName) |
void |
registerListener(PigProgressNotificationListener listener) |
TezScriptState.TezDAGScriptInfo |
setDAGScriptInfo(TezPlanContainerNode tezPlanNode) |
bitSetToLong, emitInitialPlanNotification, emitJobFailedNotification, emitjobFinishedNotification, emitJobsSubmittedNotification, emitJobStartedNotification, emitLaunchCompletedNotification, emitLaunchStartedNotification, emitOutputCompletedNotification, emitProgressUpdatedNotification, featureLongToString, getAllListeners, getCommandLine, getFileName, getHadoopVersion, getId, getPigContext, getPigVersion, getScript, getScriptFeatures, getSerializedScript, setCommandLine, setFileName, setPigContext, setScript, setScript, setScript, setScriptFeatures, start, start
public TezScriptState(String id)
public static TezScriptState get()
public void registerListener(PigProgressNotificationListener listener)
registerListener
in class ScriptState
public void dagLaunchNotification(String dagName, OperatorPlan<?> dagPlan, int numVerticesToLaunch)
public void dagStartedNotification(String dagName, String assignedApplicationId)
public void dagProgressNotification(String dagName, int numVerticesCompleted, int progress)
public void dagCompletedNotification(String dagName, TezDAGStats tezDAGStats)
public void addDAGSettingsToConf(org.apache.hadoop.conf.Configuration conf)
public void addVertexSettingsToConf(String dagName, TezOperator tezOp, org.apache.hadoop.conf.Configuration conf)
public void addWorkflowAdjacenciesToConf(TezOperPlan tezPlan, org.apache.hadoop.conf.Configuration conf)
public TezScriptState.TezDAGScriptInfo setDAGScriptInfo(TezPlanContainerNode tezPlanNode)
public TezScriptState.TezDAGScriptInfo getDAGScriptInfo(String dagName)
Copyright © 2007-2017 The Apache Software Foundation