You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2014/04/02 23:27:15 UTC

[jira] [Commented] (TEZ-703) Simplify input initialization in Vertex

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

Bikas Saha commented on TEZ-703:
--------------------------------

[~hitesh] Does this sound similar to the problem you saw about recovery event being processed while initialization was still happening. If we follow the example of this jira and consider primary inputs to a vertex in the same manner as vertex inputs and wait for all of them to signal initialization then we could do away with INITIALIZING state and simplify things considerably.

> Simplify input initialization in Vertex
> ---------------------------------------
>
>                 Key: TEZ-703
>                 URL: https://issues.apache.org/jira/browse/TEZ-703
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Bikas Saha
>
> The flow of input initialization is fairly complex and adds vertex transitions that are hard to follow. The number of comments needed to clarify TEZ-683 show this complexity. It may be possible to collapse the INITIALIZING state of the vertex into the NEW state and reduce the complexity of the init transition. The vertex could wait for inputs to be inited just like it waits for input vertices to be inited. This would unify the code paths and simplify things a bit.



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