{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12000","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12000/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12000/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12000/events","html_url":"https://github.com/apache/spark/pull/12000","id":144018810,"number":12000,"title":"[SPARK-14204] [SQL] register driverClass rather than user-specified class","user":{"login":"mchalek","id":3099936,"avatar_url":"https://avatars.githubusercontent.com/u/3099936?v=3","gravatar_id":"","url":"https://api.github.com/users/mchalek","html_url":"https://github.com/mchalek","followers_url":"https://api.github.com/users/mchalek/followers","following_url":"https://api.github.com/users/mchalek/following{/other_user}","gists_url":"https://api.github.com/users/mchalek/gists{/gist_id}","starred_url":"https://api.github.com/users/mchalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchalek/subscriptions","organizations_url":"https://api.github.com/users/mchalek/orgs","repos_url":"https://api.github.com/users/mchalek/repos","events_url":"https://api.github.com/users/mchalek/events{/privacy}","received_events_url":"https://api.github.com/users/mchalek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-28T16:26:43Z","updated_at":"2016-05-26T03:33:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12000","html_url":"https://github.com/apache/spark/pull/12000","diff_url":"https://github.com/apache/spark/pull/12000.diff","patch_url":"https://github.com/apache/spark/pull/12000.patch"},"body":"This pull request fixes an issue in which cluster-mode executors fail to properly register a JDBC driver when the driver is provided in a jar by the user, but the driver class name is derived from a JDBC URL (rather than specified by the user).  The consequence of this is that all JDBC accesses under the described circumstances fail with an `IllegalStateException`. I reported the issue here: https://issues.apache.org/jira/browse/SPARK-14204\r\n\r\nMy proposed solution is to have the executors register the JDBC driver class under all circumstances, not only when the driver is specified by the user.\r\n\r\nThis patch was tested manually.  I built an assembly jar, deployed it to a cluster, and confirmed that the problem was fixed.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/221769197","html_url":"https://github.com/apache/spark/pull/12000#issuecomment-221769197","issue_url":"https://api.github.com/repos/apache/spark/issues/12000","id":221769197,"user":{"login":"zzcclp","id":9430290,"avatar_url":"https://avatars.githubusercontent.com/u/9430290?v=3","gravatar_id":"","url":"https://api.github.com/users/zzcclp","html_url":"https://github.com/zzcclp","followers_url":"https://api.github.com/users/zzcclp/followers","following_url":"https://api.github.com/users/zzcclp/following{/other_user}","gists_url":"https://api.github.com/users/zzcclp/gists{/gist_id}","starred_url":"https://api.github.com/users/zzcclp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzcclp/subscriptions","organizations_url":"https://api.github.com/users/zzcclp/orgs","repos_url":"https://api.github.com/users/zzcclp/repos","events_url":"https://api.github.com/users/zzcclp/events{/privacy}","received_events_url":"https://api.github.com/users/zzcclp/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T03:33:58Z","updated_at":"2016-05-26T03:33:58Z","body":"@JoshRosen , could you merge this into branch-1.6?"}}
{"actor":{"display_login":"zzcclp"}}