{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/jupyter/issues/248","repository_url":"https://api.github.com/repos/jupyter/jupyter","labels_url":"https://api.github.com/repos/jupyter/jupyter/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/jupyter/issues/248/comments","events_url":"https://api.github.com/repos/jupyter/jupyter/issues/248/events","html_url":"https://github.com/jupyter/jupyter/issues/248","id":216413919,"node_id":"MDU6SXNzdWUyMTY0MTM5MTk=","number":248,"title":"java gateway process exited before sending the driver its port number","user":{"login":"leafjungle","id":6143261,"node_id":"MDQ6VXNlcjYxNDMyNjE=","avatar_url":"https://avatars1.githubusercontent.com/u/6143261?v=4","gravatar_id":"","url":"https://api.github.com/users/leafjungle","html_url":"https://github.com/leafjungle","followers_url":"https://api.github.com/users/leafjungle/followers","following_url":"https://api.github.com/users/leafjungle/following{/other_user}","gists_url":"https://api.github.com/users/leafjungle/gists{/gist_id}","starred_url":"https://api.github.com/users/leafjungle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafjungle/subscriptions","organizations_url":"https://api.github.com/users/leafjungle/orgs","repos_url":"https://api.github.com/users/leafjungle/repos","events_url":"https://api.github.com/users/leafjungle/events{/privacy}","received_events_url":"https://api.github.com/users/leafjungle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-03-23T12:38:55Z","updated_at":"2018-08-07T16:35:42Z","closed_at":"2017-03-23T12:54:04Z","author_association":"NONE","body":"import pyspark ---> works fine.\r\nsc = pyspark.SparkContext() --> Error, info: \"java gateway process exited before sending the driver its port number\"\r\n\r\n\"\"\"\r\nthe python context\r\n![image](https://cloud.githubusercontent.com/assets/6143261/24248023/b78e4f8c-1008-11e7-8843-4f119cfb9278.png)\r\n\r\n\"\"\"\r\n\r\nAfter googling, I set the environment:\r\nexport PYSPARK_SUBMIT_ARGS=\"--master local[2] pyspark-shell\"\r\nor even:\r\nsc = pyspark.SparkContext(\"local\")\r\n\r\nbut the problem remains.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jupyter/jupyter/issues/comments/411120937","html_url":"https://github.com/jupyter/jupyter/issues/248#issuecomment-411120937","issue_url":"https://api.github.com/repos/jupyter/jupyter/issues/248","id":411120937,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTEyMDkzNw==","user":{"login":"gulshan-gaurav","id":7349925,"node_id":"MDQ6VXNlcjczNDk5MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7349925?v=4","gravatar_id":"","url":"https://api.github.com/users/gulshan-gaurav","html_url":"https://github.com/gulshan-gaurav","followers_url":"https://api.github.com/users/gulshan-gaurav/followers","following_url":"https://api.github.com/users/gulshan-gaurav/following{/other_user}","gists_url":"https://api.github.com/users/gulshan-gaurav/gists{/gist_id}","starred_url":"https://api.github.com/users/gulshan-gaurav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gulshan-gaurav/subscriptions","organizations_url":"https://api.github.com/users/gulshan-gaurav/orgs","repos_url":"https://api.github.com/users/gulshan-gaurav/repos","events_url":"https://api.github.com/users/gulshan-gaurav/events{/privacy}","received_events_url":"https://api.github.com/users/gulshan-gaurav/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T16:35:42Z","updated_at":"2018-08-07T16:35:42Z","author_association":"NONE","body":"I tried setting JAVA_HOME but it did not solve the issue.\r\nFinally I had to do a clean Install of everything, now its working fine.\r\nI am still clueless as to what exactly was the issue.\r\n"}}
{"actor":{"display_login":"gulshan-gaurav"}}