Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (2)
avatar

I. Environment details

- HDP 2.5.x

- HDP 2.6.x

- Kerberos enabled

II. Steps to follow

a) JDBC interpreter

Set JDBC interpreter in Zeppelin UI like

- JDBC interpreter config
phoenix.driver org.apache.phoenix.jdbc.PhoenixDriver
phoenix.hbase.client.retries.number 1
phoenix.password 
phoenix.url jdbc:phoenix:dkhdp262.openstacklocal,dkhdp261.openstacklocal,dkhdp263.openstacklocal:/hbase-secure
phoenix.user phoenixuser
zeppelin.jdbc.auth.type KERBEROS
zeppelin.jdbc.keytab.location /etc/security/keytabs/zeppelin.server.kerberos.keytab
zeppelin.jdbc.principal [email protected]

ARTIFACTS    
/usr/hdp/current/phoenix-client/phoenix-client.jar 

19422-phoenix.png

b) zeppelin notebook

15821-phoenix.png

5,999 Views
Comments
avatar
Expert Contributor

On HDP 2.6, appending $CLASSPATH seems to break Spark2 interpreter with:

"org.apache.zeppelin.interpreter.InterpreterException: Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;"

Is the included Phoenix-Spark driver (phoenix-spark-4.7.0.2.6.1.0-129.jar) certified to work with Spark2? I thought it's the preferred way rather than via JDBC.

Thanks!

@Miles Yao

Good catch!!! Just updated.

The phoenix jar is here to work with JDBC interpreter rather than spark.

Version history
Last update:
‎08-17-2019 12:45 PM
Updated by:
Contributors