Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20359#discussion_r163750452
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/DriverRegistry.scala
 ---
    @@ -32,6 +32,9 @@ import org.apache.spark.util.Utils
      */
     object DriverRegistry extends Logging {
     
    +  // Initialize DriverManager first to prevent potential deadlocks between 
DriverManager and Driver
    --- End diff --
    
    we can copy something from the storm PR: 
https://github.com/apache/storm/pull/2134/files


---

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

Reply via email to