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/10/25 03:41:33 UTC

[jira] [Created] (TEZ-1699) Vertex.setParallelism should throw an exception for invalid invocations

Bikas Saha created TEZ-1699:
-------------------------------

             Summary: 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
            Priority: Critical


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)