{"action":"created","issue":{"url":"https://api.github.com/repos/lresende/ansible-spark-cluster/issues/25","repository_url":"https://api.github.com/repos/lresende/ansible-spark-cluster","labels_url":"https://api.github.com/repos/lresende/ansible-spark-cluster/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/lresende/ansible-spark-cluster/issues/25/comments","events_url":"https://api.github.com/repos/lresende/ansible-spark-cluster/issues/25/events","html_url":"https://github.com/lresende/ansible-spark-cluster/issues/25","id":358319765,"node_id":"MDU6SXNzdWUzNTgzMTk3NjU=","number":25,"title":"Enable to load kernels using entreprise_gateway?","user":{"login":"ziedbouf","id":5924038,"node_id":"MDQ6VXNlcjU5MjQwMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5924038?v=4","gravatar_id":"","url":"https://api.github.com/users/ziedbouf","html_url":"https://github.com/ziedbouf","followers_url":"https://api.github.com/users/ziedbouf/followers","following_url":"https://api.github.com/users/ziedbouf/following{/other_user}","gists_url":"https://api.github.com/users/ziedbouf/gists{/gist_id}","starred_url":"https://api.github.com/users/ziedbouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziedbouf/subscriptions","organizations_url":"https://api.github.com/users/ziedbouf/orgs","repos_url":"https://api.github.com/users/ziedbouf/repos","events_url":"https://api.github.com/users/ziedbouf/events{/privacy}","received_events_url":"https://api.github.com/users/ziedbouf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-08T18:58:08Z","updated_at":"2018-09-08T23:45:55Z","closed_at":null,"author_association":"NONE","body":"Thanks for this solution, we love the idea of connecting jupyter notebooks to spark cluster. I gone through the following [ansible playbook](https://github.com/lresende/ansible-spark-cluster/issues/14) and i was able to get the setup up and running on gcloud compute engine. Right now i am facing an issue while trying to connecting my jupyter notebook to the cluster `[W 21:49:37.661 NotebookApp] Error loading kernelspec 'python3'` and i am not able to catch what i am missing. I follow up the following instruction to connect my notebook:\r\n\r\n`export KG_URL=http://spark-master:8888\r\nexport KG_HTTP_USER=elyra\r\nexport KG_HTTP_PASS=\r\nexport KG_REQUEST_TIMEOUT=30\r\nexport KERNEL_USERNAME=${KG_HTTP_USER}\r\njupyter notebook \\\r\n  --NotebookApp.session_manager_class=nb2kg.managers.SessionManager \\\r\n  --NotebookApp.kernel_manager_class=nb2kg.managers.RemoteKernelManager \\\r\n  --NotebookApp.kernel_spec_manager_class=nb2kg.managers.RemoteKernelSpecManager` \r\n\r\nAny help on this?"},"comment":{"url":"https://api.github.com/repos/lresende/ansible-spark-cluster/issues/comments/419680337","html_url":"https://github.com/lresende/ansible-spark-cluster/issues/25#issuecomment-419680337","issue_url":"https://api.github.com/repos/lresende/ansible-spark-cluster/issues/25","id":419680337,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTY4MDMzNw==","user":{"login":"lresende","id":382917,"node_id":"MDQ6VXNlcjM4MjkxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/382917?v=4","gravatar_id":"","url":"https://api.github.com/users/lresende","html_url":"https://github.com/lresende","followers_url":"https://api.github.com/users/lresende/followers","following_url":"https://api.github.com/users/lresende/following{/other_user}","gists_url":"https://api.github.com/users/lresende/gists{/gist_id}","starred_url":"https://api.github.com/users/lresende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lresende/subscriptions","organizations_url":"https://api.github.com/users/lresende/orgs","repos_url":"https://api.github.com/users/lresende/repos","events_url":"https://api.github.com/users/lresende/events{/privacy}","received_events_url":"https://api.github.com/users/lresende/received_events","type":"User","site_admin":false},"created_at":"2018-09-08T23:45:55Z","updated_at":"2018-09-08T23:45:55Z","author_association":"OWNER","body":"@ziedbouf Could you please attach more info from the logs: client (notebook) and server(gateway)\r\nAlso, are you using this with Spark Standalone? Have you installed NB2KG on the machine where you are running the notebook? \r\n\r\nSome other references might also help:\r\n - [enabling support for spark standalone](https://jupyter-enterprise-gateway.readthedocs.io/en/latest/getting-started-client-mode.html)\r\n - [Connecting Jupyter Notebook to Enterprise Gateway](https://jupyter-enterprise-gateway.readthedocs.io/en/latest/getting-started.html#connecting-a-notebook-to-enterprise-gateway)"}}
{"actor":{"display_login":"lresende"}}