juypter-notebook安装配置

1 jupyter notebook概述

Jupyter Notebook(此前被称为 IPython notebook)是一个交互式笔记本,支持运行 40 多种编程语言。
前端展现基于浏览器,可以远程使用(服务器上安装使用jupyter notebook)
跨平台 ipad就可以用?

通过内核支持语言扩展

jupyter kernelspec list

2 jupyter notebook安装

pip3 install jupyter
jupyter notebook

3 在jupyter notebook中运行pyspark

PYSPARK_DRIVER_PYTHON=jupyter PYSPARK_DRIVER_PYTHON_OPTS="notebook" ~/run/spark-2.0.0-bin-hadoop2.7/bin/pyspark

4 在jupyter notebook中安装toree(scala for spark)

 

4.1 版本要求

scala: 2.10.4
spark: 1.6.2
高版本的安装包尚未正式发布,需要自己编译、安装(需要docker,没有走通)

4.2 配置环境变量

export SCALA_HOME=/usr/local/Cellar/scala/2.10.4
export PATH=$SCALA_HOME/bin:$PATH export SPARK_HOME="/Users/galaxy/run/spark-1.6.2-bin-hadoop2.6/"
export PATH=$SPARK_HOME/bin:$PATH

4.3 执行安装

pip3 install --pre toree
jupyter toree install

4.4 运行

jupyter notebook
New -> Apache Toree-scala

5 参考资料

Running Spark Applications Using IPython and Jupyter Notebooks
http://www.cloudera.com/documentation/enterprise/5-5-x/topics/spark_ipython.html#ipython__notebook_quickstart

Using IPython Notebook with Apache Spark - Hortonworks
http://zh.hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/

27 Jupyter Notebook tips, tricks and shortcuts
https://www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/

GitHub - tribbloid/ISpark: An Apache Spark-shell backend for IPython
https://github.com/tribbloid/ISpark

GitHub - alexarchambault/jupyter-scala: Lightweight Scala kernel for Jupyter / IPython 3
https://github.com/alexarchambault/jupyter-scala

GitHub - apache/incubator-toree: Mirror of Apache Toree (Incubating)
https://github.com/apache/incubator-toree

Hadoop Dev | How to install Jupyter Notebook for Spark - Hadoop Dev
https://developer.ibm.com/hadoop/2016/05/04/install-jupyter-notebook-spark/

How to install the Scala Spark (Apache Toree) Jupyter kernel with GeoMesa support - GeoMesa - Confluence
https://geomesa.atlassian.net/wiki/display/GEOMESA/How+to+install+the+Scala+Spark+(Apache+Toree)+Jupyter+kernel+with+GeoMesa+support

Tour of the Jupyter (IPython3) notebook — Computational Statistics in Python 0.1 documentation
http://people.duke.edu/~ccc14/sta-663/Jupyter.html
./jove-scala –kernel-spec

How it works
https://toree.incubator.apache.org/documentation/user/how-it-works.html

GitHub - andypetrella/spark-notebook: Interactive and Reactive Data Science using Scala and Spark.
https://github.com/andypetrella/spark-notebook/

jupyter与spark kernel结合的notebook安装及使用 - heng_2218的博客 - 博客频道 - CSDN.NET
http://blog.csdn.net/heng_2218/article/details/51006075

Author: galaxy

Created: 2016-10-24 Mon 09:49

Emacs 24.5.6 (Org mode 8.2.10)

Validate

最新文章

  1. C#之设计模式
  2. zabbix3 设置邮件报警(五)
  3. Redis代码阅读之Hacking Strings
  4. thinkphp伪静态(url重写)
  5. 一个java覆盖的例子
  6. mesos INSTALL
  7. Android Studio 一些使用经验
  8. VIM的高级使用
  9. Entity Framework 增删改查和事务操作
  10. JavaScript - 测试 jQuery
  11. 使用JS开发桌面端应用程序NW.js-3-开发问题小记
  12. 通过express搭建自己的服务器
  13. JS难点--面向对象(封装)
  14. gitlab一键安装+配置(备份+LADP认证)
  15. 网卡配置和DNS配置,手动挂在nas存储的共享目录,网络相关其它操作命令,修改防火墙中的端口配置,resolv.conf配置详细介绍和网卡信息配置详细介绍
  16. 在interface vlan下敲no ip proxy-arp什么意思
  17. 实验二《Java面向对象程序设计》的一点说明
  18. Mysql关于时间排序的问题
  19. android 获取图库中展示到界面中
  20. bzoj千题计划253:bzoj2154: Crash的数字表格

热门文章

  1. HTML5 中文乱码
  2. KickStart安装CentOS,同时安装和配置hadoop
  3. 项目一:项目第二天 Jquery ztree使用展示菜单数据 2、 基础设置需求分析 3、 搭建项目框架环境--ssh(复习) 4、 SpringData-JPA持久层入门案例(重点) 5、 Easyui menubutton菜单按钮使用 6、 Easyui messager消息框使用
  4. 【转】如何在eclipse下配置Heritrix
  5. cinder服务状态up/down的源码梳理
  6. docker17.09.1-ce 执行systemctl resart docker重启失败的问题
  7. 「学习笔记」Fast Fourier Transform
  8. 用python实现杨辉三角
  9. 洛谷P1378 油滴扩展
  10. 简谈react中的虚拟DOM