C:\kafka_2.12-2.4.1>zookeeper-server-start.bat config\zookeeper.properties
[2020-04-02 17:47:01,395] INFO Reading configuration from: config\zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2020-04-02 17:47:01,398] WARN config\zookeeper.properties is relative. Prepend .\ to indicate that you're sure! (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2020-04-02 17:47:01,408] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2020-04-02 17:47:01,408] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2020-04-02 17:47:01,415] INFO autopurge.snapRetainCount set to 3 (org.apache.zookeeper.server.DatadirCleanupManager)
[2020-04-02 17:47:01,415] INFO autopurge.purgeInterval set to 0 (org.apache.zookeeper.server.DatadirCleanupManager)
[2020-04-02 17:47:01,416] INFO Purge task is not scheduled. (org.apache.zookeeper.server.DatadirCleanupManager)
[2020-04-02 17:47:01,416] WARN Either no config or no quorum defined in config, running in standalone mode (org.apache.zookeeper.server.quorum.QuorumPeerMain)
[2020-04-02 17:47:01,420] INFO Log4j found with jmx enabled. (org.apache.zookeeper.jmx.ManagedUtil)
[2020-04-02 17:47:01,465] INFO Reading configuration from: config\zookeeper.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2020-04-02 17:47:01,466] WARN config\zookeeper.properties is relative. Prepend .\ to indicate that you're sure! (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2020-04-02 17:47:01,467] INFO clientPortAddress is 0.0.0.0:2181 (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2020-04-02 17:47:01,467] INFO secureClientPort is not set (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2020-04-02 17:47:01,467] INFO Starting server (org.apache.zookeeper.server.ZooKeeperServerMain)
[2020-04-02 17:47:01,477] INFO zookeeper.snapshot.trust.empty : false (org.apache.zookeeper.server.persistence.FileTxnSnapLog)
[2020-04-02 17:47:01,533] INFO Server environment:zookeeper.version=3.5.7-f0fdd52973d373ffd9c86b81d99842dc2c7f660e, built on 02/10/2020 11:30 GMT (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,533] INFO Server environment:host.name=User-PC (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,533] INFO Server environment:java.version=1.8.0_241 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,534] INFO Server environment:java.vendor=Oracle Corporation (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,534] INFO Server environment:java.home=C:\Program Files\Java\jre1.8.0_241 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,534] INFO Server environment:java.class.path=C:\kafka_2.12-2.4.1\libs\activation-1.1.1.jar;C:\kafka_2.12-2.4.1\libs\aopalliance-repackaged-2.5.0.jar;C:\kafka_2.12-2.4.1\libs\argparse4j-0.7.0.jar;C:\kafka_2.12-2.4.1\libs\audience-annotations-0.5.0.jar;C:\kafka_2.12-2.4.1\libs\commons-cli-1.4.jar;C:\kafka_2.12-2.4.1\libs\commons-lang3-3.8.1.jar;C:\kafka_2.12-2.4.1\libs\connect-api-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\connect-basic-auth-extension-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\connect-file-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\connect-json-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\connect-mirror-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\connect-mirror-client-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\connect-runtime-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\connect-transforms-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\guava-20.0.jar;C:\kafka_2.12-2.4.1\libs\hk2-api-2.5.0.jar;C:\kafka_2.12-2.4.1\libs\hk2-locator-2.5.0.jar;C:\kafka_2.12-2.4.1\libs\hk2-utils-2.5.0.jar;C:\kafka_2.12-2.4.1\libs\jackson-annotations-2.10.0.jar;C:\kafka_2.12-2.4.1\libs\jackson-core-2.10.0.jar;C:\kafka_2.12-2.4.1\libs\jackson-databind-2.10.0.jar;C:\kafka_2.12-2.4.1\libs\jackson-dataformat-csv-2.10.0.jar;C:\kafka_2.12-2.4.1\libs\jackson-datatype-jdk8-2.10.0.jar;C:\kafka_2.12-2.4.1\libs\jackson-jaxrs-base-2.10.0.jar;C:\kafka_2.12-2.4.1\libs\jackson-jaxrs-json-provider-2.10.0.jar;C:\kafka_2.12-2.4.1\libs\jackson-module-jaxb-annotations-2.10.0.jar;C:\kafka_2.12-2.4.1\libs\jackson-module-paranamer-2.10.0.jar;C:\kafka_2.12-2.4.1\libs\jackson-module-scala_2.12-2.10.0.jar;C:\kafka_2.12-2.4.1\libs\jakarta.activation-api-1.2.1.jar;C:\kafka_2.12-2.4.1\libs\jakarta.annotation-api-1.3.4.jar;C:\kafka_2.12-2.4.1\libs\jakarta.inject-2.5.0.jar;C:\kafka_2.12-2.4.1\libs\jakarta.ws.rs-api-2.1.5.jar;C:\kafka_2.12-2.4.1\libs\jakarta.xml.bind-api-2.3.2.jar;C:\kafka_2.12-2.4.1\libs\javassist-3.22.0-CR2.jar;C:\kafka_2.12-2.4.1\libs\javax.servlet-api-3.1.0.jar;C:\kafka_2.12-2.4.1\libs\javax.ws.rs-api-2.1.1.jar;C:\kafka_2.12-2.4.1\libs\jaxb-api-2.3.0.jar;C:\kafka_2.12-2.4.1\libs\jersey-client-2.28.jar;C:\kafka_2.12-2.4.1\libs\jersey-common-2.28.jar;C:\kafka_2.12-2.4.1\libs\jersey-container-servlet-2.28.jar;C:\kafka_2.12-2.4.1\libs\jersey-container-servlet-core-2.28.jar;C:\kafka_2.12-2.4.1\libs\jersey-hk2-2.28.jar;C:\kafka_2.12-2.4.1\libs\jersey-media-jaxb-2.28.jar;C:\kafka_2.12-2.4.1\libs\jersey-server-2.28.jar;C:\kafka_2.12-2.4.1\libs\jetty-client-9.4.20.v20190813.jar;C:\kafka_2.12-2.4.1\libs\jetty-continuation-9.4.20.v20190813.jar;C:\kafka_2.12-2.4.1\libs\jetty-http-9.4.20.v20190813.jar;C:\kafka_2.12-2.4.1\libs\jetty-io-9.4.20.v20190813.jar;C:\kafka_2.12-2.4.1\libs\jetty-security-9.4.20.v20190813.jar;C:\kafka_2.12-2.4.1\libs\jetty-server-9.4.20.v20190813.jar;C:\kafka_2.12-2.4.1\libs\jetty-servlet-9.4.20.v20190813.jar;C:\kafka_2.12-2.4.1\libs\jetty-servlets-9.4.20.v20190813.jar;C:\kafka_2.12-2.4.1\libs\jetty-util-9.4.20.v20190813.jar;C:\kafka_2.12-2.4.1\libs\jopt-simple-5.0.4.jar;C:\kafka_2.12-2.4.1\libs\kafka-clients-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\kafka-log4j-appender-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\kafka-streams-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\kafka-streams-examples-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\kafka-streams-scala_2.12-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\kafka-streams-test-utils-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\kafka-tools-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1-javadoc.jar;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1-javadoc.jar.asc;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1-scaladoc.jar;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1-scaladoc.jar.asc;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1-sources.jar;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1-sources.jar.asc;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1-test-sources.jar;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1-test-sources.jar.asc;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1-test.jar;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1-test.jar.asc;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1.jar;C:\kafka_2.12-2.4.1\libs\kafka_2.12-2.4.1.jar.asc;C:\kafka_2.12-2.4.1\libs\log4j-1.2.17.jar;C:\kafka_2.12-2.4.1\libs\lz4-java-1.6.0.jar;C:\kafka_2.12-2.4.1\libs\maven-artifact-3.6.1.jar;C:\kafka_2.12-2.4.1\libs\metrics-core-2.2.0.jar;C:\kafka_2.12-2.4.1\libs\netty-buffer-4.1.45.Final.jar;C:\kafka_2.12-2.4.1\libs\netty-codec-4.1.45.Final.jar;C:\kafka_2.12-2.4.1\libs\netty-common-4.1.45.Final.jar;C:\kafka_2.12-2.4.1\libs\netty-handler-4.1.45.Final.jar;C:\kafka_2.12-2.4.1\libs\netty-resolver-4.1.45.Final.jar;C:\kafka_2.12-2.4.1\libs\netty-transport-4.1.45.Final.jar;C:\kafka_2.12-2.4.1\libs\netty-transport-native-epoll-4.1.45.Final.jar;C:\kafka_2.12-2.4.1\libs\netty-transport-native-unix-common-4.1.45.Final.jar;C:\kafka_2.12-2.4.1\libs\osgi-resource-locator-1.0.1.jar;C:\kafka_2.12-2.4.1\libs\paranamer-2.8.jar;C:\kafka_2.12-2.4.1\libs\plexus-utils-3.2.0.jar;C:\kafka_2.12-2.4.1\libs\reflections-0.9.11.jar;C:\kafka_2.12-2.4.1\libs\rocksdbjni-5.18.3.jar;C:\kafka_2.12-2.4.1\libs\scala-collection-compat_2.12-2.1.2.jar;C:\kafka_2.12-2.4.1\libs\scala-java8-compat_2.12-0.9.0.jar;C:\kafka_2.12-2.4.1\libs\scala-library-2.12.10.jar;C:\kafka_2.12-2.4.1\libs\scala-logging_2.12-3.9.2.jar;C:\kafka_2.12-2.4.1\libs\scala-reflect-2.12.10.jar;C:\kafka_2.12-2.4.1\libs\slf4j-api-1.7.28.jar;C:\kafka_2.12-2.4.1\libs\slf4j-log4j12-1.7.28.jar;C:\kafka_2.12-2.4.1\libs\snappy-java-1.1.7.3.jar;C:\kafka_2.12-2.4.1\libs\validation-api-2.0.1.Final.jar;C:\kafka_2.12-2.4.1\libs\zookeeper-3.5.7.jar;C:\kafka_2.12-2.4.1\libs\zookeeper-jute-3.5.7.jar;C:\kafka_2.12-2.4.1\libs\zstd-jni-1.4.3-1.jar (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,541] INFO Server environment:java.library.path=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\kafka_2.12-2.4.1\bin\windows;C:\Program Files\Java\jdk1.8.0_241\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\kafka_2.12-2.4.1\bin\windows;C:\Program Files\Java\jdk1.8.0_241\bin;. (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,543] INFO Server environment:java.io.tmpdir=C:\Users\User\AppData\Local\Temp\ (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,544] INFO Server environment:java.compiler=<NA> (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,553] INFO Server environment:os.name=Windows 7 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,556] INFO Server environment:os.arch=amd64 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,559] INFO Server environment:os.version=6.1 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,561] INFO Server environment:user.name=User (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,565] INFO Server environment:user.home=C:\Users\User (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,567] INFO Server environment:user.dir=C:\kafka_2.12-2.4.1 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,570] INFO Server environment:os.memory.free=497MB (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,573] INFO Server environment:os.memory.max=512MB (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,575] INFO Server environment:os.memory.total=512MB (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,582] INFO minSessionTimeout set to 6000 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,582] INFO maxSessionTimeout set to 60000 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:01,585] INFO Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 60000 datadir C:\kafka_2.12-2.4.1\data\zookeeper\version-2 snapdir C:\kafka_2.12-2.4.1\data\zookeeper\version-2 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-04-02 17:47:22,614] ERROR Selector failed to open (org.apache.zookeeper.server.NIOServerCnxnFactory)
java.io.IOException: Unable to establish loopback connection
at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.<init>(Unknown Source)
at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
at java.nio.channels.Pipe.open(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
at java.nio.channels.Selector.open(Unknown Source)
at org.apache.zookeeper.server.NIOServerCnxnFactory.<clinit>(NIOServerCnxnFactory.java:101)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:133)
at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:142)
at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:106)
at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:64)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:128)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:82)
Caused by: java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect0(Native Method)
at sun.nio.ch.Net.connect(Unknown Source)
at sun.nio.ch.Net.connect(Unknown Source)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source)
... 18 more
[2020-04-02 17:47:22,633] INFO Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory (org.apache.zookeeper.server.ServerCnxnFactory)
[2020-04-02 17:47:22,658] INFO Configuring NIO connection handler with 10s sessionless connection timeout, 1 selector thread(s), 4 worker threads, and 64 kB direct buffers. (org.apache.zookeeper.server.NIOServerCnxnFactory)
[2020-04-02 17:47:43,675] ERROR Unexpected exception, exiting abnormally (org.apache.zookeeper.server.ZooKeeperServerMain)
java.io.IOException: Unable to establish loopback connection
at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.<init>(Unknown Source)
at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
at java.nio.channels.Pipe.open(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
at java.nio.channels.Selector.open(Unknown Source)
at org.apache.zookeeper.server.NIOServerCnxnFactory$AbstractSelectThread.<init>(NIOServerCnxnFactory.java:128)
at org.apache.zookeeper.server.NIOServerCnxnFactory$SelectorThread.<init>(NIOServerCnxnFactory.java:348)
at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:681)
at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:143)
at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:106)
at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:64)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:128)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:82)
Caused by: java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect0(Native Method)
at sun.nio.ch.Net.connect(Unknown Source)
at sun.nio.ch.Net.connect(Unknown Source)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source)
... 17 more
我知道连接还没有建立,但我不确定我能做什么来让它运行。任何帮助都很感激。提前谢了。
我正在亚马逊EC2和ubuntu上运行Kafka。首先,我尝试运行zookeeper服务器并创建一个测试主题。最终目的是将spark与Kafka结合起来进行情感分析。 当我尝试启动zookeeper服务器时,我收到以下警告,并且进程似乎没有结束,即键入此命令后,我没有看到shell提示:bin/zookeeper服务器启动。sh配置/zookeeper。属性 警告配置中未定义配置或未定义仲裁,以独
问题内容: 码头工人给我一个困难时期。我按照以下说明进行操作,以便在运行由strato.de托管的Ubuntu 14.04的虚拟服务器上安装docker。 执行此行直接将我带入此错误消息: 安装完成后,我安装了上述两个软件包。现在我的问题是我无法让docker运行。 结果是: 结果是 和 结果是 有人对缺少哪些依赖项有任何线索吗?还有什么可能出问题了?码头工人是否提供任何日志? 我正在来回寻找解决
当收到来自服务器的数据报文时,显示错误日志:
我有一个spring boot可执行罐,装在数字海洋水滴中。我可以使用现在我想让我作为一个服务运行。 我已经创建了文件/etc/systemd/system/myapp。用这些内容服务 然后使其在系统启动时启动 我正在尝试启动服务 但是我得到了这个错误 无法启动myapp.service:未知单位:myapp.service详情请参阅系统日志和'systemctl statusmyapp.serv
好吧,这就是问题所在。我做,但我没有从或获得新的日志消息。 舱单: null 活动代码: 我试过什么: 将所有“cont”更改为“this” StartService(新意图(cont,FlashService.class)); null 更新: 完整活动代码: