public class TezOperPlan extends OperatorPlan<TezOperator>
OperatorPlan.IndexHelper<E>log, mFromEdges, mKeys, mOps, mSoftFromEdges, mSoftToEdges, mToEdges| Constructor and Description |
|---|
TezOperPlan() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtraResource(java.lang.String resourceName,
org.apache.hadoop.fs.Path remoteFsPath) |
void |
addExtraResource(java.net.URL url) |
boolean |
disconnect(TezOperator from,
TezOperator to)
Remove an edge from between two nodes.
|
org.apache.hadoop.security.Credentials |
getCredentials() |
int |
getEstimatedTotalParallelism() |
java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> |
getExtraResources() |
static java.util.List<TezOperator> |
getGrandParentsForGraceParallelism(TezOperPlan tezPlan,
TezOperator op) |
void |
moveTree(TezOperator root,
TezOperPlan newPlan)
Move everything below a given operator to the new operator plan.
|
void |
remove(TezOperator op)
Remove an operator from the plan.
|
void |
setEstimatedParallelism(int estimatedTotalParallelism) |
java.lang.String |
toString() |
add, addAsLeaf, addAsRoot, connect, createSoftLink, doInsertBetween, dump, getKeys, getLeaves, getOperator, getOperatorKey, getPredecessors, getRoots, getSoftLinkPredecessors, getSoftLinkSuccessors, getSuccessors, insertBetween, isSingleLeafPlan, iterator, merge, mergeSharedPlan, pathExists, pushAfter, pushBefore, removeAndReconnect, removeAndReconnectMultiSucc, removeSoftLink, replace, size, swap, trimAbove, trimBelowpublic org.apache.hadoop.security.Credentials getCredentials()
public int getEstimatedTotalParallelism()
public void setEstimatedParallelism(int estimatedTotalParallelism)
public java.lang.String toString()
toString in class java.lang.Objectpublic void addExtraResource(java.net.URL url)
throws java.io.IOException
java.io.IOExceptionpublic void addExtraResource(java.lang.String resourceName,
org.apache.hadoop.fs.Path remoteFsPath)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> getExtraResources()
throws java.lang.Exception
java.lang.Exceptionpublic void remove(TezOperator op)
OperatorPlanremove in class OperatorPlan<TezOperator>op - Operator to remove.public boolean disconnect(TezOperator from, TezOperator to)
OperatorPlanOperatorPlan.insertBetween(Operator, Operator, Operator)
if disconnect is used in the process of inserting a new node between two nodes
by calling disconnect followed by a connect.disconnect in class OperatorPlan<TezOperator>from - Operator data would flow from.to - Operator data would flow to.public void moveTree(TezOperator root, TezOperPlan newPlan) throws PlanException
root - Operator to move everything under including the root operatornewPlan - new operator plan to move things intoPlanExceptionpublic static java.util.List<TezOperator> getGrandParentsForGraceParallelism(TezOperPlan tezPlan, TezOperator op)
Copyright © 2007-2025 The Apache Software Foundation