<?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: ambari metrics + change the path of hbase.rootdir because local disk not have space in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-change-the-path-of-hbase-rootdir-because/m-p/240433#M202237</link>
    <description>&lt;P&gt;HI &lt;A rel="user" href="#"&gt;@Michael Bronson&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Referring to your doubt of Changing the hbase.rootdir&lt;/P&gt;&lt;P&gt;Please follow the following steps and let me know if this helps ( I am assuming that you need to preserve all the Previously collected metrics )&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Steps&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1)Stop ambari-metrics&lt;/P&gt;&lt;P&gt;2) Copy the contents of /var/lib/ambari-metrics-collector/ to the New directory you want to set as new&lt;/P&gt;&lt;P&gt;for ex :&lt;/P&gt;&lt;PRE&gt;cd /var/lib/ambari-metrics-collector/
mv hbase hbase-tmp/ /tmp/ambari-metrics-collector/&lt;/PRE&gt;&lt;P&gt;3) go to ambari-ui-&amp;gt;services-&amp;gt;ambari-metrics-&amp;gt;config -&amp;gt; search for hbase.rootdir and hbase.tmpdir and change it accordingly as per new Folder sctructure.&lt;/P&gt;&lt;P&gt;4) Start ambari-metrics collector&lt;/P&gt;&lt;P&gt;5) you can see AMS has successfully using the new Hbase dir and also the old matrics are preserved&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let me know if this helps. Please accept the answer if it did.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2019 13:21:18 GMT</pubDate>
    <dc:creator>akhilsnaik</dc:creator>
    <dc:date>2019-05-13T13:21:18Z</dc:date>
    <item>
      <title>ambari metrics + change the path of hbase.rootdir because local disk not have space</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-change-the-path-of-hbase-rootdir-because/m-p/240432#M202236</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;in ambari metrics configuration , we have the following&lt;/P&gt;&lt;PRE&gt;hbase.rootdir=/var/lib/ambari-metrics-collector/hbase&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;since /var is 97%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;we want to replace the path to the new disk ( that mounted to &lt;STRONG&gt;data_metrics&lt;/STRONG&gt; folder )&lt;/P&gt;&lt;P&gt;as the following:&lt;/P&gt;&lt;PRE&gt;hbase.rootdir=/data_metrics/lib/ambari-metrics-collector/hbase&lt;/PRE&gt;&lt;P&gt;can we just change the path and restart the metrics service ?&lt;/P&gt;&lt;P&gt;so all metrics data will be under - &lt;STRONG&gt;/data_metrics/lib/ambari-metrics-collector/hbase&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;instead of - &lt;STRONG&gt;/var/lib/ambari-metrics-collector/hbase  ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 13:00:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-change-the-path-of-hbase-rootdir-because/m-p/240432#M202236</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-05-13T13:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: ambari metrics + change the path of hbase.rootdir because local disk not have space</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-change-the-path-of-hbase-rootdir-because/m-p/240433#M202237</link>
      <description>&lt;P&gt;HI &lt;A rel="user" href="#"&gt;@Michael Bronson&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Referring to your doubt of Changing the hbase.rootdir&lt;/P&gt;&lt;P&gt;Please follow the following steps and let me know if this helps ( I am assuming that you need to preserve all the Previously collected metrics )&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Steps&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1)Stop ambari-metrics&lt;/P&gt;&lt;P&gt;2) Copy the contents of /var/lib/ambari-metrics-collector/ to the New directory you want to set as new&lt;/P&gt;&lt;P&gt;for ex :&lt;/P&gt;&lt;PRE&gt;cd /var/lib/ambari-metrics-collector/
mv hbase hbase-tmp/ /tmp/ambari-metrics-collector/&lt;/PRE&gt;&lt;P&gt;3) go to ambari-ui-&amp;gt;services-&amp;gt;ambari-metrics-&amp;gt;config -&amp;gt; search for hbase.rootdir and hbase.tmpdir and change it accordingly as per new Folder sctructure.&lt;/P&gt;&lt;P&gt;4) Start ambari-metrics collector&lt;/P&gt;&lt;P&gt;5) you can see AMS has successfully using the new Hbase dir and also the old matrics are preserved&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Let me know if this helps. Please accept the answer if it did.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 13:21:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-change-the-path-of-hbase-rootdir-because/m-p/240433#M202237</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2019-05-13T13:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: ambari metrics + change the path of hbase.rootdir because local disk not have space</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-change-the-path-of-hbase-rootdir-because/m-p/240434#M202238</link>
      <description>&lt;P&gt;do you mean to copy the folder /var/lib/ambari-metrics-collector/hbase to the new path - /data_metrics/lib/ambari-metrics-collector/ &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;as&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;mv /var/lib/ambari-metrics-collector/hbase /data_metrics/lib/ambari-metrics-collector/ &lt;/PRE&gt;</description>
      <pubDate>Mon, 13 May 2019 13:28:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-change-the-path-of-hbase-rootdir-because/m-p/240434#M202238</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-05-13T13:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: ambari metrics + change the path of hbase.rootdir because local disk not have space</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-change-the-path-of-hbase-rootdir-because/m-p/240435#M202239</link>
      <description>&lt;P&gt;you should be copying the directory structure as it is . Create folder hbase and hbase in /data_metrics/lib/ambari-metrics-collector/  and copy the contents from other place as it is.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 14:32:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-change-the-path-of-hbase-rootdir-because/m-p/240435#M202239</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2019-05-13T14:32:08Z</dc:date>
    </item>
  </channel>
</rss>

