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(String resourceName,
org.apache.hadoop.fs.Path remoteFsPath) |
void |
addExtraResource(URL url) |
boolean |
disconnect(TezOperator from,
TezOperator to)
Remove an edge from between two nodes.
|
org.apache.hadoop.security.Credentials |
getCredentials() |
int |
getEstimatedTotalParallelism() |
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> |
getExtraResources() |
static 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) |
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, trimBelowclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic org.apache.hadoop.security.Credentials getCredentials()
public int getEstimatedTotalParallelism()
public void setEstimatedParallelism(int estimatedTotalParallelism)
public void addExtraResource(URL url) throws IOException
IOExceptionpublic void addExtraResource(String resourceName, org.apache.hadoop.fs.Path remoteFsPath) throws IOException
IOExceptionpublic Map<String,org.apache.hadoop.yarn.api.records.LocalResource> getExtraResources() throws Exception
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 List<TezOperator> getGrandParentsForGraceParallelism(TezOperPlan tezPlan, TezOperator op)
Copyright © 2007-2017 The Apache Software Foundation