<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Renewing Phoenix Connection Using Kerberos Tomcat in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Renewing-Phoenix-Connection-Using-Kerberos-Tomcat/m-p/208098#M76811</link>
    <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/18485/schhabra.html" nodeid="18485"&gt;@schhabra&lt;/A&gt; the solution worked for me. Thanks for the help &lt;/P&gt;</description>
    <pubDate>Sat, 21 Apr 2018 07:57:41 GMT</pubDate>
    <dc:creator>koundinya_ravul</dc:creator>
    <dc:date>2018-04-21T07:57:41Z</dc:date>
    <item>
      <title>Renewing Phoenix Connection Using Kerberos Tomcat</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Renewing-Phoenix-Connection-Using-Kerberos-Tomcat/m-p/208095#M76808</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;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. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;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 . &lt;BR /&gt;Can any one let me know what can be done to renew the phoenix connection on kerberos cluster ? &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 19:32:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Renewing-Phoenix-Connection-Using-Kerberos-Tomcat/m-p/208095#M76808</guid>
      <dc:creator>koundinya_ravul</dc:creator>
      <dc:date>2018-04-03T19:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Renewing Phoenix Connection Using Kerberos Tomcat</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Renewing-Phoenix-Connection-Using-Kerberos-Tomcat/m-p/208096#M76809</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/70610/koundinyaravulapati.html" nodeid="70610"&gt;@Koundinya Ravulapati&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I could think of two ways.&lt;/P&gt;&lt;P&gt;- Renewal of ticket via code i.e running background thread to renew ticket.&lt;/P&gt;&lt;P&gt;You can refer below mentioned link-&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/joshelser/phoenix-kerberos/blob/master/src/main/java/com/github/joshelser/PhoenixWithRenewal.java" target="_blank"&gt;https://github.com/joshelser/phoenix-kerberos/blob/master/src/main/java/com/github/joshelser/PhoenixWithRenewal.java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Running kinit in cron job and using ticket from cache.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shubham&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 13:42:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Renewing-Phoenix-Connection-Using-Kerberos-Tomcat/m-p/208096#M76809</guid>
      <dc:creator>schhabra1</dc:creator>
      <dc:date>2018-04-05T13:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Renewing Phoenix Connection Using Kerberos Tomcat</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Renewing-Phoenix-Connection-Using-Kerberos-Tomcat/m-p/208097#M76810</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/70610/koundinyaravulapati.html" nodeid="70610"&gt;@Koundinya Ravulapati&lt;/A&gt;,If above information helped you, Could you please accept answer?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 19:42:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Renewing-Phoenix-Connection-Using-Kerberos-Tomcat/m-p/208097#M76810</guid>
      <dc:creator>schhabra1</dc:creator>
      <dc:date>2018-04-19T19:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Renewing Phoenix Connection Using Kerberos Tomcat</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Renewing-Phoenix-Connection-Using-Kerberos-Tomcat/m-p/208098#M76811</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/18485/schhabra.html" nodeid="18485"&gt;@schhabra&lt;/A&gt; the solution worked for me. Thanks for the help &lt;/P&gt;</description>
      <pubDate>Sat, 21 Apr 2018 07:57:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Renewing-Phoenix-Connection-Using-Kerberos-Tomcat/m-p/208098#M76811</guid>
      <dc:creator>koundinya_ravul</dc:creator>
      <dc:date>2018-04-21T07:57:41Z</dc:date>
    </item>
  </channel>
</rss>

