You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2018/11/14 21:04:00 UTC

[jira] [Updated] (SPARK-25986) Banning throw new Errors

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

Sean Owen updated SPARK-25986:
------------------------------
    Docs Text: 
Release notes text:

Certain methods in Spark MLlib would throw NotImplementedError or UnknownError on illegal input. These have been changed to more standard UnsupportedOperationException and IllegalArgumentException.

> Banning throw new Errors
> ------------------------
>
>                 Key: SPARK-25986
>                 URL: https://issues.apache.org/jira/browse/SPARK-25986
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.0.0
>            Reporter: Xiao Li
>            Assignee: Yuanjian Li
>            Priority: Major
>              Labels: release-notes
>
> Adding a linter rule to ban the construction of new Errors and then make sure that we throw the correct exceptions. See the PR https://github.com/apache/spark/pull/22969



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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