{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/5504","labels_url":"https://api.github.com/repos/apache/spark/issues/5504/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/5504/comments","events_url":"https://api.github.com/repos/apache/spark/issues/5504/events","html_url":"https://github.com/apache/spark/pull/5504","id":68245531,"number":5504,"title":"[SPARK-6890] [core] Fix launcher lib work with SPARK_PREPEND_CLASSES.","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":15,"created_at":"2015-04-14T02:52:14Z","updated_at":"2015-04-14T20:06:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/5504","html_url":"https://github.com/apache/spark/pull/5504","diff_url":"https://github.com/apache/spark/pull/5504.diff","patch_url":"https://github.com/apache/spark/pull/5504.patch"},"body":"The fix for SPARK-6406 broke the case where sub-processes are launched\r\nwhen SPARK_PREPEND_CLASSES is set, because the code now would only add\r\nthe launcher's build directory to the sub-process's classpath instead\r\nof the complete assembly.\r\n\r\nThis patch fixes the problem by having the launch scripts stash the\r\nassembly's location in an environment variable. This is not the prettiest\r\nsolution, but it avoids having to plumb that location all the way through\r\nthe Worker code that launches executors. The env variable is always\r\nset by the launch scripts, so users cannot override it."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/93043848","html_url":"https://github.com/apache/spark/pull/5504#issuecomment-93043848","issue_url":"https://api.github.com/repos/apache/spark/issues/5504","id":93043848,"user":{"login":"andrewor14","id":2133137,"avatar_url":"https://avatars.githubusercontent.com/u/2133137?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewor14","html_url":"https://github.com/andrewor14","followers_url":"https://api.github.com/users/andrewor14/followers","following_url":"https://api.github.com/users/andrewor14/following{/other_user}","gists_url":"https://api.github.com/users/andrewor14/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewor14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewor14/subscriptions","organizations_url":"https://api.github.com/users/andrewor14/orgs","repos_url":"https://api.github.com/users/andrewor14/repos","events_url":"https://api.github.com/users/andrewor14/events{/privacy}","received_events_url":"https://api.github.com/users/andrewor14/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T20:06:45Z","updated_at":"2015-04-14T20:06:45Z","body":"retest this please"}}