GitHub user dongjoon-hyun opened a pull request:

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

    [SPARK-23186][SQL] Loading JDBC Drivers should be synchronized

    ## What changes were proposed in this pull request?
    
    Since some JDBC Drivers have class initialization code to call 
`DriverManager`, we need to synchronize them to avoid potential executor-side 
deadlock situations like 
[STORM-2527](https://issues.apache.org/jira/browse/STORM-2527).
    
    ## How was this patch tested?
    
    This only extends the coverage of synchronized block from a part to the 
whole function.

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

    $ git pull https://github.com/dongjoon-hyun/spark SPARK-23186

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

    https://github.com/apache/spark/pull/20357.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 #20357
    
----
commit f8c3eac6ddfdb94e1e5153da64dcfb706e191ba8
Author: Dongjoon Hyun <dongjoon@...>
Date:   2018-01-23T04:11:01Z

    [SPARK-23186][SQL] Loading JDBC Drivers should be synchronized

----


---

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

Reply via email to