Member since
04-02-2018
3
Posts
0
Kudos Received
0
Solutions
04-21-2018
12:57 AM
Thanks @schhabra the solution worked for me. Thanks for the help
... View more
04-03-2018
12:32 PM
Hi All, I am using apache phoenix to query data from hbase. I am using keytab mechanism to connect to phoenix. When i Create phoenix connection pool everything works well for the 24hrs period which is the ticket_lifetime of kerberos token and the connections fail after 24hrs. I have tried to create a new Connection pool object for every 2 hrs and destroy the old connection pool once active connections expired on previous data source. But this also fails. The only way it gets renewed is after restarting tomcat. I have followed similar approach to refresh hadoop configuration. I am trying to access hdfs file system and i got same issue after 24hrs this issue has been fixed if i recreate the new hadoop configuration after every 2hrs and kill the old configuration. I looked for about 2 days but not able to figure out why the connection pool is taking old kerberos token even though i create a new connection pool object . Can any one let me know what can be done to renew the phoenix connection on kerberos cluster ?
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Phoenix