目录

Zeppelin

Zeppline

1 概述

2 Zeppelin

2.1 安装

asnible-playbook URL:

-w1416

2.2 LDAP集成

2.3 Interpreters

2.3.1 python3

2.3.2 bash

2.3.3 md

2.3.4 hive

2.3.5 spark python3

2.3.5.1 py3

2.3.5.2 pyspark matplotlib

#matplotlib
%pyspark
from matplotlib import pyplot as plt
from celluloid import Camera

fig = plt.figure()
camera = Camera(fig)
for i in range(10):
    plt.plot([i] * 10)
    camera.snap()
animation = camera.animate()

print("%html", animation.to_jshtml())

-w1395

2.3.6 mongodb

2.3.7 cassandra

2.3.8 livy

2.3.9 jdbc

2.3.10 presto

2.3.12 es

2.3.13 hbase

2.3.14 pig

Q&&A

---------------------------------------------------------------------------
HANDY EXCEPTION SUMMARY

Location: "/data/cloudera/parcels/SPARK2/lib/spark2/python/pyspark/cloudpickle.py"
Line	: 929
Function: subimport
Error	: ModuleNotFoundError: No module named 'numpy'
-----------------------------------------------------------------------

[解决方法]
PYSPARK_DRIVER_PYTHON	/usr/local/python3/bin/python3
PYSPARK_PYTHON	/usr/local/python3/bin/python3
zeppelin.pyspark.python	/usr/local/python3/bin/python3