<?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: hivemetastore memory leak with ranger in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hivemetastore-memory-leak-with-ranger/m-p/282405#M209975</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/62037"&gt;@nagaiik&lt;/a&gt;&amp;nbsp; We dont have ranger plugin for Hive metastore. Ranger plugin is configured for Hive Server2 and runs as part of HS2 JVM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is Hive metastore that hangs then it is not related to ranger. Heap dump of the process must be analyzed&amp;nbsp; to identify what is causing high memory usage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HIVE-20568 is the fix to not convert special characters in the table/db names. Due to the conversion of names, ranger authorization was not enforced as names are not same as the one set in policies. This doesnt have any workaround can be fixed on with upgrade to HDP-3.1.4 or contact cloudera hotfix. Refer the release notes for fixed issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/release-notes/content/fixed_issues.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/release-notes/content/fixed_issues.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2019 00:49:31 GMT</pubDate>
    <dc:creator>rguruvannagari</dc:creator>
    <dc:date>2019-11-08T00:49:31Z</dc:date>
    <item>
      <title>hivemetastore memory leak with ranger</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hivemetastore-memory-leak-with-ranger/m-p/282367#M209946</link>
      <description>&lt;P&gt;hive metastore is consuming complete heap(tried max heap : 24G) after sometime&amp;nbsp; the metastore is not responding , the metastore is ok if we disable ranger hive authentication&amp;nbsp; this issue is reported in (&lt;A href="https://jira.apache.org/jira/browse/HIVE-20568" target="_blank" rel="noopener"&gt;https://jira.apache.org/jira/browse/HIVE-20568&lt;/A&gt;) ,&lt;/P&gt;&lt;P&gt;It seems ranger plugin is causing memory leaks during audit when it encounters hive db names containing '_'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just wondering to know if there is a work around for it in HDP-3.1.0 or the upgrade from HDP-3.1 to HDP-3.1.4 will fix it,&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current Version&amp;nbsp; and config Information :&lt;/P&gt;&lt;P&gt;========================&lt;/P&gt;&lt;P&gt;HDP-3.1&lt;/P&gt;&lt;P&gt;hive-3.1&lt;/P&gt;&lt;P&gt;Hive Authentication - Ranger&lt;/P&gt;&lt;P&gt;JDK-1.8&lt;/P&gt;&lt;P&gt;mysql -7.5&lt;/P&gt;&lt;P&gt;mysql-connector-8.0.13.jar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 13:56:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hivemetastore-memory-leak-with-ranger/m-p/282367#M209946</guid>
      <dc:creator>nagaiik</dc:creator>
      <dc:date>2019-11-07T13:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: hivemetastore memory leak with ranger</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hivemetastore-memory-leak-with-ranger/m-p/282405#M209975</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/62037"&gt;@nagaiik&lt;/a&gt;&amp;nbsp; We dont have ranger plugin for Hive metastore. Ranger plugin is configured for Hive Server2 and runs as part of HS2 JVM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is Hive metastore that hangs then it is not related to ranger. Heap dump of the process must be analyzed&amp;nbsp; to identify what is causing high memory usage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HIVE-20568 is the fix to not convert special characters in the table/db names. Due to the conversion of names, ranger authorization was not enforced as names are not same as the one set in policies. This doesnt have any workaround can be fixed on with upgrade to HDP-3.1.4 or contact cloudera hotfix. Refer the release notes for fixed issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/release-notes/content/fixed_issues.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/release-notes/content/fixed_issues.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 00:49:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hivemetastore-memory-leak-with-ranger/m-p/282405#M209975</guid>
      <dc:creator>rguruvannagari</dc:creator>
      <dc:date>2019-11-08T00:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: hivemetastore memory leak with ranger</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hivemetastore-memory-leak-with-ranger/m-p/282509#M210019</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/50754"&gt;@rguruvannagari&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for alot&amp;nbsp; for the reply , not sure if heap space is filled&amp;nbsp; during compaction or ranger hive audit if we set&amp;nbsp; hive authentication to none then it is ok , please see the following issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/hive-metastore-is-not-responding-but-alive-with-the/m-p/282224" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/hive-metastore-is-not-responding-but-alive-with-the/m-p/282224&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nag&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 14:26:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hivemetastore-memory-leak-with-ranger/m-p/282509#M210019</guid>
      <dc:creator>nagaiik</dc:creator>
      <dc:date>2019-11-08T14:26:40Z</dc:date>
    </item>
  </channel>
</rss>

