{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/16330","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/16330/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/16330/comments","events_url":"https://api.github.com/repos/apache/spark/issues/16330/events","html_url":"https://github.com/apache/spark/pull/16330","id":196304749,"number":16330,"title":"[SPARK-18817][SPARKR][SQL] change derby log output and metastore to temp dir","user":{"login":"felixcheung","id":8969467,"avatar_url":"https://avatars.githubusercontent.com/u/8969467?v=3","gravatar_id":"","url":"https://api.github.com/users/felixcheung","html_url":"https://github.com/felixcheung","followers_url":"https://api.github.com/users/felixcheung/followers","following_url":"https://api.github.com/users/felixcheung/following{/other_user}","gists_url":"https://api.github.com/users/felixcheung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixcheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixcheung/subscriptions","organizations_url":"https://api.github.com/users/felixcheung/orgs","repos_url":"https://api.github.com/users/felixcheung/repos","events_url":"https://api.github.com/users/felixcheung/events{/privacy}","received_events_url":"https://api.github.com/users/felixcheung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-18T22:49:31Z","updated_at":"2016-12-20T23:32:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/16330","html_url":"https://github.com/apache/spark/pull/16330","diff_url":"https://github.com/apache/spark/pull/16330.diff","patch_url":"https://github.com/apache/spark/pull/16330.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nPasses R `tempdir()` (this is the R session temp dir, shared with other temp files/dirs) to JVM, override Hadoop (Hive) Conf for JDO if not set (eg. hive-site.xml not loaded) for metastore_db\r\n\r\nSet System.Property for derby home dir to move derby.log\r\n\r\n## How was this patch tested?\r\n\r\nManually, unit tests\r\n\r\nWith this, these are relocated to under /tmp\r\n```\r\n# ls /tmp/RtmpG2M0cB/\r\nderby.log  metastore_db\r\n```\r\nAnd they are removed automatically when the R session is ended."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/268390171","html_url":"https://github.com/apache/spark/pull/16330#issuecomment-268390171","issue_url":"https://api.github.com/repos/apache/spark/issues/16330","id":268390171,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T23:32:43Z","updated_at":"2016-12-20T23:32:43Z","body":"**[Test build #70435 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/70435/testReport)** for PR 16330 at commit [`0ce9905`](https://github.com/apache/spark/commit/0ce9905a5b2ebf8c4f844340efea29106ce09b27)."}}
{"actor":{"display_login":"SparkQA"}}