Skip to content

Commit

Permalink
Update comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
dongjoon-hyun committed Feb 3, 2018
1 parent 234a637 commit 52e6f19
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ import org.apache.spark.util.Utils
*/
object DriverRegistry extends Logging {

// Initialize DriverManager first to prevent potential deadlocks between DriverManager and Driver
/**
* Load DriverManager first to avoid any race condition between
* DriverManager static initialization block and specific driver class's
* static initialization block. e.g. PhoenixDriver
*/
DriverManager.getDrivers

private val wrapperMap: mutable.Map[String, DriverWrapper] = mutable.Map.empty
Expand Down

0 comments on commit 52e6f19

Please sign in to comment.