You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Burak Yavuz (JIRA)" <ji...@apache.org> on 2015/05/20 01:01:00 UTC
[jira] [Created] (SPARK-7745) Replace assertions with requires
(IllegalArgumentException) and modify other state checks
Burak Yavuz created SPARK-7745:
----------------------------------
Summary: 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