- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Trying to create phoenix interpreter using %jdbc in Zeppelin using 2.5
- Labels:
-
Apache Phoenix
-
Apache Zeppelin
Created on ‎09-12-2016 10:01 PM - edited ‎08-18-2019 06:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to create phoenix interpreter using %jdbc in Zeppelin using 2.5 and am not succeeding.
Steps are:
- Log into Zeppelin (sandbox 2.5)
- Create new interpreter as follows
- restart (just to be paranoid)
- go to my notebook and bind interpreter
- when I run with %jdbc(phoenix) I get Prefix not found.
- when I run it with %jdbc.phoenix I get jdbc.phoenix interpreter not found
What am I missing?
Created ‎09-12-2016 10:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎09-12-2016 10:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎09-13-2016 04:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. What threw me off is that when creating a new jdbc interpretter (at least in sandbox) it is prepopulutated with default prefix properties and psql values.. Did not know that entire property and value needed to be deleted and recreated with new prefix (vs only new values).
Created ‎09-13-2016 01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just installed HDP 2.5 from Ambari on a small openstack cluster choosing Zeppelin from ambari.
%jdbc(phoenix)
select * from phillycrime limit 100
worked for me.
Try to restart the jdbc interpreter
Make sure you have:
under:
jdbc %jdbc (default)
edit restart remove
Optionshared Interpreter for note
phoenix.driver org.apache.phoenix.jdbc.PhoenixDriver
phoenix.hbase.client.retries.number 1
phoenix.password
phoenix.url jdbc:phoenix:192.168.1.100:/hbase-unsecure
phoenix.user phoenixuser
Created ‎09-13-2016 04:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Timothy Spann very effective answer, but similar information as @Randy Gelhausen and he was first in.
