***UNCHECKED*** [jira] [Updated] (SPARK-25986) Banning throw new OutOfMemoryErrors

2018-11-12 Thread Sean Owen (JIRA)


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

Sean Owen updated SPARK-25986:
--
Target Version/s: 3.0.0
  Labels: release-notes  (was: starter)

Per the pull request, I propose we expand this to include all Error subclasses. 
In almost all cases it's the wrong thing to throw, as they are meant to 
represent internal JVM errors. This could cause user-visible changes because a 
different exception is thrown, so can only happen for 3.0, but, that seems like 
a good place to do it.

> Banning throw new OutOfMemoryErrors
> ---
>
> 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
>Priority: Major
>  Labels: release-notes
>
> Adding a linter rule to ban the construction of new OutOfMemoryErrors 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2018-11-08 Thread Xiao Li (JIRA)


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

Xiao Li updated SPARK-25986:

Description: Adding a linter rule to ban the construction of new 
OutOfMemoryErrors and then make sure that we throw the correct exceptions. See 
the PR https://github.com/apache/spark/pull/22969  (was: Adding a linter rule 
to ban the construction of new OutOfMemoryErrors and then make sure that all of 
the OSS and edge code is throwing the correct exceptions. See the PR 
https://github.com/apache/spark/pull/22969)

> Banning throw new OutOfMemoryErrors
> ---
>
> 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
>Priority: Major
>  Labels: starter
>
> Adding a linter rule to ban the construction of new OutOfMemoryErrors 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org