Re: error when get data from Phoenix 4.5.2 on CDH 5.5.x by spark 1.5

2015-12-29 Thread Josh Mahonin
Hi, This issue is fixed with the following patch, and using the resulting 'client-spark' JAR after compilation: https://issues.apache.org/jira/browse/PHOENIX-2503 As an alternative, you may have some luck also including updated com.fasterxml.jackson jackson-databind JARs in your app that are in

Re: Issue with connecting to Phoenix in kerberised cluster.

2015-12-29 Thread Akhilesh Pathodia
Hi Durga, What is the format of connection url? You have to specify keytab and principal in the url: jdbc:phoenix Have you added hbase-site.xml and core-site.xml files in the classpath? If everything is correct then stop zookeeper, run zookeeper cleanup command and restart zookeeper.

Re: Issue with connecting to Phoenix in kerberised cluster.

2015-12-29 Thread Josh Elser
Ns G wrote: Hi All, I have written a simple class to access phoenix. I am able to establish connection. But when executing below line i get the error. conn = DriverManager.getConnection(dbUrl); I am facing below exception when accessing phoenix through JDBC from eclipse. INFO - Call

Unable to Use bulkloader to load Control-A delimited file

2015-12-29 Thread anil gupta
Hi, We want to use bulkload tool to load files that are delimited by Control-A. We are running this command on Phoenix 4.4(HDP2.2): hadoop jar /usr/hdp/current/phoenix-client/phoenix-4.4.0.2.3.2.0-2950-client.jar org.apache.phoenix.mapreduce.CsvBulkLoadTool --table LEAD_SALES_DATA --input

Re: Book/articles on Apache phoenix internals

2015-12-29 Thread James Taylor
Have you seen the presentations page[1] on our website? Thanks, James [1] https://phoenix.apache.org/resources.html On Tue, Dec 29, 2015 at 3:09 PM, Sachin Katakdound < sachin.katakdo...@gmail.com> wrote: > Does anyone know of a good Book or online articles that describe the deep > Apache

error when get data from Phoenix 4.5.2 on CDH 5.5.x by spark 1.5

2015-12-29 Thread sac...@outlook.com
The error is java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.Module$SetupContext.setClassIntrospector(Lcom/fasterxml/jackson/databind/introspect/ClassIntrospector;)V at

Issue with connecting to Phoenix in kerberised cluster.

2015-12-29 Thread Ns G
Hi All, I have written a simple class to access phoenix. I am able to establish connection. But when executing below line i get the error. conn = DriverManager.getConnection(dbUrl); I am facing below exception when accessing phoenix through JDBC from eclipse. INFO - Call exception, tries=25,