[
https://issues.apache.org/jira/browse/TEZ-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049503#comment-14049503
]
Bikas Saha commented on TEZ-1247:
---------------------------------
Users are not expected to call .build(). The are expected to created the DAG,
add edges/vertices. Then call TezClient.submitDAG(dag). TezClient will
internally call DAG.createDAG() that verifies the DAG, does inferences and
finally converts it into PB form for serialization. DAG.createDAG() is already
marked @private. The verify method should be made package private (its used for
testing) and perhaps also renamed to processDAGAndVerify() to clarify that its
doing more than just verification. We want to avoid extra passes over the DAG.
> Method verify() of DAG can't been called multiples times in some cases
> ----------------------------------------------------------------------
>
> Key: TEZ-1247
> URL: https://issues.apache.org/jira/browse/TEZ-1247
> Project: Apache Tez
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Jeff Zhang
> Assignee: Jeff Zhang
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)