[ 
https://issues.apache.org/jira/browse/TEZ-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056902#comment-14056902
 ] 

Jeff Zhang commented on TEZ-1247:
---------------------------------

[~bikassaha]
bq. Can verify() be called without calling processDAGEdges()? If not, then can 
verify be called multiple times if processDAGEdges() can only be called once?

Yes, processDAGEdges() has been implicitly called before verify().  
processDAGEdges has been put in to upfront when user add GroupInputEdge and add 
output to VertexGroup. 

bq. What are the issues?

I plan to add a new API in TezClient ( eg. explainDAG ) for generating dot file 
( may be other stuff in future ), still using submitDAG may be a little 
confusing to users. 

Besides,  one extreme example I can see is that user call submit 2 times in 
client side, it is possible to throw the exception happened in verify rather 
than the DuplicateDAGName exception from server side. If the exception is from 
the verify, this will confuse users.

> 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
>         Attachments: Tez-1247-2.patch, Tez-1247.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to