Difference between revisions of "Zkcli"
Jump to navigation
Jump to search
(→Errors) |
|||
Line 59: | Line 59: | ||
[zk: localhost:2181(CONNECTED) 0] | [zk: localhost:2181(CONNECTED) 0] | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
== Related == | == Related == |
Revision as of 18:45, 14 March 2024
ZkCli
or zkcli
zkCli Connecting to localhost:2181 Welcome to ZooKeeper! JLine support is enabled [zk: localhost:2181(CONNECTING) 0] WATCHER:: WatchedEvent state:SyncConnected type:None path:null
zkCli Connecting to localhost:2181 Welcome to ZooKeeper! JLine support is enabled [zk: localhost:2181(CONNECTING) 0]
Errors
zkcli Failed to auto configure default logger context Reported exception: ch.qos.logback.core.joran.spi.JoranException: Problem parsing XML document. See previously reported errors. at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:65) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:151) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53) at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:64) at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:134) at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55) at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) at org.apache.zookeeper.ZooKeeperMain.<clinit>(ZooKeeperMain.java:61) Caused by: org.xml.sax.SAXParseException; systemId: file:/Users/user/brew/etc/zookeeper/logback.xml; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1251) at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637) at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326) at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:59) ... 13 more 19:43:32,845 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 19:43:32,846 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/user/brew/etc/zookeeper/logback.xml] 19:43:32,868 |-ERROR in ch.qos.logback.core.joran.event.SaxEventRecorder@5fe5c6f - XML_PARSING - Parsing fatal error on line 1 and column 1 19:43:32,868 |-ERROR in ch.qos.logback.core.joran.event.SaxEventRecorder@5fe5c6f - org.xml.sax.SAXParseException; systemId: file:/Users/user/brew/etc/zookeeper/logback.xml; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. Connecting to localhost:2181 Welcome to ZooKeeper! JLine support is enabled WATCHER:: WatchedEvent state:SyncConnected type:None path:null zxid: -1 [zk: localhost:2181(CONNECTED) 0]
Related
See also
Advertising: