Re: jdbc not work, phoenix 4.14.0-cdh5.11.2 + kerberos

2018-08-01 Thread anung
Awesome Josh, now I can connect!! Thank you BR, Anung On Thu, Aug 2, 2018 at 1:55 AM Josh Elser wrote: > > Make sure you have the correct hbase-site.xml on the classpath of your > application. This is how HBase client code knows to use Kerberos to > authenticate. > > On 7/31/18 11:39 PM, anung

Re: jdbc not work, phoenix 4.14.0-cdh5.11.2 + kerberos

2018-08-01 Thread Josh Elser
Make sure you have the correct hbase-site.xml on the classpath of your application. This is how HBase client code knows to use Kerberos to authenticate. On 7/31/18 11:39 PM, anung wrote: Hi Josh, thank you for replying. This is an excerpt from the debug log: the client can connected to

Re: jdbc not work, phoenix 4.14.0-cdh5.11.2 + kerberos

2018-07-31 Thread anung
Hi Josh, thank you for replying. This is an excerpt from the debug log: the client can connected to Zookeeper successfully: 2018-08-01 10:21:15,987 [pool-1-thread-1] INFO org.apache.phoenix.jdbc.PhoenixEmbeddedDriver$ConnectionInfo - Trying to connect to a secure cluster as

Re: jdbc not work, phoenix 4.14.0-cdh5.11.2 + kerberos

2018-07-31 Thread Josh Elser
Did you enable DEBUG logging on the client or server side? Certainly if you got a connection timeout, you at least got a stack trace that you could share. You need to provide more information if you want help debugging your setup. On 7/31/18 6:29 AM, anung wrote: Hi All, I have CDH 5.11