I am new to HBase and Phoenix, and I have faced an issue with the Phoenix JDBC program in Java.
I have some sample data in a Phoenix table, and I have written a Java code to draw the data out into the console with a select statement.
My connection string is:jdbc:phoenix:localhost:2181
and the JDBC class I am using is :org.apache.phoenix.jdbc.PhoenixDriver
.
While running the program I am getting an error:
java.lang.NoClassDefFoundError: org/cloudera/htrace/Sampler
What jar file am I missing here?