{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14420","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14420/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14420/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14420/events","html_url":"https://github.com/apache/spark/pull/14420","id":168467360,"number":14420,"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,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-30T13:26:44Z","updated_at":"2016-07-30T13:27:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14420","html_url":"https://github.com/apache/spark/pull/14420","diff_url":"https://github.com/apache/spark/pull/14420.diff","patch_url":"https://github.com/apache/spark/pull/14420.patch"},"body":"This is a pull request that was originally merged against branch-1.6 as #12000, now being merged into master as well.  @srowen @zzcclp @JoshRosen \r\n\r\nThis 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."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/236365213","html_url":"https://github.com/apache/spark/pull/14420#issuecomment-236365213","issue_url":"https://api.github.com/repos/apache/spark/issues/14420","id":236365213,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T13:27:23Z","updated_at":"2016-07-30T13:27:23Z","body":"Can one of the admins verify this patch?"}}
{"actor":{"display_login":"AmplabJenkins"}}