|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tez.mapreduce.hadoop.MultiStageMRConfToTezTranslator
public class MultiStageMRConfToTezTranslator
| Constructor Summary | |
|---|---|
MultiStageMRConfToTezTranslator()
|
|
| Method Summary | |
|---|---|
static org.apache.hadoop.conf.Configuration |
convertMRToLinearTez(org.apache.hadoop.conf.Configuration srcConf)
Converts a single completely configured MR* job to something that can be understood by the Tez MR runtime. |
static org.apache.hadoop.conf.Configuration |
getInputConfOnEdge(org.apache.hadoop.conf.Configuration srcVertex,
org.apache.hadoop.conf.Configuration destVertex)
Given a source and destination vertex, returns the config which should be used for the Input on this edge. |
static org.apache.hadoop.conf.Configuration |
getOutputConfOnEdge(org.apache.hadoop.conf.Configuration srcVertex,
org.apache.hadoop.conf.Configuration destVertex)
Given a source and destination vertex, returns the config which should be used for the Output on this edge. |
static org.apache.hadoop.conf.Configuration[] |
getStageConfs(org.apache.hadoop.conf.Configuration conf)
Given a single base MRR config, returns a list of complete stage configurations. |
static void |
translateVertexConfToTez(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.conf.Configuration predecessorConf)
Translates MR keys to Tez for the provided vertex conf. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiStageMRConfToTezTranslator()
| Method Detail |
|---|
public static org.apache.hadoop.conf.Configuration convertMRToLinearTez(org.apache.hadoop.conf.Configuration srcConf)
srcConf - the configuration for the entire MR* job. Configs for the first
and last stage are expected to be set at root level. Configs for
intermediate stages will be prefixed with the stage number.
@InterfaceAudience.LimitedPrivate(value="Hive, Pig")
@InterfaceStability.Unstable
public static void translateVertexConfToTez(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.conf.Configuration predecessorConf)
conf - Configuration for the vertex being configured.predecessorConf - Configuration for the previous vertex in the MR* chain
@InterfaceAudience.LimitedPrivate(value="Hive, Pig")
@InterfaceStability.Unstable
public static org.apache.hadoop.conf.Configuration getOutputConfOnEdge(org.apache.hadoop.conf.Configuration srcVertex,
org.apache.hadoop.conf.Configuration destVertex)
srcVertex - The tez configuration for the source vertex.destVertex - The tez configuration for the destination vertex.
@InterfaceAudience.LimitedPrivate(value="Hive, Pig")
@InterfaceStability.Unstable
public static org.apache.hadoop.conf.Configuration getInputConfOnEdge(org.apache.hadoop.conf.Configuration srcVertex,
org.apache.hadoop.conf.Configuration destVertex)
srcVertex - The tez configuration for the source vertex.destVertex - The tez configuration for the destination vertex.
@InterfaceAudience.Private public static org.apache.hadoop.conf.Configuration[] getStageConfs(org.apache.hadoop.conf.Configuration conf)
conf -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||