<?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: Hive metastore log files are not getting cleaned up automatically in CDP in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-metastore-log-files-are-not-getting-cleaned-up/m-p/310566#M224216</link>
    <description>&lt;P&gt;Thank you for the help Tushar-san ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;understood, we can update log4j property&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 09:27:41 GMT</pubDate>
    <dc:creator>saurabh707</dc:creator>
    <dc:date>2021-01-28T09:27:41Z</dc:date>
    <item>
      <title>Hive metastore log files are not getting cleaned up automatically in CDP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-metastore-log-files-are-not-getting-cleaned-up/m-p/310472#M224169</link>
      <description>&lt;P&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715489 Jan &amp;nbsp;20 23:21 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-20-5&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715610 Jan &amp;nbsp;21 04:31 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-21-1&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715215 Jan &amp;nbsp;21 09:38 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-21-2&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715271 Jan &amp;nbsp;21 14:43 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-21-3&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715387 Jan &amp;nbsp;21 19:50 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-21-4&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715339 Jan &amp;nbsp;22 00:54 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-22-1&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715439 Jan &amp;nbsp;22 05:55 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-22-2&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715509 Jan &amp;nbsp;22 11:08 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-22-3&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715418 Jan &amp;nbsp;22 18:08 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-22-4&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715222 Jan &amp;nbsp;22 23:20 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-22-5&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715221 Jan &amp;nbsp;23 04:14 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-23-1&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715565 Jan &amp;nbsp;24 09:10 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-24-2&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715318 Jan &amp;nbsp;24 14:34 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-24-3&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715298 Jan &amp;nbsp;24 19:37 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-24-4&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715216 Jan &amp;nbsp;26 01:07 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-26-1&lt;BR /&gt;-rw-r--r--. &amp;nbsp;1 hive hive 209715561 Jan &amp;nbsp;26 06:36 hadoop-cmf-hive-HIVEMETASTORE-masternode3.phenoix.test.com.log.out.2021-01-26-2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This is further occupying lot of disk space, could you please help?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 09:07:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-metastore-log-files-are-not-getting-cleaned-up/m-p/310472#M224169</guid>
      <dc:creator>saurabh707</dc:creator>
      <dc:date>2026-04-21T09:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hive metastore log files are not getting cleaned up automatically in CDP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-metastore-log-files-are-not-getting-cleaned-up/m-p/310473#M224170</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82100"&gt;@saurabh707&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please try the below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update hive log4j configs through CM&amp;nbsp;&lt;BR /&gt;Hive on Tez -&amp;gt; Configuration -&amp;gt;&amp;nbsp;&lt;SPAN&gt;HiveServer2 Logging Advanced Configuration Snippet (Safety Valve)&lt;/SPAN&gt;&lt;BR /&gt;Hive&amp;nbsp; -&amp;gt; Configuration -&amp;gt; Hive Metastore Server Logging Advanced Configuration Snippet (Safety Valve)&lt;/P&gt;&lt;P&gt;Add the following to config:&lt;/P&gt;&lt;P&gt;appender.DRFA.strategy.action.type=DELETE&lt;BR /&gt;appender.DRFA.strategy.action.basepath=${log.dir}&lt;BR /&gt;appender.DRFA.strategy.action.maxdepth=1&lt;BR /&gt;appender.DRFA.strategy.action.PathConditions.glob=${log.file}.*&lt;BR /&gt;appender.DRFA.strategy.action.PathConditions.type=IfFileName&lt;BR /&gt;appender.DRFA.strategy.action.PathConditions.nestedConditions.type=IfAccumulatedFileCount&lt;BR /&gt;appender.DRFA.strategy.action.PathConditions.nestedConditions.exceeds=10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if the above addresses it.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 03:34:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-metastore-log-files-are-not-getting-cleaned-up/m-p/310473#M224170</guid>
      <dc:creator>tusharkathpal</dc:creator>
      <dc:date>2021-01-27T03:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hive metastore log files are not getting cleaned up automatically in CDP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-metastore-log-files-are-not-getting-cleaned-up/m-p/310566#M224216</link>
      <description>&lt;P&gt;Thank you for the help Tushar-san ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;understood, we can update log4j property&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 09:27:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-metastore-log-files-are-not-getting-cleaned-up/m-p/310566#M224216</guid>
      <dc:creator>saurabh707</dc:creator>
      <dc:date>2021-01-28T09:27:41Z</dc:date>
    </item>
  </channel>
</rss>

