{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/16077","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/16077/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/16077/comments","events_url":"https://api.github.com/repos/apache/spark/issues/16077/events","html_url":"https://github.com/apache/spark/pull/16077","id":192484965,"number":16077,"title":"[SPARK-18643][SPARKR] SparkR hangs at session start when installed as a package without Spark","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":3,"created_at":"2016-11-30T06:21:22Z","updated_at":"2016-11-30T14:36:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/16077","html_url":"https://github.com/apache/spark/pull/16077","diff_url":"https://github.com/apache/spark/pull/16077.diff","patch_url":"https://github.com/apache/spark/pull/16077.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nIf SparkR is running as a package and it has previously downloaded Spark Jar it should be able to run as before without having to set SPARK_HOME. Basically with this bug the auto install Spark will only work in the first session.\r\n\r\nThis seems to be a regression on the earlier behavior.\r\n\r\nFix is to always try to install or check for the cached Spark if running in an interactive session.\r\nAs discussed before, we should probably only install Spark iff running in an interactive session (R shell, RStudio etc)\r\n\r\n## How was this patch tested?\r\n\r\nManually\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/263888635","html_url":"https://github.com/apache/spark/pull/16077#issuecomment-263888635","issue_url":"https://api.github.com/repos/apache/spark/issues/16077","id":263888635,"user":{"login":"yanboliang","id":1962026,"avatar_url":"https://avatars.githubusercontent.com/u/1962026?v=3","gravatar_id":"","url":"https://api.github.com/users/yanboliang","html_url":"https://github.com/yanboliang","followers_url":"https://api.github.com/users/yanboliang/followers","following_url":"https://api.github.com/users/yanboliang/following{/other_user}","gists_url":"https://api.github.com/users/yanboliang/gists{/gist_id}","starred_url":"https://api.github.com/users/yanboliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanboliang/subscriptions","organizations_url":"https://api.github.com/users/yanboliang/orgs","repos_url":"https://api.github.com/users/yanboliang/repos","events_url":"https://api.github.com/users/yanboliang/events{/privacy}","received_events_url":"https://api.github.com/users/yanboliang/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T14:36:39Z","updated_at":"2016-11-30T14:36:39Z","body":"Is this means that it will install spark package each time when starting a new session in interactive mode? Thanks."}}
{"actor":{"display_login":"yanboliang"}}