- Download
- Install
- chmod +x Anaconda2-5.0.1-Linux-x86_64.sh
- sudo bash Anaconda2-5.0.1-Linux-x86_64.sh
- Secure
- source .bashrc
- jupyter notebook --generate-config
- jupyter notebook password
- IP
- vim .jupyter/jupyter_notebook_config.py
- #c.NotebookApp.ip = 'localhost' → c.NotebookApp.ip = '*'
- PySpark
- vim .bashr
- Add the following contents
- sudo su -
- mkdir -p /usr/local/share/jupyter/kernels/pyspark
- chown -R test_user:test_user jupyter/
- exit
- vim /usr/local/share/jupyter/kernels/pyspark/kernel.json
- Add the following contents
- Run
- jupyter notebook
Monday, December 4, 2017
Spark and Jupyter
Subscribe to:
Posts (Atom)