{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10332","labels_url":"https://api.github.com/repos/apache/spark/issues/10332/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10332/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10332/events","html_url":"https://github.com/apache/spark/pull/10332","id":122564112,"number":10332,"title":"[SPARK-12345][MESOS] Filter SPARK_HOME when submitting Spark jobs with Mesos cluster mode.","user":{"login":"tnachen","id":67244,"avatar_url":"https://avatars.githubusercontent.com/u/67244?v=3","gravatar_id":"","url":"https://api.github.com/users/tnachen","html_url":"https://github.com/tnachen","followers_url":"https://api.github.com/users/tnachen/followers","following_url":"https://api.github.com/users/tnachen/following{/other_user}","gists_url":"https://api.github.com/users/tnachen/gists{/gist_id}","starred_url":"https://api.github.com/users/tnachen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnachen/subscriptions","organizations_url":"https://api.github.com/users/tnachen/orgs","repos_url":"https://api.github.com/users/tnachen/repos","events_url":"https://api.github.com/users/tnachen/events{/privacy}","received_events_url":"https://api.github.com/users/tnachen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-16T17:45:48Z","updated_at":"2015-12-16T18:38:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10332","html_url":"https://github.com/apache/spark/pull/10332","diff_url":"https://github.com/apache/spark/pull/10332.diff","patch_url":"https://github.com/apache/spark/pull/10332.patch"},"body":"SPARK_HOME is now causing problem with Mesos cluster mode since spark-submit script has been changed recently to take precendence when running spark-class scripts to look in SPARK_HOME if it's defined.\r\n\r\nWe should skip passing SPARK_HOME from the Spark client in cluster mode with Mesos, since Mesos shouldn't use this configuration but should use spark.executor.home instead."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/165206313","html_url":"https://github.com/apache/spark/pull/10332#issuecomment-165206313","issue_url":"https://api.github.com/repos/apache/spark/issues/10332","id":165206313,"user":{"login":"tnachen","id":67244,"avatar_url":"https://avatars.githubusercontent.com/u/67244?v=3","gravatar_id":"","url":"https://api.github.com/users/tnachen","html_url":"https://github.com/tnachen","followers_url":"https://api.github.com/users/tnachen/followers","following_url":"https://api.github.com/users/tnachen/following{/other_user}","gists_url":"https://api.github.com/users/tnachen/gists{/gist_id}","starred_url":"https://api.github.com/users/tnachen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnachen/subscriptions","organizations_url":"https://api.github.com/users/tnachen/orgs","repos_url":"https://api.github.com/users/tnachen/repos","events_url":"https://api.github.com/users/tnachen/events{/privacy}","received_events_url":"https://api.github.com/users/tnachen/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T18:38:01Z","updated_at":"2015-12-16T18:38:01Z","body":"Yes I would also want to just make changes on the Mesos side and not cause any possible regression on standalone."}}