{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7868","labels_url":"https://api.github.com/repos/apache/spark/issues/7868/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7868/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7868/events","html_url":"https://github.com/apache/spark/pull/7868","id":98616956,"number":7868,"title":"[SQL] [SPARK-8064] Fixes HiveSparkSubmitSuite for Hive 1.2.1 upgrade","user":{"login":"liancheng","id":230655,"avatar_url":"https://avatars.githubusercontent.com/u/230655?v=3","gravatar_id":"","url":"https://api.github.com/users/liancheng","html_url":"https://github.com/liancheng","followers_url":"https://api.github.com/users/liancheng/followers","following_url":"https://api.github.com/users/liancheng/following{/other_user}","gists_url":"https://api.github.com/users/liancheng/gists{/gist_id}","starred_url":"https://api.github.com/users/liancheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liancheng/subscriptions","organizations_url":"https://api.github.com/users/liancheng/orgs","repos_url":"https://api.github.com/users/liancheng/repos","events_url":"https://api.github.com/users/liancheng/events{/privacy}","received_events_url":"https://api.github.com/users/liancheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-08-02T15:32:54Z","updated_at":"2015-08-02T17:49:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7868","html_url":"https://github.com/apache/spark/pull/7868","diff_url":"https://github.com/apache/spark/pull/7868.diff","patch_url":"https://github.com/apache/spark/pull/7868.patch"},"body":"This is a fork of PR #7191 authored by @steveloughran.  This PR fixes `HiveSparkSubmitSuite` test failures.\r\n\r\nHive 0.14.0+ adds time suffixes (`s`, `ms`, and `d`, etc.) to the original default values of a bunch of `HiveConf` options that define various timeouts (see [HIVE-5799] [2]). This fails `HiveContext` initialization when we are connecting to a lower version of Hive (e.g., 0.12.0 in `HiveSparkSubmitSuite`), because these options are expected to be integral values in lower versions of Hive.\r\n\r\nThis PR enumerates all such options and converts their values to corresponding `Long` values according to their output time unit before passing them to the metastore Hive client of lower versions.\r\n\r\nPlease refer to [this failed Jenkins build] [1] for more details about the failed test case.\r\n\r\n[1]: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/39373/testReport/org.apache.spark.sql.hive/HiveSparkSubmitSuite/SPARK_8020__set_sql_conf_in_spark_conf/\r\n[2]: https://issues.apache.org/jira/browse/HIVE-5799"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/127050489","html_url":"https://github.com/apache/spark/pull/7868#issuecomment-127050489","issue_url":"https://api.github.com/repos/apache/spark/issues/7868","id":127050489,"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-08-02T17:49:55Z","updated_at":"2015-08-02T17:49:55Z","body":"Merged build finished. Test FAILed."}}