<?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: Cleaning up CM logs in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/31413#M36093</link>
    <description>has anyone tried deleting older ts directories?</description>
    <pubDate>Tue, 01 Sep 2015 09:40:06 GMT</pubDate>
    <dc:creator>steveandbee</dc:creator>
    <dc:date>2015-09-01T09:40:06Z</dc:date>
    <item>
      <title>Cleaning up CM logs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/7370#M36087</link>
      <description>&lt;P&gt;My disks are filling up from files in /var/lib/cloudera-service-monitor/ts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) What it safe to delete and is this done manually or is there a CM way to clean up?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) What CM config controlls the amount of data produced here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) What does "ts" stand for?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:55:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/7370#M36087</guid>
      <dc:creator>jazzfan</dc:creator>
      <dc:date>2022-09-16T08:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up CM logs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/7374#M36088</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"ts" stands for Time Series. This is where the Service Monitor role in the Management Service stores data for Time Series information. You can configure retention policies in the configuraiton of your Service Monitor role. There's also a page to help you understand the disk usage in detail, as described below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN&gt;Time-Series Storage&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;firehose_time_series_storage_bytes&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="CMFValue"&gt;&lt;DIV class="defaultGroup config_group_6_firehose_time_series_storage_bytes"&gt;&lt;SPAN&gt;10 GiB&lt;/SPAN&gt;&lt;DIV class="default"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="CMFValue"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="description"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The approximate amount of disk space dedicated to storing time series and health data. Once the store has reached its maximum size older data will be deleted to make room for newer data. The disk usage is approximate because we only begin deleting data once we've reached the limit.&lt;BR /&gt;&lt;BR /&gt;Note that Cloudera Manager stores time-series data at a number of different data granularities, and these granularities have different effective retention periods. Specifically, Cloudera Manager stores metric data as both raw data points and ten-minutely, hourly, six-hourly, daily, and weekly summary data points. Raw data consumes the bulk of the allocated storage space, weekly summaries the least. As such, raw data is retained for the shortest amount of time, while weekly summary points are unlikely to ever be deleted.&lt;BR /&gt;&lt;BR /&gt;See the "Disk Usage" tab on the Service Monitor page for more information on how space is consumed within the Service Monitor. This tab also shows information about the amount of data retained and time window covered by each data granularity.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 13 Mar 2014 15:41:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/7374#M36088</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2014-03-13T15:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up CM logs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/7380#M36089</link>
      <description>When I try to make it less than 2GB I get this error in the CM GUI. Seems like 10GB is minimum? Maybe on a production cluster this make sense but I'm testing in a bunch of VMs and don't really care about the depth of stats so why can't I just reduce this? Why should I need to dedicate 10GB per VM just for stats and also there is a config entry for both Host Monitor and Service Monitor so does that mean it requires a minimum of 20GB per node??&lt;BR /&gt;&lt;BR /&gt;2147483648 is less than the minimum allowed value 10737418240&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Mar 2014 17:14:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/7380#M36089</guid>
      <dc:creator>jazzfan</dc:creator>
      <dc:date>2014-03-13T17:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up CM logs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/7382#M36090</link>
      <description>&lt;P&gt;Yes, 10 GB is the minimum value here, and yes both the Host Monitor and Service Monitor have a setting like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So yes, the VM hosting your Service Monitor needs a volume to hold this store which will grow to approximately 10 GB over time. So does the VM hosting your Host Monitor. If it's the same VM, then you'd need 20 GB on that node. Note that things will perform much better if the Host Monitor and Service Monitor storage directories are on different volumes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 17:44:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/7382#M36090</guid>
      <dc:creator>cleroy</dc:creator>
      <dc:date>2014-03-13T17:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up CM logs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/12596#M36091</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;came across this post as i am having the same issue with the /var partition being at 100% full.&lt;/P&gt;&lt;P&gt;is it possible to delete older *.ts files from command prompt? aside from cleaning up /var/log, what else can i do?&lt;/P&gt;&lt;P&gt;thanks in advance, terry&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2014 22:04:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/12596#M36091</guid>
      <dc:creator>terryt</dc:creator>
      <dc:date>2014-05-21T22:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up CM logs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/29965#M36092</link>
      <description>&lt;P&gt;I am facing a similair issue, is there a definitive way of clearing up old ts files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2015 09:36:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/29965#M36092</guid>
      <dc:creator>bulmanp</dc:creator>
      <dc:date>2015-07-23T09:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up CM logs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/31413#M36093</link>
      <description>has anyone tried deleting older ts directories?</description>
      <pubDate>Tue, 01 Sep 2015 09:40:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/31413#M36093</guid>
      <dc:creator>steveandbee</dc:creator>
      <dc:date>2015-09-01T09:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up CM logs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/31432#M36094</link>
      <description>You should not do this yourself. You can control the amount of space&lt;BR /&gt;that CM consumes in these directories via the Time-Series Storage&lt;BR /&gt;configuration of HMON and SMON. There's a 10 GB minimum for both,&lt;BR /&gt;meaning you can expect 20 GB to be consumed by these two roles&lt;BR /&gt;eventually.&lt;BR /&gt;&lt;BR /&gt;It is possible, though discouraged to set a lower limit, though you&lt;BR /&gt;have to use the cmon.conf safety valve. You can enter a number of&lt;BR /&gt;bytes to use as a maximum -- something like below where XXX is the&lt;BR /&gt;number of bytes. This requires an SMON or HMON restart, but it should&lt;BR /&gt;very quickly cleanup to the limit specified. Again, this is something&lt;BR /&gt;we don't really test with outside of some dev clusters, so proceed&lt;BR /&gt;with caution.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;firehose_time_series_storage_bytes&lt;BR /&gt;XXX&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;chris&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Sep 2015 15:41:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/31432#M36094</guid>
      <dc:creator>cleroy</dc:creator>
      <dc:date>2015-09-01T15:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up CM logs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/31433#M36095</link>
      <description>&lt;P&gt;Thanks Chris. I'll have a look.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 15:42:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/31433#M36095</guid>
      <dc:creator>steveandbee</dc:creator>
      <dc:date>2015-09-01T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up CM logs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/87490#M36096</link>
      <description>&lt;P&gt;This worked for me, the snipped below is an example for limiting the diskspace to 5gb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;name&amp;gt;firehose_time_series_storage_bytes&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;value&amp;gt;5368709120&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 13:17:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cleaning-up-CM-logs/m-p/87490#M36096</guid>
      <dc:creator>crcerror</dc:creator>
      <dc:date>2019-03-08T13:17:27Z</dc:date>
    </item>
  </channel>
</rss>

