GitHub user dongjoon-hyun opened a pull request: https://github.com/apache/spark/pull/20359
[SPARK-23186][SQL] Initialize DriverManager first before loading JDBC Drivers ## What changes were proposed in this pull request? Since some JDBC Drivers have class initialization code to call `DriverManager`, we need to initialize DriverManager first in order to avoid potential executor-side deadlock situations like [STORM-2527](https://issues.apache.org/jira/browse/STORM-2527). ## How was this patch tested? N/A 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/20359.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 #20359 ---- commit 234a637085451b27c7f7c5ca18d94d46c0815d9d Author: Dongjoon Hyun <dongjoon@...> Date: 2018-01-23T04:59:31Z [SPARK-23186][SQL] Initialize DriverManager first before loading Drivers ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org