Re: Issue with connecting to Phoenix in kerberised cluster.

2016-01-05 Thread anil gupta
Hi Durga, Can you kinit using the same keytab/principal from the node you are trying to run this program? Is your program able to read keytab file? Can you try to run this program from the same node that is running sqlline. Also, dont pass the jdbcjaas.conf this time. This line seems to provide mo

Re: Issue with connecting to Phoenix in kerberised cluster.

2016-01-05 Thread Ns G
Hi Team, Any idea with this issue? We are struck up with this issue and we need to provide a solution before Jan 8th. Any sugesstions, guidance please. Thanks, Durga Prasad On Thu, Dec 31, 2015 at 12:14 PM, Ns G wrote: > Hi There, > > Here is my JDBC connection string. > > My Hbase Cluster is

Re: Issue with connecting to Phoenix in kerberised cluster.

2015-12-30 Thread Ns G
Hi There, Here is my JDBC connection string. My Hbase Cluster is health and Master is running. I am able to run Sqlline successfully. jdbc:phoenix::2181:/hbase:testuser@ENT.LOCAL :/home/testuser/testuser.keytab I am executing the prog through following command *java '-Djava.security.auth.login

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 except

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. Thank

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, r