<?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: metrics collector +  ams-hbase-unsecure Received unexpected KeeperException, in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239725#M201534</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We can find the AMS collector Mode by looking at the "ams-site.xml" file.&lt;/P&gt;&lt;PRE&gt;# grep -A1 'mode' /etc/ambari-metrics-collector/conf/ams-site.xml 
     &amp;lt;name&amp;gt;timeline.metrics.service.operation.mode&amp;lt;/name&amp;gt;
     &amp;lt;value&amp;gt;embedded&amp;lt;/value&amp;gt;&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If AMS is running in Embedded mode and you are keep getting the same Zookeeper error then better to try increasing the AMS collector Heap size to 2GB or more (like 4GB) and then try starting it again. Please try increasing the heap setting for HBase Master Heapsize as well.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For AMS tuning it is best to refer to the following article. &lt;BR /&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/208353/troubleshooting-ambari-metrics-ams.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/208353/troubleshooting-ambari-metrics-ams.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 02 Jan 2019 17:10:45 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2019-01-02T17:10:45Z</dc:date>
    <item>
      <title>metrics collector +  ams-hbase-unsecure Received unexpected KeeperException,</title>
      <link>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239719#M201528</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;we have ambari cluster with HDP version 2.6.0&lt;/P&gt;&lt;P&gt;when we try to start the metrics collector from ambari , we get the following logs:&lt;/P&gt;&lt;PRE&gt;2019-01-02 06:35:16,406 ERROR org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher: hconnection-0x4bdeaabb-0x1680d44c1810001, quorum=master02.sys32.com:61181, baseZNode=/ams-hbase-unsecure Received unexpected KeeperException, re-throwing exception
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ams-hbase-unsecure/table/SYSTEM.CATALOG
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1212)
        at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getData(RecoverableZooKeeper.java:354)
        at org.apache.hadoop.hbase.zookeeper.ZKUtil.getData(ZKUtil.java:622)




2019-01-02 06:35:18,256 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server master02.sys32.com/101.23.98.60:61181. Will not attempt to authenticate using SASL (unknown error)
2019-01-02 06:35:18,257 WARN org.apache.zookeeper.ClientCnxn: Session 0x1680d44c1810001 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
2019-01-02 06:35:19,656 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server master02.sys32.com/101.23.98.60:61181. Will not attempt to authenticate using SASL (unknown error)&lt;/PRE&gt;&lt;P&gt;we also&lt;/P&gt;&lt;P&gt;clear the contents of /var/lib/ambari-metrics-collector/hbase-tmp/zookeeper/* and restart Ambari metrics collector , but this not help&lt;/P&gt;&lt;P&gt;what else we can do in order to solve this isshue ?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 16:10:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239719#M201528</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-01-02T16:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: metrics collector +  ams-hbase-unsecure Received unexpected KeeperException,</title>
      <link>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239720#M201529</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please share the complete AMS collector logs .. along with the HMaster log which you can find in the same directory where the AMS collector log is present.&lt;/P&gt;&lt;P&gt;Do you have enough free memory available on your system (where AMS is running)&lt;/P&gt;&lt;P&gt;Also can you please share the cluster node numbers present in your cluster? based on that we can try to find if the Heap settings for AMS collector and HMaster are OK or not?&lt;/P&gt;&lt;P&gt;Also let us know if your AMS collector is running in Embedded Mode or Distributed Mode?&lt;/P&gt;&lt;P&gt;Looking at collector-gc.log and gc.log (fopr hmaster process can be also good).&lt;/P&gt;&lt;P&gt;What is the Ambari Version and the output of the following command (Any recent ambari upgrade performed recently?)   When was the AMS running fine last time? Any recent changes made to ams configs?&lt;/P&gt;&lt;PRE&gt;# rpm -qa | grep ambari&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 16:16:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239720#M201529</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-01-02T16:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: metrics collector +  ams-hbase-unsecure Received unexpected KeeperException,</title>
      <link>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239721#M201530</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;@Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your
 current Thread query looks very similar to the other HCC thread opened 
by you:  &lt;A href="https://community.hortonworks.com/questions/231177/metrics-failed-on-orgapachehadoophbasezookeeperzoo.html?childToView=232247#answer-232247" target="_blank"&gt;https://community.hortonworks.com/questions/231177/metrics-failed-on-orgapachehadoophbasezookeeperzoo.html?childToView=232247#answer-232247&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Can you please mark one of the HCC thread as Closed so that all the hcc users can respond to the same single thread.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 16:29:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239721#M201530</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-01-02T16:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: metrics collector +  ams-hbase-unsecure Received unexpected KeeperException,</title>
      <link>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239722#M201531</link>
      <description>&lt;P&gt;here are the versions&lt;/P&gt;&lt;PRE&gt; rpm -qa | grep ambari
ambari-agent-2.5.0.3-7.x86_64
ambari-metrics-collector-2.5.0.3-7.x86_64
ambari-metrics-monitor-2.5.0.3-7.x86_64
ambari-metrics-hadoop-sink-2.5.0.3-7.x86_64
ambari-server-2.5.0.3-7.x86_64&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Jan 2019 16:52:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239722#M201531</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-01-02T16:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: metrics collector +  ams-hbase-unsecure Received unexpected KeeperException,</title>
      <link>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239723#M201532</link>
      <description>&lt;P&gt;we have enoufgh memeory&lt;/P&gt;&lt;PRE&gt;free -g
              total        used        free      shared  buff/cache   available
Mem:             31          14           5           1          11          14
Swap:             7           0           7&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Jan 2019 16:53:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239723#M201532</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-01-02T16:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: metrics collector +  ams-hbase-unsecure Received unexpected KeeperException,</title>
      <link>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239724#M201533</link>
      <description>&lt;P&gt;how to check if we have - Embedded Mode or Distributed Mode?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 17:01:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239724#M201533</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-01-02T17:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: metrics collector +  ams-hbase-unsecure Received unexpected KeeperException,</title>
      <link>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239725#M201534</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We can find the AMS collector Mode by looking at the "ams-site.xml" file.&lt;/P&gt;&lt;PRE&gt;# grep -A1 'mode' /etc/ambari-metrics-collector/conf/ams-site.xml 
     &amp;lt;name&amp;gt;timeline.metrics.service.operation.mode&amp;lt;/name&amp;gt;
     &amp;lt;value&amp;gt;embedded&amp;lt;/value&amp;gt;&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;If AMS is running in Embedded mode and you are keep getting the same Zookeeper error then better to try increasing the AMS collector Heap size to 2GB or more (like 4GB) and then try starting it again. Please try increasing the heap setting for HBase Master Heapsize as well.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For AMS tuning it is best to refer to the following article. &lt;BR /&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/208353/troubleshooting-ambari-metrics-ams.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/208353/troubleshooting-ambari-metrics-ams.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 17:10:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239725#M201534</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-01-02T17:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: metrics collector +  ams-hbase-unsecure Received unexpected KeeperException,</title>
      <link>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239726#M201535</link>
      <description>&lt;P&gt;Dear Jay , metrics now is up aafter we set new value for hbase_master_heapsize = 1400&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 18:48:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/metrics-collector-ams-hbase-unsecure-Received-unexpected/m-p/239726#M201535</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-01-02T18:48:14Z</dc:date>
    </item>
  </channel>
</rss>

