Re: spark 2.0.2 connect phoenix query server error

2016-11-23 Thread Divya Gehlot
Can you try with below driver "driver" -> "org.apache.phoenix.jdbc.PhoenixDriver", Thanks, Divya On 22 November 2016 at 11:14, Dequn Zhang wrote: > Hello, since spark 2.x can not use Phoenix Spark Interpreter to load data, > so I want to use JDBC, but when I want to get a *thin connection*, I

Re: spark 2.0.2 connect phoenix query server error

2016-11-23 Thread Dequn Zhang
Thank you for your reply , I failed to find where do spark or phoenix save the log, and I also tried to change log4j.evel in $SPARK_HOME/conf/log4j.properties and $PHOENIX_HOME/bin/config, unfortunately it didn't work also, can you help me more on how to find out the lost stacktrace info? 2016-1

Re: spark 2.0.2 connect phoenix query server error

2016-11-23 Thread Josh Elser
Hi Dequn, There should be more to this stacktrace than you provided as the actual cause is not included. Can you please include the entire stacktrace? If you are not seeing this client-side, please check the Phoenix Query Server log file to see if there is more there. Dequn Zhang wrote: Hel

spark 2.0.2 connect phoenix query server error

2016-11-21 Thread Dequn Zhang
Hello, since spark 2.x can not use Phoenix Spark Interpreter to load data, so I want to use JDBC, but when I want to get a *thin connection*, I got the following Error info while using *direct connection is ok* , I ran it in spark-shell, scala 2.11.8, so can anyone give a solution? Phoenix : 4.