Skip to content

Instantly share code, notes, and snippets.

@nmukerje
Last active May 23, 2020 21:04
Show Gist options
  • Save nmukerje/b9c9c5d2831b45d37de9e0f2b08dc598 to your computer and use it in GitHub Desktop.
Save nmukerje/b9c9c5d2831b45d37de9e0f2b08dc598 to your computer and use it in GitHub Desktop.
%%sh
echo '{"kernel_python_credentials" : {"url": "http://<EMR Master node Private IP>:8998/"}, "session_configs":
{"executorMemory": "2g","executorCores": 2,"numExecutors":4}}' > ~/.sparkmagic/config.json
less ~/.sparkmagic/config.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment