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

Hitesh Shah commented on TEZ-1699:
----------------------------------

+1

> Vertex.setParallelism should throw an exception for invalid invocations
> -----------------------------------------------------------------------
>
>                 Key: TEZ-1699
>                 URL: https://issues.apache.org/jira/browse/TEZ-1699
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>            Priority: Critical
>         Attachments: TEZ-1699.1.patch
>
>
> There is a return value of false when setParallelism is not successful. 
> However that may be ignored and in some cases the invocation is actually 
> incorrect and its better to throw an exception than return false. Throwing an 
> unchecked exception can allow doing this compatibly.



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

Reply via email to