Did anybody has clue about it. Regards, Rao
From: Narasimha Rao Gajje Sent: Tuesday, January 26, 2016 12:44 AM To: '[email protected]' Subject: MyId file extension I am trying to configure Zookeeper ensemble using three nodes and following is my configuration on each server. tickTime=2000 dataDir=D:\\zookeeper\data\zk1 clientPort=2181 initLimit=5 syncLimit=2 server.1=localhost:2888:3888 server.2=localhost:2889:3889 server.3=localhost:2890:3890 I have created myid fule with .myid but getting the following excpetion. Have tried with file extensions also but no luck. Content of the file is 1. Permission are fully set on the file and directory. D:\zookeeper-3.4.7 - node1\bin\..\build\classes;D:\zookeeper-3.4.7 - node1\bin\. .\build\lib\*;D:\zookeeper-3.4.7 - node1\bin\..\*;D:\zookeeper-3.4.7 - node1\bin \..\lib\*;D:\zookeeper-3.4.7 - node1\bin\..\conf" org.apache.zookeeper.server.qu orum.QuorumPeerMain "D:\zookeeper-3.4.7 - node1\bin\..\conf\server.1.cfg" 2016-01-26 00:43:30,300 [myid:] - INFO [main:QuorumPeerConfig@103] - Reading co nfiguration from: D:\zookeeper-3.4.7 - node1\bin\..\conf\server.1.cfg 2016-01-26 00:43:30,325 [myid:] - INFO [main:QuorumPeer$QuorumServer@149] - Res olved hostname: localhost to address: localhost/127.0.0.1 2016-01-26 00:43:30,326 [myid:] - INFO [main:QuorumPeer$QuorumServer@149] - Res olved hostname: localhost to address: localhost/127.0.0.1 2016-01-26 00:43:30,329 [myid:] - INFO [main:QuorumPeer$QuorumServer@149] - Res olved hostname: localhost to address: localhost/127.0.0.1 2016-01-26 00:43:30,330 [myid:] - INFO [main:QuorumPeerConfig@331] - Defaulting to majority quorums 2016-01-26 00:43:30,333 [myid:] - ERROR [main:QuorumPeerMain@85] - Invalid confi g, exiting abnormally org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error proce ssing D:\zookeeper-3.4.7 - node1\bin\..\conf\server.1.cfg at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerC onfig.java:121) at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(Qu orumPeerMain.java:101) at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain .java:78) Caused by: java.io.FileNotFoundException: D:\myid (Access is denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileReader.<init>(FileReader.java:72) at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(Q uorumPeerConfig.java:344) at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerC onfig.java:119) ... 2 more Invalid config, exiting abnormally Thanks. Regards, Rao +91- 77 606 333 11 ________________________________ http://www.mindtree.com/email/disclaimer.html
