org.apache.pig.tools.pigstats.mapreduce
Class MRScriptState
java.lang.Object
org.apache.pig.tools.pigstats.ScriptState
org.apache.pig.tools.pigstats.mapreduce.MRScriptState
public class MRScriptState
- extends ScriptState
ScriptStates encapsulates settings for a Pig script that runs on a hadoop
cluster. These settings are added to all MR jobs spawned by the script and
in turn are persisted in the hadoop job xml. With the properties already in
the job xml, users who want to know the relations between the script and MR
jobs can derive them from the job xmls.
Methods inherited from class org.apache.pig.tools.pigstats.ScriptState |
bitSetToLong, emitInitialPlanNotification, emitJobFailedNotification, emitjobFinishedNotification, emitJobsSubmittedNotification, emitJobStartedNotification, emitLaunchCompletedNotification, emitLaunchStartedNotification, emitOutputCompletedNotification, emitProgressUpdatedNotification, featureLongToString, getAllListeners, getCommandLine, getFileName, getHadoopVersion, getId, getPigContext, getPigVersion, getScript, getScriptFeatures, registerListener, setCommandLine, setFileName, setPigContext, setScript, setScript, setScript, setScriptFeatures, start, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MRScriptState
public MRScriptState(String id)
get
public static MRScriptState get()
addSettingsToConf
public void addSettingsToConf(MapReduceOper mro,
org.apache.hadoop.conf.Configuration conf)
addWorkflowAdjacenciesToConf
public void addWorkflowAdjacenciesToConf(MROperPlan mrop,
org.apache.hadoop.conf.Configuration conf)
getAlias
public String getAlias(MapReduceOper mro)
getAliasLocation
public String getAliasLocation(MapReduceOper mro)
getPigFeature
public String getPigFeature(MapReduceOper mro)
Copyright © 2007-2012 The Apache Software Foundation