<?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: Not able to start zookeeper after CDH 4.1 Installation in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15250#M2249</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;no route to host suggests you are getting blocked still, using ping as a network test usually isn't sufficient as it uses the ICMP protocol and doesn't have a port per se.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a better test would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nc -z&amp;nbsp;192.168.1.32 3888&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jul 2014 08:39:39 GMT</pubDate>
    <dc:creator>ben.hemphill</dc:creator>
    <dc:date>2014-07-17T08:39:39Z</dc:date>
    <item>
      <title>Not able to start zookeeper after CDH 4.1 Installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15156#M2248</link>
      <description>&lt;P&gt;I created 3 VMs called nn1, nn2, and jt1 and assigned static IP addresses to each. I ensured that all VMs are able to ping one another.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also edited the hosts file on each VM to that nn1, nn2 and jt1 have entries against their IP addresses.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I installed jdk-6u45-linux-x64-rpm.bin on each of the VMs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next i executed this command on all 3 VMs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;wget http://
archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/cloudera-cdh4.repo
cp cloudera-cdh4.repo /etc/yum.repos.d/
rpm --import &lt;A target="_blank" rel="nofollow" href="http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/RPM-"&gt;http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/RPM-&lt;/A&gt;
GPG-KEY-cloudera&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then I installed the following on all 3 nodes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;yum install hadoop-hdfs-namenode
yum install hadoop-hdfs-journalnode
yum install zookeeper-server&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I installed this only on nn1 and nn2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;yum install hadoop-hdfs-zkfc&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Finally I edit the /etc/zookeper/conf/zoo.cfg and added 3 lines (on all 3 machines)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;server.1=nn1:2888:3888
server.2=nn2:2888:3888
server.3=jt1:2888:3888&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also executed this command on each machine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;firewall-cmd --zone=dmz --add-port=2888/tcp --permanent
firewall-cmd --zone=dmz --add-port=3888/tcp --permanent
firewall-cmd --reload&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I keep seeing these errors in the /var/log/zookeeper/zookeeper.log file of each machine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARN [WorkerSender[myid=1]:QuorumCnxManager@368] - Cannot open channel to 3 at election address jt1/192.168.1.32:3888 java.net.NoRouteToHostExceptoin: No route to host at java.net.PlainSocketImpl.socketConnect(Native Method)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please tell me if I have left out a step in my cdh 4.1 configuration and also how can I troubleshoot this.&lt;/P&gt;&lt;P&gt;Also... I can see the word "WARN" here so is it just a warning? how can I know if my zookeeper is running successfully (perhaps with some warnings).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me and sorry if this is FAQ.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:02:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15156#M2248</guid>
      <dc:creator>abhishes</dc:creator>
      <dc:date>2022-09-16T09:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to start zookeeper after CDH 4.1 Installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15250#M2249</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;no route to host suggests you are getting blocked still, using ping as a network test usually isn't sufficient as it uses the ICMP protocol and doesn't have a port per se.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a better test would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nc -z&amp;nbsp;192.168.1.32 3888&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 08:39:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15250#M2249</guid>
      <dc:creator>ben.hemphill</dc:creator>
      <dc:date>2014-07-17T08:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to start zookeeper after CDH 4.1 Installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15400#M2250</link>
      <description>&lt;P&gt;for me it says&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nc: invalid option -- 'z'&lt;/P&gt;&lt;P&gt;Ncat: try --help or main(1) ncat for more information, usage options and help.&lt;/P&gt;&lt;P&gt;QUITTING&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2014 22:09:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15400#M2250</guid>
      <dc:creator>abhishes</dc:creator>
      <dc:date>2014-07-18T22:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to start zookeeper after CDH 4.1 Installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15756#M2251</link>
      <description>&lt;P&gt;ah you are on a different version of netcat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;nc 192.168.1.32 3888&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2014 19:01:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15756#M2251</guid>
      <dc:creator>ben.hemphill</dc:creator>
      <dc:date>2014-07-21T19:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to start zookeeper after CDH 4.1 Installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15776#M2252</link>
      <description>&lt;P&gt;I was able to successfully nc into all machines except one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went and re-issued these commands on that machine and that resolved the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;servicectl stop firewalld.service&lt;/P&gt;&lt;P&gt;servicectl disable firewalld.service&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!!!!!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2014 22:14:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-start-zookeeper-after-CDH-4-1-Installation/m-p/15776#M2252</guid>
      <dc:creator>abhishes</dc:creator>
      <dc:date>2014-07-21T22:14:23Z</dc:date>
    </item>
  </channel>
</rss>

