Using Zeppelin 0.5.6
%pyspark
import matplotlib.pyplot as plt
# Test data
x = [1, 2, 3, 4, 5, 6, 7, 8]
y = [20, 21, 20.5, 20.81, 21.0, 21.48, 22.0, 21.89]
# Plot
plt.plot(x, y, linestyle='dashed', marker='o', color='red')
show(plt)
Traceback (most recent call last): File "/tmp/zeppelin_pyspar
Zeppelin 0.56, running on Yarn on top of CDH 5.5.1, Spark 1.5.0
Getting this error using the hive interpreter, doing a count(*) or create
of table.
Show tables -- works fine.
java.lang.NullPointerException at
org.apache.zeppelin.hive.HiveInterpreter.getConnection(HiveInterpreter.java:184)
at
o
Added note: Zeppelin was built from binary and all configs done as stated
on site.
On Tue, Feb 9, 2016 at 1:33 PM, Abhi Basu <9000r...@gmail.com> wrote:
> Zeppelin 0.56, running on Yarn on top of CDH 5.5.1, Spark 1.5.0
>
> Getting this error using the hive interpreter, doing a count(*) or create
Abhi,
Do you have hive-site.xml and yarn-conf symlinked in your spark/conf dir?
ln -s /etc/hive/conf/hive-site.xml /etc/spark/conf/hive-site.xml
ln -s /etc/spark/conf/yarn-conf /etc/spark/conf/yarn-conf
This made it work for me.
Cheers,
Ben
> On Feb 9, 2016, at 1:33 PM, Abhi Basu <9000r...@gm
Hi, Abhi
This is a bug...you can test in PR #668
Cheers
El 9/2/2016 23:09, "Abhi Basu" <9000r...@gmail.com> escribió:
> Added note: Zeppelin was built from binary and all configs done as stated
> on site.
>
> On Tue, Feb 9, 2016 at 1:33 PM, Abhi Basu <9000r...@gmail.com> wrote:
>
>> Zeppelin 0.5
Yes, I had these setup already, still does not work.
On Tue, Feb 9, 2016 at 1:57 PM, Benjamin Kim wrote:
> Abhi,
>
> Do you have hive-site.xml and yarn-conf symlinked in your spark/conf dir?
>
> ln -s /etc/hive/conf/hive-site.xml /etc/spark/conf/hive-site.xml
> ln -s /etc/spark/conf/yarn-conf
Ok, so this bug is in the current 0.56 binary? Is the binary going to be
regenerated or do I need to build from source?
Thanks,
Abhi
On Tue, Feb 9, 2016 at 2:31 PM, Victor Manuel Garcia <
victor.gar...@beeva.com> wrote:
> Hi, Abhi
> This is a bug...you can test in PR #668
>
> Cheers
> El 9/2/2
It looks like it’s not reaching the zookeeper quorum.
16/02/09 21:52:19 ERROR client.ConnectionManager$HConnectionImplementation:
Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase
And the setting is:
quorum=localhost:2181
The HBase quorum is actually namenode001, n
One option it use on this way %hive (default)
El 9/2/2016 23:51, "Abhi Basu" <9000r...@gmail.com> escribió:
> Ok, so this bug is in the current 0.56 binary? Is the binary going to be
> regenerated or do I need to build from source?
>
> Thanks,
>
> Abhi
>
> On Tue, Feb 9, 2016 at 2:31 PM, Victor Ma
Yes using %hive (default) works. Is there a way to set that in the
interpreter setting so as not to have to enter it for every SQL statement?
On Tue, Feb 9, 2016 at 3:14 PM, Victor Manuel Garcia <
victor.gar...@beeva.com> wrote:
> One option it use on this way %hive (default)
> El 9/2/2016 23:51,
Hi Abhi,
You'll need to define show(). Such as
%pyspark
import StringIO
def show(p):
img = StringIO.StringIO()
p.savefig(img, format='svg')
img.seek(0)
print "%html " + img.buf
Hope this helps.
Best,
moon
On Wed, Feb 10, 2016 at 4:34 AM Abhi Basu <9000r...@gmail.com> wrote:
> Using Z
Awesome, that works.
Thanks,
Abhi
On Tue, Feb 9, 2016 at 4:04 PM, moon soo Lee wrote:
> Hi Abhi,
>
> You'll need to define show(). Such as
>
> %pyspark
> import StringIO
> def show(p):
> img = StringIO.StringIO()
> p.savefig(img, format='svg')
> img.seek(0)
> print "%html " + img.buf
>
It looks like hbase-site.xml is not picked up somehow.
Rajat would you know of a way to get that set with the ruby code?
_
From: Benjamin Kim
Sent: Tuesday, February 9, 2016 2:58 PM
Subject: Re: HBase Interpreter
To:
It looks like it’s not reaching the
13 matches
Mail list logo