[
https://issues.apache.org/jira/browse/TEZ-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bikas Saha updated TEZ-1170:
----------------------------
Attachment: TEZ-1170.1.patch
Refactored the code so that all cases of -1 numTasks follow the same code path.
Case with numTasks > 0 but root initializers must run is special cased out. All
existing tests pass and new tests added.
Since this is an extensive refactoring without any change in existing
functionality, I plan to commit this unless someone wants to reviews this by
Monday. [~daijy] Can you please verify your tests with this new patch applied
to a clean Tez build from master. Thanks!
> Simplify Vertex Initializing transition
> ---------------------------------------
>
> Key: TEZ-1170
> URL: https://issues.apache.org/jira/browse/TEZ-1170
> Project: Apache Tez
> Issue Type: Improvement
> Reporter: Siddharth Seth
> Attachments: TEZ-1170.1.patch
>
>
> After TEZ-1145 and 1151, a vertex should only need to stay in INITIALZING
> state when it has an uninitialized edge, or when the parallelism is at -1
> (not set yet). Waiting for all RootInputInitializers to complete should not
> be required - as long as one of them sets parallelism (via a VertexManager).
--
This message was sent by Atlassian JIRA
(v6.2#6252)