<?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 do we identify hive metastore performance and which tables/dbs causing more pressure on Hivemetastore and number of connections on HMS in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-do-we-identify-hive-metastore-performance-and-which/m-p/325100#M229527</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89407"&gt;@nareshbattula&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1: hive metastore performance&lt;BR /&gt;Based on the memory tuning the performance could vary. Please check the below link to see how to set the memory stuff&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/5-7-x/topics/admin_hive_tuning.html" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/5-7-x/topics/admin_hive_tuning.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q2: which tables/dbs causing more pressure on Hivemetastore&lt;BR /&gt;You may have to check in the HMS logs to see which query is taking a long time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using HDP you can find the current Memory pressure and Heap usage details via the below link&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/using-ambari-core-services/content/amb_hive_hivemetastore.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/using-ambari-core-services/content/amb_hive_hivemetastore.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/using-ambari-core-services/content/amb_hive_home.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/using-ambari-core-services/content/amb_hive_home.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using CM then you can see the details in below link&lt;BR /&gt;CM &amp;gt; Hive &amp;gt; Hivemetastore &amp;gt; Charts &amp;gt; JVM Heap Usage/JVM Pause Time/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q3: number of connections on HMS?&lt;BR /&gt;You can run the below commands to see the established connection/number of connections to HMS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;netstat -ntpla | grep 9083&lt;BR /&gt;lsof -p &amp;lt;hms pid&amp;gt; | grep "ESTABLISHED" -i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using CM then you can see the details in the below link&lt;BR /&gt;CM &amp;gt; Hive &amp;gt; Hivemetastore &amp;gt; Charts &amp;gt; Open connections&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are happy with the reply, mark it Accept as Solution&lt;/P&gt;</description>
    <pubDate>Wed, 22 Sep 2021 16:39:16 GMT</pubDate>
    <dc:creator>Shifu</dc:creator>
    <dc:date>2021-09-22T16:39:16Z</dc:date>
    <item>
      <title>How do we identify hive metastore performance and which tables/dbs causing more pressure on Hivemetastore and number of connections on HMS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-we-identify-hive-metastore-performance-and-which/m-p/324933#M229488</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;How do we identify hive metastore performance and which tables/dbs causing more pressure on Hivemetastore and number of connections on HMS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;naresh.B&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 13:33:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-we-identify-hive-metastore-performance-and-which/m-p/324933#M229488</guid>
      <dc:creator>nareshbattula</dc:creator>
      <dc:date>2021-09-21T13:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do we identify hive metastore performance and which tables/dbs causing more pressure on Hivemetastore and number of connections on HMS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-we-identify-hive-metastore-performance-and-which/m-p/325053#M229509</link>
      <description>&lt;P&gt;You can find number of connections to HMS using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lsof -p &amp;lt;HMS PID&amp;gt; | grep -i "ESTABLICHSED" | wc -l&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For checking number of db/table,you have to rely on hiveserver2 logs .&lt;/P&gt;&lt;P&gt;We don't have any STATS to check how many times a particular DB/Table is accessed.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 08:38:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-we-identify-hive-metastore-performance-and-which/m-p/325053#M229509</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2021-09-22T08:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do we identify hive metastore performance and which tables/dbs causing more pressure on Hivemetastore and number of connections on HMS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-we-identify-hive-metastore-performance-and-which/m-p/325100#M229527</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89407"&gt;@nareshbattula&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1: hive metastore performance&lt;BR /&gt;Based on the memory tuning the performance could vary. Please check the below link to see how to set the memory stuff&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/5-7-x/topics/admin_hive_tuning.html" target="_blank"&gt;https://docs.cloudera.com/documentation/enterprise/5-7-x/topics/admin_hive_tuning.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q2: which tables/dbs causing more pressure on Hivemetastore&lt;BR /&gt;You may have to check in the HMS logs to see which query is taking a long time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using HDP you can find the current Memory pressure and Heap usage details via the below link&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/using-ambari-core-services/content/amb_hive_hivemetastore.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/using-ambari-core-services/content/amb_hive_hivemetastore.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/using-ambari-core-services/content/amb_hive_home.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/using-ambari-core-services/content/amb_hive_home.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using CM then you can see the details in below link&lt;BR /&gt;CM &amp;gt; Hive &amp;gt; Hivemetastore &amp;gt; Charts &amp;gt; JVM Heap Usage/JVM Pause Time/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q3: number of connections on HMS?&lt;BR /&gt;You can run the below commands to see the established connection/number of connections to HMS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;netstat -ntpla | grep 9083&lt;BR /&gt;lsof -p &amp;lt;hms pid&amp;gt; | grep "ESTABLISHED" -i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using CM then you can see the details in the below link&lt;BR /&gt;CM &amp;gt; Hive &amp;gt; Hivemetastore &amp;gt; Charts &amp;gt; Open connections&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are happy with the reply, mark it Accept as Solution&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 16:39:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-we-identify-hive-metastore-performance-and-which/m-p/325100#M229527</guid>
      <dc:creator>Shifu</dc:creator>
      <dc:date>2021-09-22T16:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do we identify hive metastore performance and which tables/dbs causing more pressure on Hivemetastore and number of connections on HMS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-we-identify-hive-metastore-performance-and-which/m-p/325488#M229646</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89407"&gt;@nareshbattula&lt;/a&gt;,&amp;nbsp;Has any of the replies helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 05:32:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-we-identify-hive-metastore-performance-and-which/m-p/325488#M229646</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-09-28T05:32:29Z</dc:date>
    </item>
  </channel>
</rss>

