{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12410","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12410/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12410/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12410/events","html_url":"https://github.com/apache/spark/pull/12410","id":148583926,"number":12410,"title":"[WIP] [SQL] Towards removing HiveContext","user":{"login":"yhuai","id":2072857,"avatar_url":"https://avatars.githubusercontent.com/u/2072857?v=3","gravatar_id":"","url":"https://api.github.com/users/yhuai","html_url":"https://github.com/yhuai","followers_url":"https://api.github.com/users/yhuai/followers","following_url":"https://api.github.com/users/yhuai/following{/other_user}","gists_url":"https://api.github.com/users/yhuai/gists{/gist_id}","starred_url":"https://api.github.com/users/yhuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhuai/subscriptions","organizations_url":"https://api.github.com/users/yhuai/orgs","repos_url":"https://api.github.com/users/yhuai/repos","events_url":"https://api.github.com/users/yhuai/events{/privacy}","received_events_url":"https://api.github.com/users/yhuai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-15T07:45:13Z","updated_at":"2016-04-15T08:23:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12410","html_url":"https://github.com/apache/spark/pull/12410","diff_url":"https://github.com/apache/spark/pull/12410.diff","patch_url":"https://github.com/apache/spark/pull/12410.patch"},"body":"## This PR does not run thrift server tests because jenkins run those tests first and will fail the build if there is any failure. I'd like to know how many hive tests are broken first.\r\n\r\n## This PR is based on https://github.com/apache/spark/pull/12405. This PR aims to figure out required changes for removing HiveContext.\r\n\r\n\r\n\r\n## What changes were proposed in this pull request?\r\n\r\n(Please fill in changes proposed in this fix)\r\n\r\n\r\n## How was this patch tested?\r\n\r\n(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)\r\n\r\n\r\n(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/210356553","html_url":"https://github.com/apache/spark/pull/12410#issuecomment-210356553","issue_url":"https://api.github.com/repos/apache/spark/issues/12410","id":210356553,"user":{"login":"yhuai","id":2072857,"avatar_url":"https://avatars.githubusercontent.com/u/2072857?v=3","gravatar_id":"","url":"https://api.github.com/users/yhuai","html_url":"https://github.com/yhuai","followers_url":"https://api.github.com/users/yhuai/followers","following_url":"https://api.github.com/users/yhuai/following{/other_user}","gists_url":"https://api.github.com/users/yhuai/gists{/gist_id}","starred_url":"https://api.github.com/users/yhuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhuai/subscriptions","organizations_url":"https://api.github.com/users/yhuai/orgs","repos_url":"https://api.github.com/users/yhuai/repos","events_url":"https://api.github.com/users/yhuai/events{/privacy}","received_events_url":"https://api.github.com/users/yhuai/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T08:23:37Z","updated_at":"2016-04-15T08:23:37Z","body":"`org.apache.spark.sql.hive.execution.SQLQuerySuite.sanity test for SPARK-6618` will fail because we will not use executionHive to protect the call of parseSql. So, `def hiveConf` in `HiveSqlParser` is trying to create a client to the executionHive when we submit the query in another thread."}}