<?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 metircs not started in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-metircs-not-started/m-p/283228#M210525</link>
    <description>&lt;P&gt;Hi&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68583"&gt;@Manoj690&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems your AMS hbase master is not able to start -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try below steps -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the Ambari Dashboard, go to the 'Ambari Metrics' section and under the 'Service Actions' dropdown click 'Stop'.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;Check and confirm from backend that ams process is stopped. If the process is still running use below command to stop -&lt;BR /&gt;# ambari-metrics-collector stop&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;Delete all AMS Hbase data -&lt;/LI&gt;&lt;OL&gt;&lt;LI&gt;In the Ambari Dashboard, under the Ambari Metrics section do a search for the following configuration values&amp;nbsp; "hbase.rootdir"&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;Remove entire files from “hbase.rootdir”&lt;BR /&gt;Eg.&amp;nbsp; #hdfs dfs -cp&amp;nbsp; /user/ams/hbase/* /tmp/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #hdfs dfs -rm -r -skipTrash&amp;nbsp; /user/ams/hbase/*&lt;/LI&gt;&lt;LI&gt;In the Ambari Dashboard, under the Ambari Metrics section do a search for the following configuration values&amp;nbsp; “hbase.tmp.dir”. Backup the directory and remove the data.&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;Eg. #cp /var/lib/ambari-metrics-collector/hbase-tmp/*&amp;nbsp; /tmp/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #rm –fr /var/lib/ambari-metrics-collector/hbase-tmp/*&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Remove the znode for hbase in zookeeper cli&lt;BR /&gt;Login to ambari UI -&amp;gt; Ambari Metrics -&amp;gt; Configs -&amp;gt; Advance ams-hbase-site and search for property&amp;nbsp; “zookeeper.znode.parent”&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;#/usr/hdp/current/zookeeper-client/bin/zkCli.sh&lt;/P&gt;&lt;P&gt;#rmr /ams-hbase-secure&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Start AMS&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let know if you still have issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2019 10:24:37 GMT</pubDate>
    <dc:creator>sagarshimpi</dc:creator>
    <dc:date>2019-11-18T10:24:37Z</dc:date>
    <item>
      <title>Ambari metircs not started</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-metircs-not-started/m-p/283227#M210524</link>
      <description>&lt;PRE&gt;/Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/AMBARI_METRICS/package/scripts/metrics_collector.py", line 90, in &amp;lt;module&amp;gt;
    AmsCollector().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 355, in execute
    self.execute_prefix_function(self.command_name, 'post', env)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 382, in execute_prefix_function
    method(env)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 424, in post_start
    raise Fail("Pid file {0} doesn't exist after starting of the component.".format(pid_file))
resource_management.core.exceptions.Fail: Pid file /var/run/ambari-metrics-collector//hbase-ams-master.pid doesn't exist after starting of the component./&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Nov 2019 14:07:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-metircs-not-started/m-p/283227#M210524</guid>
      <dc:creator>Manoj690</dc:creator>
      <dc:date>2019-11-18T14:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari metircs not started</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-metircs-not-started/m-p/283228#M210525</link>
      <description>&lt;P&gt;Hi&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/68583"&gt;@Manoj690&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems your AMS hbase master is not able to start -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try below steps -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the Ambari Dashboard, go to the 'Ambari Metrics' section and under the 'Service Actions' dropdown click 'Stop'.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;Check and confirm from backend that ams process is stopped. If the process is still running use below command to stop -&lt;BR /&gt;# ambari-metrics-collector stop&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;Delete all AMS Hbase data -&lt;/LI&gt;&lt;OL&gt;&lt;LI&gt;In the Ambari Dashboard, under the Ambari Metrics section do a search for the following configuration values&amp;nbsp; "hbase.rootdir"&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;Remove entire files from “hbase.rootdir”&lt;BR /&gt;Eg.&amp;nbsp; #hdfs dfs -cp&amp;nbsp; /user/ams/hbase/* /tmp/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #hdfs dfs -rm -r -skipTrash&amp;nbsp; /user/ams/hbase/*&lt;/LI&gt;&lt;LI&gt;In the Ambari Dashboard, under the Ambari Metrics section do a search for the following configuration values&amp;nbsp; “hbase.tmp.dir”. Backup the directory and remove the data.&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;P&gt;Eg. #cp /var/lib/ambari-metrics-collector/hbase-tmp/*&amp;nbsp; /tmp/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #rm –fr /var/lib/ambari-metrics-collector/hbase-tmp/*&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Remove the znode for hbase in zookeeper cli&lt;BR /&gt;Login to ambari UI -&amp;gt; Ambari Metrics -&amp;gt; Configs -&amp;gt; Advance ams-hbase-site and search for property&amp;nbsp; “zookeeper.znode.parent”&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;#/usr/hdp/current/zookeeper-client/bin/zkCli.sh&lt;/P&gt;&lt;P&gt;#rmr /ams-hbase-secure&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Start AMS&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let know if you still have issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 10:24:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-metircs-not-started/m-p/283228#M210525</guid>
      <dc:creator>sagarshimpi</dc:creator>
      <dc:date>2019-11-18T10:24:37Z</dc:date>
    </item>
  </channel>
</rss>

