{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/13824","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/13824/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/13824/comments","events_url":"https://api.github.com/repos/apache/spark/issues/13824/events","html_url":"https://github.com/apache/spark/pull/13824","id":161548956,"number":13824,"title":"[SPARK-16110][YARN][PYSPARK] Fix allowing python version to be speicifed per submit for cluster mode.","user":{"login":"KevinGrealish","id":6888317,"avatar_url":"https://avatars.githubusercontent.com/u/6888317?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinGrealish","html_url":"https://github.com/KevinGrealish","followers_url":"https://api.github.com/users/KevinGrealish/followers","following_url":"https://api.github.com/users/KevinGrealish/following{/other_user}","gists_url":"https://api.github.com/users/KevinGrealish/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinGrealish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinGrealish/subscriptions","organizations_url":"https://api.github.com/users/KevinGrealish/orgs","repos_url":"https://api.github.com/users/KevinGrealish/repos","events_url":"https://api.github.com/users/KevinGrealish/events{/privacy}","received_events_url":"https://api.github.com/users/KevinGrealish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2016-06-21T21:55:26Z","updated_at":"2016-07-27T00:41:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/13824","html_url":"https://github.com/apache/spark/pull/13824","diff_url":"https://github.com/apache/spark/pull/13824.diff","patch_url":"https://github.com/apache/spark/pull/13824.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis fix allows submit of pyspark jobs to specify python 2 or 3.\r\n\r\nChange ordering in setup for application master environment so env vars PYSPARK_PYTHON and PYSPARK_DRIVER_PYTHON can be overridden by spark.yarn.appMasterEnv.* conf settings. This applies to YARN in cluster mode. This allows them to be set per submission without needing the unset the env vars (which is not always possible - e.g. batch submit with LIVY only exposes the arguments to spark-submit)\r\n\r\n## How was this patch tested?\r\nManual and existing unit tests.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/235448914","html_url":"https://github.com/apache/spark/pull/13824#issuecomment-235448914","issue_url":"https://api.github.com/repos/apache/spark/issues/13824","id":235448914,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T00:41:48Z","updated_at":"2016-07-27T00:41:48Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62905/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}