{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/15131","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/15131/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/15131/comments","events_url":"https://api.github.com/repos/apache/spark/issues/15131/events","html_url":"https://github.com/apache/spark/pull/15131","id":177586485,"number":15131,"title":"[SPARK-17577][SparkR][Core] SparkR support add files to Spark job and get by executors","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},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":30,"created_at":"2016-09-17T15:50:28Z","updated_at":"2016-09-23T14:51:42Z","closed_at":"2016-09-22T03:10:42Z","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/15131","html_url":"https://github.com/apache/spark/pull/15131","diff_url":"https://github.com/apache/spark/pull/15131.diff","patch_url":"https://github.com/apache/spark/pull/15131.patch"},"body":"## What changes were proposed in this pull request?\r\nScala/Python users can add files to Spark job by submit options ```--files``` or ```SparkContext.addFile()```. Meanwhile, users can get the added file by ```SparkFiles.get(filename)```.\r\nWe should also support this function for SparkR users, since they also have the requirements for some shared dependency files. For example, SparkR users can download third party R packages to driver firstly, add these files to the Spark job as dependency by this API and then each executor can install these packages by ```install.packages```.\r\n\r\n## How was this patch tested?\r\nAdd unit test."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/249213840","html_url":"https://github.com/apache/spark/pull/15131#issuecomment-249213840","issue_url":"https://api.github.com/repos/apache/spark/issues/15131","id":249213840,"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-09-23T14:51:42Z","updated_at":"2016-09-23T14:51:42Z","body":"Opened backport PR at #15217. Thanks!"}}
{"actor":{"display_login":"yanboliang"}}