I’ve been trying to run both zookeeper and kafka 2.13 on my local windows machine. I have modified the server properties to point to c:/kafka/kafka-logs and zookeeper data to point to c:/kafka/zookeeper-data. The zookeeper starts without any issues but when I attempt to start kafka with .binwindowskafka-server-start.bat .configserver.properties I get the below error saying AccessDeniedException. ..
i already searched for a solution here on stackoverflow, i tried to use a different directory and i already deleted all the log files but still getting the same error when starting Kafka. [2021-10-16 20:58:56,847] ERROR Failed to write meta.properties due to (kafka.server.BrokerMetadataCheckpoint) java.nio.file.AccessDeniedException: C:Apachekafka_2.13-3.0.0logs at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) at java.base/sun.nio.fs.WindowsFileSystemProvider.newFileChannel(WindowsFileSystemProvider.java:116) at java.base/java.nio.channels.FileChannel.open(FileChannel.java:292) ..
When ever I run the Following Command binwindowszookeeper-server-start.bat configzookeeper.properties I get the Following error: The input line is too long. The syntax of the command is incorrect. Source: Windows..
I am trying to configure Zookeeper Ensemble with 3 instances locally on Windows but it fails when i try to start the first instance. The first zoo conf is as follows: tickTime=2000 initLimit=10 syncLimit=5 dataDir=C:/Users/jawe/Documents/zookeeper1/data clientPort=2181 server.1=localhost:2888:3888 server.2=localhost:2889:3889 server.3=localhost:2890:3890 i run the following: C:UsersjaweDocuments> .zookeeper1binzkServer.cmd And get this error message: C:UsersjaweDocuments>call "C:Program FilesJavajre1.8.0_301"binjava "-Dzookeeper.log.dir=C:UsersjaweDocumentszookeeper1bin.." "-Dzookeeper.root.logger=INFO,CONSOLE" ..
I started zookeeper after that i have ran "kafka-server-start.bat mypathserver.properties" command to start kafka server. Getting following error in kafka server window. INFO Opening socket connection to server localhost/<unresolved>:2181. Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn) WARN Session 0x0 for server localhost/<unresolved>:2181, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn) java.nio.channels.UnresolvedAddressException ..
I tried to create manually node /root/element2147483647 to understand what will happen on the next increment of the counter. The fact is that the queue from examples https://zookeeper.apache.org/doc/current/zookeeperTutorial.html#Queue+test does not take this into account. I rewrote it in C++ and let max counter number = 99. So I got a sequence of nodes 0, 1, ..
I am trying to start apache server on my windows machine. But while doing so i get this error kafka.zookeeper.ZooKeeperClientTimeoutException: Timed out waiting for connection while in state: CONNECTING and the process stops. Note that i have zookeeper process started before running this and it started fine. console log for zookeeper below:- [2021-02-20 16:24:30,818] INFO ..
I have tried many different settings for dataDir in the zoo.conf file and the zk server has been started. From the zkCli, I can see some znodes, but I do not know the location. Source: Windows..
When trying to run Zookeeper locally on Windows, I currently receive the error message java.net.BindException: Address already in use: bind suggesting that my port 2181 is not available. However, a quick netstat analysis netstat -ano | findstr :2181 in cmd does not yield any process on that port, see screenshot attached. Any help on what ..