<?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 Unable to start the zookeper server in HDP 2.6 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-the-zookeper-server-in-HDP-2-6/m-p/227710#M82804</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I am Facing the issue with zookeeper. while starting the service from ambari console log files are not updating. in .out log file &lt;/P&gt;&lt;P&gt;we have found the below exception.&lt;/P&gt;&lt;P&gt;2018-08-28 07:34:31,555 - ERROR [LearnerHandler-/10.74.217.44:39280:LearnerHandler@633] - Unexpected exception causing shutdown while sock still open
java.io.FileNotFoundException: /data/hadoop/zookeeper/data/version-2/acceptedEpoch.tmp (Permission denied)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(FileOutputStream.java:270)
        at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:213)
        at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:162)
        at org.apache.zookeeper.common.AtomicFileOutputStream.&amp;lt;init&amp;gt;(AtomicFileOutputStream.java:59)
        at org.apache.zookeeper.server.quorum.QuorumPeer.writeLongToFile(QuorumPeer.java:1216)
        at org.apache.zookeeper.server.quorum.QuorumPeer.setAcceptedEpoch(QuorumPeer.java:1262)
        at org.apache.zookeeper.server.quorum.Leader.getEpochToPropose(Leader.java:867)
        at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:342)
2018-08-28 07:34:31,555 - WARN  [LearnerHandler-/10.74.217.44:39280:LearnerHandler@646] - ******* GOODBYE /10.74.217.44:39280 ********&lt;/P&gt;&lt;P&gt;After that we have changed ownership and permissions for /data/hadoop/zookeeper/data/version-2/ folder but still facing the same issue, Log files are not updating and i am unable to figure it out the issue?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2018 17:24:40 GMT</pubDate>
    <dc:creator>subhash_parise3</dc:creator>
    <dc:date>2018-08-28T17:24:40Z</dc:date>
    <item>
      <title>Unable to start the zookeper server in HDP 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-the-zookeper-server-in-HDP-2-6/m-p/227710#M82804</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I am Facing the issue with zookeeper. while starting the service from ambari console log files are not updating. in .out log file &lt;/P&gt;&lt;P&gt;we have found the below exception.&lt;/P&gt;&lt;P&gt;2018-08-28 07:34:31,555 - ERROR [LearnerHandler-/10.74.217.44:39280:LearnerHandler@633] - Unexpected exception causing shutdown while sock still open
java.io.FileNotFoundException: /data/hadoop/zookeeper/data/version-2/acceptedEpoch.tmp (Permission denied)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(FileOutputStream.java:270)
        at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:213)
        at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:162)
        at org.apache.zookeeper.common.AtomicFileOutputStream.&amp;lt;init&amp;gt;(AtomicFileOutputStream.java:59)
        at org.apache.zookeeper.server.quorum.QuorumPeer.writeLongToFile(QuorumPeer.java:1216)
        at org.apache.zookeeper.server.quorum.QuorumPeer.setAcceptedEpoch(QuorumPeer.java:1262)
        at org.apache.zookeeper.server.quorum.Leader.getEpochToPropose(Leader.java:867)
        at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:342)
2018-08-28 07:34:31,555 - WARN  [LearnerHandler-/10.74.217.44:39280:LearnerHandler@646] - ******* GOODBYE /10.74.217.44:39280 ********&lt;/P&gt;&lt;P&gt;After that we have changed ownership and permissions for /data/hadoop/zookeeper/data/version-2/ folder but still facing the same issue, Log files are not updating and i am unable to figure it out the issue?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 17:24:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-the-zookeper-server-in-HDP-2-6/m-p/227710#M82804</guid>
      <dc:creator>subhash_parise3</dc:creator>
      <dc:date>2018-08-28T17:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start the zookeper server in HDP 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-the-zookeper-server-in-HDP-2-6/m-p/227711#M82805</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1852/subhashparise36.html" nodeid="1852"&gt;@subhash parise&lt;BR /&gt;&lt;/A&gt;What did you set the ownership to for the version-2 folder and contents? It should be zookeeper:hadoop and zookeeper (owner) should have write permissions. Did you also check that you can traverse the folder structure, as the zookeeper user? &lt;/P&gt;&lt;P&gt;Ex does this work;&lt;/P&gt;&lt;PRE&gt;[root@host]# su - zookeeper
[zookeeper@host ~]$ cd /data/hadoop/zookeeper/version-2/&lt;BR /&gt;[zookeeper@host version-2]$ ls -al
drwxr-xr-x. 2 zookeeper hadoop     4096 Aug 27 08:03 .
drwxr-xr-x. 3 zookeeper hadoop     4096 Aug 27 08:03 ..
-rw-r--r--. 1 zookeeper hadoop        1 Aug 27 08:03 acceptedEpoch
-rw-r--r--. 1 zookeeper hadoop        1 Aug 27 08:03 currentEpoch
-rw-r--r--. 1 zookeeper hadoop 67108880 Aug 28 10:52 log.100000001
-rw-r--r--. 1 zookeeper hadoop      296 Aug 27 08:03 snapshot.0
&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Aug 2018 17:58:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-the-zookeper-server-in-HDP-2-6/m-p/227711#M82805</guid>
      <dc:creator>JonathanSneep</dc:creator>
      <dc:date>2018-08-28T17:58:06Z</dc:date>
    </item>
  </channel>
</rss>

