public class TezScriptState extends ScriptState
ScriptState.AliasVisitor, ScriptState.FeatureVisitor, ScriptState.PIG_FEATURE, ScriptState.PIG_PROPERTY
commandLine, fileName, hadoopVersion, id, listeners, pigContext, pigVersion, script, scriptFeatures
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() |
org.apache.pig.tools.pigstats.tez.TezScriptState.TezDAGScriptInfo |
getDAGScriptInfo(java.lang.String dagName) |
void |
registerListener(PigProgressNotificationListener listener) |
org.apache.pig.tools.pigstats.tez.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, 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 org.apache.pig.tools.pigstats.tez.TezScriptState.TezDAGScriptInfo setDAGScriptInfo(TezPlanContainerNode tezPlanNode)
public org.apache.pig.tools.pigstats.tez.TezScriptState.TezDAGScriptInfo getDAGScriptInfo(java.lang.String dagName)
Copyright © 2007-2012 The Apache Software Foundation