<?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: Impala Concurrent Client Connections in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Impala-Concurrent-Client-Connections/m-p/322964#M228980</link>
    <description>&lt;P&gt;Hi, I know i am answering to this post after a long gap still it may help to others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per your post even after you increasing the number of connections from 64 to 128 you are still facing the connection issues.&lt;/P&gt;&lt;P&gt;Here first we need to check all the opened connections are closed or not if these are not closed then the issue may occur even if you increase it to 252.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to CM -&amp;gt; Impala -&amp;gt; Charts Library -&amp;gt; check "Active Frontend API connection"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Monitor the cluster if many users are using the cluster or not if you think connections are high and users are not using the cluster then the opened sessions/connections are not closed after the use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set the "idle session timeout" in the Impala configurations, by setting this if a user opened a session and performed any operation and leave the session it will become idle session and this session will be closed by setting this timeout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same if you are running the impala queries from Hue you need to set the session time out something like below in the&amp;nbsp;&lt;SPAN&gt;Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;[impala]&lt;/P&gt;&lt;P class="p1"&gt;close_queries=true&lt;/P&gt;&lt;P class="p1"&gt;query_timeout_s=300&lt;/P&gt;&lt;P class="p1"&gt;session_timeout_s=300&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;As like if you are using ODBC/JDBC clients you need to set the timeouts at the client side.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;If you would like to check the number of connections/sessions those are Active and inactive Go to CM -&amp;gt; Impala -&amp;gt; click on any Impala daemon -&amp;gt; Go to Daemon WEB UI -&amp;gt; click on "\sessions" tab&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;</description>
    <pubDate>Mon, 23 Aug 2021 05:04:13 GMT</pubDate>
    <dc:creator>ChethanYM</dc:creator>
    <dc:date>2021-08-23T05:04:13Z</dc:date>
  </channel>
</rss>

