plt fail "could not open display" with %python

2017-10-18 Thread mengmeng.m...@mathartsys.com
hi, With zeppelin0.6.0, (matplotlib)plt fail with %python would fail: RuntimeError: could not open display. If in place of %pyspark, it's OK. How to fix it? code: %pythoh import matplotlib import io matplotlib.use('Agg') import matplotlib.pyplot as plt plt.figure() plt.plot([1,2,3,4]) plt.yla

Re: Re: how to build zepplin on CDH5.12.0

2017-10-18 Thread mengmeng.m...@mathartsys.com
s://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh5_maven_repo.html regards, Markus 2017-10-18 8:15 GMT+02:00 mengmeng.m...@mathartsys.com : Hi, I'm a newer for zeppelin and want to enable zeppelin on CDH5.12.0(hadoop 2.6.0, spark 1.6.0,scala 2.10.5,hive 1.1.0).

how to build zepplin on CDH5.12.0

2017-10-17 Thread mengmeng.m...@mathartsys.com
Hi, I'm a newer for zeppelin and want to enable zeppelin on CDH5.12.0(hadoop 2.6.0, spark 1.6.0,scala 2.10.5,hive 1.1.0). This my cmd: 1. git reset --hard v0.7.3 2. ./dev/change_scala_version.sh 2.10 3. mvn clean package -Pspark-1.6 -Ppyspark -Dhadoop.version=2.6.0-cdh5.12