<?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: How to get number of live connections with HiveServer2 (HDP 2.2.4) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106286#M33498</link>
    <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;@Rajkumar Singh&lt;/A&gt; thats works ... probably a wrong question from my end ... but was looking for live "sessions" on HS2 and if possible users&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2016 19:23:58 GMT</pubDate>
    <dc:creator>nyakkanti</dc:creator>
    <dc:date>2016-06-30T19:23:58Z</dc:date>
    <item>
      <title>How to get number of live connections with HiveServer2 (HDP 2.2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106284#M33496</link>
      <description>&lt;P&gt;HiveServer2 hangs silently, need to check how many live connections are on HS2, how can this be done ? &lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 19:10:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106284#M33496</guid>
      <dc:creator>nyakkanti</dc:creator>
      <dc:date>2016-06-30T19:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get number of live connections with HiveServer2 (HDP 2.2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106285#M33497</link>
      <description>&lt;P&gt;on the host where hs2 is running  do&lt;/P&gt;&lt;P&gt;lsof -i:10000|grep 'ESTABLISHED'|wc -l&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 19:14:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106285#M33497</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-06-30T19:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get number of live connections with HiveServer2 (HDP 2.2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106286#M33498</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;@Rajkumar Singh&lt;/A&gt; thats works ... probably a wrong question from my end ... but was looking for live "sessions" on HS2 and if possible users&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 19:23:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106286#M33498</guid>
      <dc:creator>nyakkanti</dc:creator>
      <dc:date>2016-06-30T19:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get number of live connections with HiveServer2 (HDP 2.2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106287#M33499</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/346/nyakkanti.html" nodeid="346"&gt;@nyakkanti&lt;/A&gt;&lt;P&gt;I think there is no direct way to do this but you can try to grep some log text.&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;take a heap dump of hiveserver2 and use object query language ( SELECT toString(s.username) FROM INSTANCEOF org.apache.hive.service.cli.session.HiveSessionImpl s ) to know live sessions at that moment. to run object query language you can use jvisualvm or Eclipse MAT.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 19:32:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106287#M33499</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-06-30T19:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get number of live connections with HiveServer2 (HDP 2.2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106288#M33500</link>
      <description>&lt;P&gt;By connecting to web ui over port 10002 one could check the number of live sessions on that instance of hiveserver&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 07:44:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-get-number-of-live-connections-with-HiveServer2-HDP-2/m-p/106288#M33500</guid>
      <dc:creator>asreekumar</dc:creator>
      <dc:date>2018-01-10T07:44:35Z</dc:date>
    </item>
  </channel>
</rss>

