《Spark 快速入门与生态资源》

《Spark 快速入门与生态资源》

本文整理 Spark 入门资料、Jupyter 集成以及 Spark Streaming 源码学习路线。

1 官方资源

2 通过 Jupyter 使用 Spark(Toree)

Apache Toree 提供 Spark 的 Jupyter 内核,可以在 Notebook 中交互式编写 Scala。

安装(以 pip 方式为例):

# 安装 Toree 内核 pip install --upgrade toree jupyter toree install --spark_home=/usr/local/bin/apache-spark/ # 安装 notebook pip install notebook

启动 Jupyter:

# 默认端口 8888 jupyter notebook # 指定端口 jupyter notebook --port 9999

参考资料:

3 Spark Streaming 源码解读

阅读 — · 全站 —
🎸 我的歌单 0 首