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

Bikas Saha commented on TEZ-2232:
---------------------------------

The patch refactors the code in VertexImpl for better reuse in this case.
Changes setParallelism to allow multiple changes as long as no tasks have been 
scheduled. Tests added.
Changes setParallelism to allow increasing the tasks. Tests added.
Change history handling to allow multiple updates and reuse some common code. 
Not fully as that would increase this jiras scope. Its tracked separately. 
Tests added.
[~hitesh] Please review.

> Allow setParallelism to be called multiple times before tasks get scheduled
> ---------------------------------------------------------------------------
>
>                 Key: TEZ-2232
>                 URL: https://issues.apache.org/jira/browse/TEZ-2232
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>         Attachments: TEZ-2232.1.patch
>
>
> Currently, this is allowed only once currently. It is harder to support this 
> after the vertex tasks have already started running. But allowing it before 
> tasks start running is actually trivial. This just allows VertexManagers to 
> change their minds multiple times before they start the vertex processing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to