<?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: Could I delete  /var/lib/cloudera-service/host-monitor files? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92469#M33555</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35153"&gt;@kal&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, we need to be sure about the directory to which you are referring.&lt;/P&gt;&lt;P&gt;You mentioned &lt;STRONG&gt;/var/lib/cloudera-service/host-monitor&lt;/STRONG&gt; , but that seems unconventional.&lt;/P&gt;&lt;P&gt;If we are talking about the Cloudera Host Monitor &lt;EM&gt;Host Monitor Storage Directory&lt;/EM&gt;, that is usually:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/var/lib/cloudera-host-monitor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are, indeed, referring to the directory that is defined in the Cloudera Management Service "Host Monitor Storage Directory" configuration parameter, then that is where the Host Monitor stores information collected about hosts.&amp;nbsp; Host Monitor pulls from indexes in that directory in order to provide information for Host Charts and historical data.&amp;nbsp; CDH does not depend on it so it will not impact your services.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you remove the data in /var/lib/cloudera-host-monitor, then you will not have access to historical host information and your charts will start from the point the Host Monitor is restarted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are OK with that, then you can do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Stop the Host Monitor (via Cloudera Manager)&lt;/LI&gt;&lt;LI&gt;move all the contents (recursively) out of /var/lib/cloudera-host-monitor&lt;/LI&gt;&lt;LI&gt;Start the Host Monitor (via Cloudera Manager)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If everything looks OK to you at that point, you could go ahead and delete the files you moved out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short, you can delete the host monitor storage files without impacting your cluster.&amp;nbsp; Host Monitor is used for charts and historical reference, but it will start from scratch if you delete all the files.&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2019 19:11:38 GMT</pubDate>
    <dc:creator>bgooley</dc:creator>
    <dc:date>2019-07-09T19:11:38Z</dc:date>
    <item>
      <title>Could I delete  /var/lib/cloudera-service/host-monitor files?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92465#M33554</link>
      <description>&lt;P&gt;Hi, I want to delete the /var/lib/ cloudera-service/host-monitor files. But when I search everyone is saying its not best to delete these files. But 90% of space is used by them. I know I will loose the chart data history, that wont be a problem. If I delete them, will my production cluster can work normally like before?If not what errors will I get? We are using CDH 5.10.0 parcles. I need your insight on this issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 18:06:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92465#M33554</guid>
      <dc:creator>kal</dc:creator>
      <dc:date>2019-07-09T18:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Could I delete  /var/lib/cloudera-service/host-monitor files?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92469#M33555</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35153"&gt;@kal&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, we need to be sure about the directory to which you are referring.&lt;/P&gt;&lt;P&gt;You mentioned &lt;STRONG&gt;/var/lib/cloudera-service/host-monitor&lt;/STRONG&gt; , but that seems unconventional.&lt;/P&gt;&lt;P&gt;If we are talking about the Cloudera Host Monitor &lt;EM&gt;Host Monitor Storage Directory&lt;/EM&gt;, that is usually:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/var/lib/cloudera-host-monitor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are, indeed, referring to the directory that is defined in the Cloudera Management Service "Host Monitor Storage Directory" configuration parameter, then that is where the Host Monitor stores information collected about hosts.&amp;nbsp; Host Monitor pulls from indexes in that directory in order to provide information for Host Charts and historical data.&amp;nbsp; CDH does not depend on it so it will not impact your services.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you remove the data in /var/lib/cloudera-host-monitor, then you will not have access to historical host information and your charts will start from the point the Host Monitor is restarted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are OK with that, then you can do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Stop the Host Monitor (via Cloudera Manager)&lt;/LI&gt;&lt;LI&gt;move all the contents (recursively) out of /var/lib/cloudera-host-monitor&lt;/LI&gt;&lt;LI&gt;Start the Host Monitor (via Cloudera Manager)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If everything looks OK to you at that point, you could go ahead and delete the files you moved out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short, you can delete the host monitor storage files without impacting your cluster.&amp;nbsp; Host Monitor is used for charts and historical reference, but it will start from scratch if you delete all the files.&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 19:11:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92469#M33555</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2019-07-09T19:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Could I delete  /var/lib/cloudera-service/host-monitor files?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92471#M33556</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&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;I am talking about &lt;U&gt;/var/lib/cloudera-service-monitor&lt;/U&gt; and &lt;U&gt;/var/lib/clouder-host-monitor,&lt;/U&gt; both of these occupied almost 20GB, I want to delete the files in both of them. But not sure what will happen. Its a production cluster, so dont want impact on it by my actions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cloudera-service-monitor has impala, reports, subject_record, ts and yarn folders. I want to delete the files in &lt;STRONG&gt;subject_record&lt;/STRONG&gt; and &lt;STRONG&gt;ts&lt;/STRONG&gt; floders, because they occupied 9GB. Is that ok to delete them?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;ts&lt;/STRONG&gt; folder has below files:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;stream&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_stream_rollup_PT21600S&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_stream_rollup_PT600S&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_stream_rollup_PT86400S&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_type_rollup_PT3600S&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_type_rollup_PT604800S&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;type&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ts_entity_metadata&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_stream_rollup_PT3600S&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_stream_rollup_PT604800S&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_type_rollup_PT21600S&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_type_rollup_PT600S&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_type_rollup_PT86400S&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;The &lt;STRONG&gt;subject_record&lt;/STRONG&gt; folder has below files:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;subject_ts&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts_subject&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The cloudera-host-monitor has below floders:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;subject_record&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;ts&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Like in cloudera-service-monitor, almost same files are present in both the subject_record and ts floders.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that ok to manually delete them? if chart data is gone it is fine but we need space.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Picture1.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5792i5770B0C2485A0E0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Picture1.png" alt="Picture1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 19:45:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92471#M33556</guid>
      <dc:creator>kal</dc:creator>
      <dc:date>2019-07-09T19:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Could I delete  /var/lib/cloudera-service/host-monitor files?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92480#M33557</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am talking about /var/lib/cloudera-host-monitor and /var/lib/cloudera-service-monitor. They occupied almost 20GB of the space and I want to delete those files. By below screenshot you will know what these folders contain.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-07-09 at 1.55.36 PM.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5793i2227613895126CA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-07-09 at 1.55.36 PM.png" alt="Screen Shot 2019-07-09 at 1.55.36 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need space, if charts history is gone I am fine. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 19:56:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92480#M33557</guid>
      <dc:creator>kal</dc:creator>
      <dc:date>2019-07-09T19:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Could I delete  /var/lib/cloudera-service/host-monitor files?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92482#M33558</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35153"&gt;@kal&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yup, you can stop Service Monitor and Host Monitor and then remove the contents of &lt;STRONG&gt;cloudera-host-monitor&lt;/STRONG&gt; and &lt;STRONG&gt;cloudera-service-monitor&lt;/STRONG&gt; directories.&lt;/P&gt;&lt;P&gt;When you restart Servcie and Host Monitor, new indexes will be start from scratch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will only lose the historical information.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 20:26:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-I-delete-var-lib-cloudera-service-host-monitor-files/m-p/92482#M33558</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2019-07-09T20:26:44Z</dc:date>
    </item>
  </channel>
</rss>

