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] [Assigned] (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 ]
Apache Spark reassigned SPARK-7745:
-----------------------------------
Assignee: Apache Spark
> 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: Apache Spark
> 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