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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14551409#comment-14551409 ] 

Apache Spark commented on SPARK-7745:
-------------------------------------

User 'brkyvz' has created a pull request for this issue:
https://github.com/apache/spark/pull/6271

> 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
>            Priority: Minor
>
> 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