Hi Sateesh,
It seems you are missing the import which gives Spark visibility into the
"org.apache.phoenix.spark". From the documentation page:
*import org.apache.phoenix.spark._*
I'm not entirely sure how this works in Java, however. You might have some
luck with:
*import static
Hi,
I think you need to include phoenix-client jar, instead of
phoenix-spark.jar. :-)
2017-03-16 16:44 GMT+09:00 Sateesh Karuturi :
> Hello folks..,
>
> i am trying to run sample phoenix spark application, while i am trying to
> run i am getting following exception:
Hello folks..,
i am trying to run sample phoenix spark application, while i am trying to
run i am getting following exception:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/phoenix/jdbc/PhoenixDriver
Here is my sample code:
package com.inndata.spark.sparkphoenix;