{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/6627","labels_url":"https://api.github.com/repos/apache/spark/issues/6627/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/6627/comments","events_url":"https://api.github.com/repos/apache/spark/issues/6627/events","html_url":"https://github.com/apache/spark/pull/6627","id":84813885,"number":6627,"title":"[SPARK-8065] [hive] Add support for Hive 0.14 metastores","user":{"login":"vanzin","id":1694083,"avatar_url":"https://avatars.githubusercontent.com/u/1694083?v=3","gravatar_id":"","url":"https://api.github.com/users/vanzin","html_url":"https://github.com/vanzin","followers_url":"https://api.github.com/users/vanzin/followers","following_url":"https://api.github.com/users/vanzin/following{/other_user}","gists_url":"https://api.github.com/users/vanzin/gists{/gist_id}","starred_url":"https://api.github.com/users/vanzin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanzin/subscriptions","organizations_url":"https://api.github.com/users/vanzin/orgs","repos_url":"https://api.github.com/users/vanzin/repos","events_url":"https://api.github.com/users/vanzin/events{/privacy}","received_events_url":"https://api.github.com/users/vanzin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":31,"created_at":"2015-06-03T23:21:16Z","updated_at":"2015-06-05T05:17:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/6627","html_url":"https://github.com/apache/spark/pull/6627","diff_url":"https://github.com/apache/spark/pull/6627.diff","patch_url":"https://github.com/apache/spark/pull/6627.patch"},"body":"This change has two parts.\r\n\r\nThe first one gets rid of \"ReflectionMagic\". That worked well for the differences between 0.12 and\r\n0.13, but breaks in 0.14, since some of the APIs that need to be used have primitive types. I could\r\nnot figure out a way to make that class work with primitive types. So instead I wrote some shims\r\n (I can already hear the collective sigh) that find the appropriate methods via reflection. This should\r\nbe faster since the method instances are cached, and the code is not much uglier than before,\r\nwith the advantage that all the ugliness is local to one file (instead of multiple switch statements on\r\nthe version being used scattered in ClientWrapper).\r\n\r\nThe second part is simple: add code to handle Hive 0.14. A few new methods had to be added\r\nto the new shims."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/109165979","html_url":"https://github.com/apache/spark/pull/6627#issuecomment-109165979","issue_url":"https://api.github.com/repos/apache/spark/issues/6627","id":109165979,"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":"2015-06-05T05:17:13Z","updated_at":"2015-06-05T05:17:13Z","body":" Merged build triggered."}}