GitHub user xuanyuanking opened a pull request:

    https://github.com/apache/spark/pull/22989

    [SPARK-25986][Build] Banning throw new OutOfMemoryErrors

    ## What changes were proposed in this pull request?
    
    Add scala and java lint check rules to ban the usage of `throw new 
OutOfMemoryErrors` cause it will cause hole executor killed. See more details 
in https://github.com/apache/spark/pull/22969.
    
    ## How was this patch tested?
    
    Local test with lint-scala and lint-java.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xuanyuanking/spark SPARK-25986

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22989.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22989
    
----
commit d67875115f622082519b1dbcb1c1e34c2184b34f
Author: Yuanjian Li <xyliyuanjian@...>
Date:   2018-11-09T05:23:01Z

    banning throw new OutOfMemoryErrors

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to