You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tathagata Das (JIRA)" <ji...@apache.org> on 2015/05/21 09:32:00 UTC

[jira] [Updated] (SPARK-7745) Replace assertions with requires (IllegalArgumentException) and modify other state checks

     [ https://issues.apache.org/jira/browse/SPARK-7745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tathagata Das updated SPARK-7745:
---------------------------------
    Assignee: Burak Yavuz

> Replace assertions with requires (IllegalArgumentException) and modify other state checks
> -----------------------------------------------------------------------------------------
>
>                 Key: SPARK-7745
>                 URL: https://issues.apache.org/jira/browse/SPARK-7745
>             Project: Spark
>          Issue Type: Improvement
>          Components: Streaming
>            Reporter: Burak Yavuz
>            Assignee: Burak Yavuz
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> Assertions can be turned off. Require throws an IllegalArgumentException, which makes more sense, when it's a variable set by the user. Also, some SparkException's can be changed to IllegalStateExceptions for the streaming spark context state checks.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org