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(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
addDAGSettingsToConf(org.apache.hadoop.conf.Configuration conf) |
void |
addVertexSettingsToConf(java.lang.String dagName,
TezOperator tezOp,
org.apache.hadoop.conf.Configuration conf) |
void |
addWorkflowAdjacenciesToConf(TezOperPlan tezPlan,
org.apache.hadoop.conf.Configuration conf) |
void |
dagCompletedNotification(java.lang.String dagName,
TezDAGStats tezDAGStats) |
void |
dagLaunchNotification(java.lang.String dagName,
OperatorPlan<?> dagPlan,
int numVerticesToLaunch) |
void |
dagProgressNotification(java.lang.String dagName,
int numVerticesCompleted,
int progress) |
void |
dagStartedNotification(java.lang.String dagName,
java.lang.String assignedApplicationId) |
static TezScriptState |
get() |
TezScriptState.TezDAGScriptInfo |
getDAGScriptInfo(java.lang.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 static TezScriptState get()
public void registerListener(PigProgressNotificationListener listener)
registerListener
in class ScriptState
public void dagLaunchNotification(java.lang.String dagName, OperatorPlan<?> dagPlan, int numVerticesToLaunch)
public void dagStartedNotification(java.lang.String dagName, java.lang.String assignedApplicationId)
public void dagProgressNotification(java.lang.String dagName, int numVerticesCompleted, int progress)
public void dagCompletedNotification(java.lang.String dagName, TezDAGStats tezDAGStats)
public void addDAGSettingsToConf(org.apache.hadoop.conf.Configuration conf)
public void addVertexSettingsToConf(java.lang.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(java.lang.String dagName)
Copyright © 2007-2017 The Apache Software Foundation