<?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 collector not starting in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135055#M18841</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1277/prakashpunj.html" nodeid="1277"&gt;@Prakash Punj&lt;/A&gt; There are a few mis-configs in your setting&lt;/P&gt;&lt;PRE&gt;hbase.rootdir  --hdfs://hdp-m.samitsolutions.com:8020/apps/hbase/data  
hbase.cluster.distributed  -  TRUE  
Metrics service operation mode - embedded  
hbase.zookeeper.property.clientPort  --2181  
hbase.zookeeper.quorum --- hdp-m.samitsolutions.com&lt;/PRE&gt;&lt;P&gt;If you run AMS in embedded mode then hbase.cluster.distributed should be false, and hbase.rootdir set to a local directory using the "file://" scheme. If you prefer distributed mode then timeline.metrics.service.operation.mode should be "distributed". In either case, for AMS HBase AMS runs its own instance of ZooKeeper which by default listens on port 61181. It looks like your are trying to use ZooKeeper of the cluster instead.

My recommendetion: Switch to the "embedded" mode (unless your cluster has hundreds of nodes), and the default AMS ZK on port 61181.&lt;/P&gt;</description>
    <pubDate>Sun, 14 Feb 2016 08:56:40 GMT</pubDate>
    <dc:creator>pminovic</dc:creator>
    <dc:date>2016-02-14T08:56:40Z</dc:date>
    <item>
      <title>Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135033#M18819</link>
      <description>&lt;P&gt;When I start ambari-metrics collector, there is no error in starting but it never starts. When I checked the log file, below is what I see:&lt;/P&gt;&lt;P&gt;Value of zookeper.znode.parent is: /hbase-unsecure&lt;/P&gt;&lt;PRE&gt; retries=35, started=229269 ms ago, cancelled=false, msg=
2016-02-09 19:39:15,043 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:39:15,043 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=20, retries=35, started=249286 ms ago, cancelled=false, msg=
2016-02-09 19:39:35,080 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:39:35,081 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=21, retries=35, started=269324 ms ago, cancelled=false, msg=
2016-02-09 19:39:55,151 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:39:55,152 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=22, retries=35, started=289395 ms ago, cancelled=false, msg=
2016-02-09 19:40:15,192 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:40:15,193 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=23, retries=35, started=309436 ms ago, cancelled=false, msg=
2016-02-09 19:40:35,275 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:40:35,276 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=24, retries=35, started=329519 ms ago, cancelled=false, msg=
2016-02-09 19:40:55,283 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:40:55,283 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=25, retries=35, started=349526 ms ago, cancelled=false, msg=
2016-02-09 19:41:15,437 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:41:15,437 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=26, retries=35, started=369680 ms ago, cancelled=false, msg=
2016-02-09 19:41:35,604 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:41:35,604 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=27, retries=35, started=389847 ms ago, cancelled=false, msg=
2016-02-09 19:41:55,633 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:41:55,635 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=28, retries=35, started=409878 ms ago, cancelled=false, msg=
2016-02-09 19:42:15,646 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:42:15,646 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=29, retries=35, started=429889 ms ago, cancelled=false, msg=
2016-02-09 19:42:35,841 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:42:35,841 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=30, retries=35, started=450084 ms ago, cancelled=false, msg=
2016-02-09 19:42:56,032 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:42:56,032 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=31, retries=35, started=470275 ms ago, cancelled=false, msg=
2016-02-09 19:43:16,088 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:43:16,088 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=32, retries=35, started=490331 ms ago, cancelled=false, msg=
2016-02-09 19:43:36,265 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-09 19:43:36,265 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=33, retries=35, started=510508 ms ago, cancelled=false, msg=


&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Feb 2016 08:46:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135033#M18819</guid>
      <dc:creator>prakashpunj</dc:creator>
      <dc:date>2016-02-10T08:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135034#M18820</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1277/prakashpunj.html" nodeid="1277" target="_blank"&gt;@Prakash Punj&lt;/A&gt;&lt;P&gt;Set this under HBASE&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1966-screen-shot-2016-02-09-at-74813-pm.png" style="width: 1556px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22095iDEDA2F1239446648/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1966-screen-shot-2016-02-09-at-74813-pm.png" alt="1966-screen-shot-2016-02-09-at-74813-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:59:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135034#M18820</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-19T08:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135035#M18821</link>
      <description>&lt;P&gt;Also, you will notice the same setting under AMS also. check that too&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 08:49:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135035#M18821</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T08:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135036#M18822</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; . But the setting under Ambari Metrics for "zookeeper.znode.parent" is blank and is greyed out. I found this under&lt;/P&gt;&lt;PRE&gt;Advanced ams-hbase-security-site&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Feb 2016 10:23:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135036#M18822</guid>
      <dc:creator>prakashpunj</dc:creator>
      <dc:date>2016-02-10T10:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135037#M18823</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1277/prakashpunj.html" nodeid="1277"&gt;@Prakash Punj&lt;/A&gt; I have the same setting. Can you try changin for HBASE only?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 10:24:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135037#M18823</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T10:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135038#M18824</link>
      <description>&lt;P&gt;Hi ! &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12025"&gt;@Neeraj&lt;/a&gt; Sabharwal, I did changed that setting for HBASE but still the same thing. It never give any error when I click start but it never gets started,,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2002-ambari.jpg" style="width: 1366px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22094i4146B2AC3EADF2F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2002-ambari.jpg" alt="2002-ambari.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:59:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135038#M18824</guid>
      <dc:creator>prakashpunj</dc:creator>
      <dc:date>2019-08-19T08:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135039#M18825</link>
      <description>&lt;P&gt;what ambari version is this?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 03:00:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135039#M18825</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2016-02-11T03:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135040#M18826</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Ambari version is 2.2.0.0&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;prakash&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 06:20:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135040#M18826</guid>
      <dc:creator>prakashpunj</dc:creator>
      <dc:date>2016-02-11T06:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135041#M18827</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1277/prakashpunj.html" nodeid="1277"&gt;@Prakash Punj&lt;/A&gt; Its not that related but try it &lt;A href="https://issues.apache.org/jira/browse/AMBARI-12847"&gt;https://issues.apache.org/jira/browse/AMBARI-12847&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 06:28:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135041#M18827</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-11T06:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135042#M18828</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1277/prakashpunj.html" nodeid="1277"&gt;@Prakash Punj&lt;/A&gt; Before doing anything else, set znode for ams to /hbase and restart ams&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 06:30:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135042#M18828</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-11T06:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135043#M18829</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140" target="_blank"&gt;@Neeraj Sabharwal&lt;/A&gt; I think it's already set for /hbase. Please see the screen shot, is that you mean ?&lt;/P&gt;&lt;P&gt;Error is still the same..&lt;/P&gt;&lt;PRE&gt;2016-02-10 19:31:10,762 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-10 19:31:10,763 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=29, retries=35, started=430375 ms ago, cancelled=false, msg=


&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2015-ambari-1.jpg" style="width: 1366px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22093i18D4D4E7DAD2EEE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2015-ambari-1.jpg" alt="2015-ambari-1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:59:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135043#M18829</guid>
      <dc:creator>prakashpunj</dc:creator>
      <dc:date>2019-08-19T08:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135044#M18830</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1277/prakashpunj.html" nodeid="1277"&gt;@Prakash Punj&lt;/A&gt; Whats in the log files?&lt;/P&gt;&lt;P&gt;cd /var/log/ambari-metrics-collector/&lt;/P&gt;&lt;P&gt;and please check logs and look for errors&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 08:52:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135044#M18830</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-11T08:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135045#M18831</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1277/prakashpunj.html" nodeid="1277"&gt;@Prakash Punj&lt;/A&gt;  Take a look on this &lt;A href="https://issues.apache.org/jira/browse/AMBARI-12347"&gt;https://issues.apache.org/jira/browse/AMBARI-12347&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I know it may not apply to you.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 09:00:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135045#M18831</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-11T09:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135046#M18832</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;P&gt; Below is what's in the log (ambari-metrics-collector.log)&lt;/P&gt;&lt;PRE&gt;2016-02-10 20:38:55,744 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementatio
n: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value conf
igured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-10 20:38:55,745 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=18
, retries=35, started=209288 ms ago, cancelled=false, msg=
2016-02-10 20:39:15,811 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementatio
n: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value conf
igured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-10 20:39:15,811 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=19
, retries=35, started=229354 ms ago, cancelled=false, msg=


&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Feb 2016 09:46:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135046#M18832</guid>
      <dc:creator>prakashpunj</dc:creator>
      <dc:date>2016-02-11T09:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135047#M18833</link>
      <description>&lt;P&gt;If you have a kerberized environment, make sure hbase.regionserver.kerberos.principal and hbase.master.kerberos.principal are the same, this caused some issues in the past.&lt;/P&gt;&lt;P&gt;Also set the zookeeper.znode.parent to /ams-hbase if you have NOT kerberized your env. otherwise set it to /ams-hbase-secure&lt;/P&gt;&lt;P&gt;Stop all Ambari Metrics components, log into the machine and make sure there is no running metrics process (&lt;EM&gt;ps aux | grep metrics&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;Start Metrics again and check the Hbase Master and Metrics Collector log (both in /var/log/ambari-metrics/collector/....)&lt;/P&gt;&lt;P&gt;Are you using a distributed or embedded mode? &lt;/P&gt;&lt;P&gt;Could you please post the following configurations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;hbase.rootdir&lt;/LI&gt;&lt;LI&gt;hbase.cluster.distributed&lt;/LI&gt;&lt;LI&gt;Metrics service operation mode&lt;/LI&gt;&lt;LI&gt;hbase.zookeeper.property.clientPort&lt;/LI&gt;&lt;LI&gt;hbase.zookeeper.quorum&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 14:37:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135047#M18833</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2016-02-11T14:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135048#M18834</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt;&lt;P&gt;I changed /hbase to /ams-hbase and restarted but no success&lt;/P&gt;&lt;PRE&gt;hbase.rootdir  --hdfs://hdp-m.samitsolutions.com:8020/apps/hbase/data
hbase.cluster.distributed   -  TRUE
Metrics service operation mode - embedded
hbase.zookeeper.property.clientPort  -- 2181
hbase.zookeeper.quorum --- hdp-m.samitsolutions.com

out of metrics-collector log:

2016-02-11 20:34:32,065 ERROR org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2016-02-11 20:34:32,065 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=19, retries=35, started=229019 ms ago, cancelled=false, msg=

output of ps aux | grep metrics

kafka     6776  1.4  5.0 4666216 404744 ?      Sl   Feb09  41:25 /usr/jdk64/jdk1.8.0_60/bin/java -Xmx1G -Xms1G -server -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:+DisableExplicitGC -Djava.awt.headless=true -Xloggc:/var/log/kafka/kafkaServer-gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dkafka.logs.dir=/var/log/kafka -Dlog4j.configuration=file:/usr/hdp/2.3.4.0-3485/kafka/bin/../config/log4j.properties -cp :/usr/lib/ambari-metrics-kafka-sink/ambari-metrics-kafka-sink.jar:/usr/lib/ambari-metrics-kafka-sink/lib/*:/usr/lib/ambari-metrics-kafka-sink/ambari-metrics-kafka-sink.jar:/usr/lib/ambari-metrics-kafka-sink/lib/*:/usr/lib/ambari-metrics-kafka-sink/ambari-metrics-kafka-sink.jar:/usr/lib/ambari-metrics-kafka-sink/lib/*:/usr/hdp/2.3.4.0-3485/kafka/bin/../libs/* kafka.Kafka /usr/hdp/2.3.4.0-3485/kafka/config/server.properties
root     18818  3.0  0.1 352240 15196 ?        S    20:13   0:01 /usr/bin/python2 /var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py START /var/lib/ambari-agent/data/auto_command-1454973527.json /var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package /var/lib/ambari-agent/data/structured-out-1454973527.json INFO /var/lib/ambari-agent/tmp
ams      19096 17.3  1.1 3779588 90244 ?       Sl   20:14   0:04 /usr/jdk64/jdk1.8.0_60/bin/java -Dproc_zookeeper -XX:OnOutOfMemoryError=kill -9 %p -XX:+UseConcMarkSweepGC -XX:ErrorFile=/var/log/ambari-metrics-collector/hs_err_pid%p.log -Djava.io.tmpdir=/var/lib/ambari-metrics-collector/hbase-tmp -Djava.library.path=/usr/lib/ams-hbase/lib/hadoop-native/ -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/var/log/ambari-metrics-collector/gc.log-201602112014 -Dhbase.log.dir=/var/log/ambari-metrics-collector -Dhbase.log.file=hbase-ams-zookeeper-hdp-s2.log -Dhbase.home.dir=/usr/lib/ams-hbase/bin/.. -Dhbase.id.str=ams -Dhbase.root.logger=INFO,RFA -Dhbase.security.logger=INFO,RFAS org.apache.hadoop.hbase.zookeeper.HQuorumPeer start

root     19399  0.0  0.0  11300  1360 ?        S    20:14   0:00 /bin/bash /var/lib/ambari-agent/ambari-sudo.sh su ams -l -s /bin/bash -c export  PATH='/usr/sbin:/sbin:/usr/lib/ambari-server/*:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/var/lib/ambari-agent' ; /usr/sbin/ambari-metrics-collector --config /etc/ambari-metrics-collector/conf --distributed start
root     19400  0.0  0.0  48136  1488 ?        S    20:14   0:00 su ams -l -s /bin/bash -c export  PATH='/usr/sbin:/sbin:/usr/lib/ambari-server/*:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/var/lib/ambari-agent' ; /usr/sbin/ambari-metrics-collector --config /etc/ambari-metrics-collector/conf --distributed start
ams      19406  0.1  0.0 108164  1584 ?        Ss   20:14   0:00 -bash -c export  PATH='/usr/sbin:/sbin:/usr/lib/ambari-server/*:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/var/lib/ambari-agent' ; /usr/sbin/ambari-metrics-collector --config /etc/ambari-metrics-collector/conf --distributed start
ams      19430  0.2  0.0 106196  1564 ?        S    20:14   0:00 bash /usr/sbin/ambari-metrics-collector --config /etc/ambari-metrics-collector/conf --distributed start
ams      19465 59.0  3.7 3905584 306212 ?      Sl   20:14   0:14 /usr/jdk64/jdk1.8.0_60/bin/java -Xms1024m -Xmx1024m -Djava.library.path=/usr/lib/ams-hbase/lib/hadoop-native -XX:+UseConcMarkSweepGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/var/log/ambari-metrics-collector/collector-gc.log-201602112014 -cp /usr/lib/ambari-metrics-collector/*:/etc/ambari-metrics-collector/conf -Djava.net.preferIPv4Stack=true -Dams.log.dir=/var/log/ambari-metrics-collector -Dproc_timelineserver org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer
ams      19499  185  2.7 2032776 218940 ?      Sl   20:14   0:40 /usr/jdk64/jdk1.8.0_60/bin/java -Dproc_shell -XX:OnOutOfMemoryError=kill -9 %p -XX:+UseConcMarkSweepGC -XX:ErrorFile=/var/log/ambari-metrics-collector/hs_err_pid%p.log -Djava.io.tmpdir=/var/lib/ambari-metrics-collector/hbase-tmp -Djava.library.path=/usr/lib/ams-hbase/lib/hadoop-native/ -Dhbase.ruby.sources=/usr/lib/ams-hbase/bin/../lib/ruby -Xmx256m -Dhbase.log.dir=/var/log/ambari-metrics-collector -Dhbase.log.file=hbase.log -Dhbase.home.dir=/usr/lib/ams-hbase/bin/.. -Dhbase.id.str= -Dhbase.root.logger=INFO,console -Dhbase.security.logger=INFO,NullAppender org.jruby.Main -X+O /usr/lib/ams-hbase/bin/../bin/hirb.rb
root     19618  0.0  0.0 103308   904 pts/1    S+   20:14   0:00 grep metrics


&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Feb 2016 09:35:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135048#M18834</guid>
      <dc:creator>prakashpunj</dc:creator>
      <dc:date>2016-02-12T09:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135049#M18835</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1277/prakashpunj.html" nodeid="1277"&gt;@Prakash Punj&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Edit your /conf/hbase-site.xml in the Hbase folder config directory or add: &lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;name&amp;gt;hbase.zookeeper.property.dataDir&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;value&amp;gt;YOUR ZOOKEEPER FOLDER&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt; &lt;/P&gt;&lt;P&gt;For example: &lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;name&amp;gt;hbase.zookeeper.property.dataDir&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;  &amp;lt;value&amp;gt;/home/myname/zookeeper-3.4.6&amp;lt;/value&amp;gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 14:07:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135049#M18835</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-02-12T14:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135050#M18836</link>
      <description>&lt;P&gt;Since hbase.cluster.distributed is true, could you please change "Metrics service operation mode" to "distributed"&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 15:25:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135050#M18836</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2016-02-12T15:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135051#M18837</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Oko&lt;/A&gt;&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Still the same result. Wondering if its a good idea to wipe-out all the ambari-metrics component and re-install the service. What's the clean process of doing it..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2016 04:09:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135051#M18837</guid>
      <dc:creator>prakashpunj</dc:creator>
      <dc:date>2016-02-13T04:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-Metrics collector not starting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135052#M18838</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1277/prakashpunj.html" nodeid="1277"&gt;@Prakash Punj&lt;/A&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;curl --user admin:admin -i  -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://`hostname" target="_blank"&gt;http://`hostname&lt;/A&gt; -f`:8080/api/v1/clusters/CLUSTERNAME/services/AMBARI_METRICS&lt;/P&gt;&lt;P&gt;for example: I used this for sandbox&lt;/P&gt;&lt;P&gt;curl --user admin:admin -i -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://`hostname" target="_blank"&gt;http://`hostname&lt;/A&gt; -f`:8080/api/v1/clusters/Sandbox/services/AMBARI_METRICS&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2016 06:29:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Metrics-collector-not-starting/m-p/135052#M18838</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-13T06:29:36Z</dc:date>
    </item>
  </channel>
</rss>

