Home
Cloud
Big Data
CI
Install
Samples
Java
Ubuntu
Maven
Archive
ZooKeeper
|
ZooKeeper Inspector
ZooKeeper Inspector
ZooKeeper Inspector
Get ZooKeeper source:
$ mkdir /opt/zookeeperSrc $ cd /opt/zookeeperSrc
$ git clone https://github.com/apache/zookeeper
Build ZooKeeper:
$ cd /opt/zookeeperSrc/zookeeper
$ mvn clean install -DskipTests
Build ZooKeeper Inspector:
$ cd /opt/zookeeperSrc/zookeeper/zookeeper-contrib/zookeeper-contrib-zooinspector
$ mvn clean install -DskipTests
Prepare ZooKeeper Inspector package:
$ mkdir /opt/zooinspector
$ cp /opt/zookeeperSrc/zookeeper/zookeeper-contrib/zookeeper-contrib-zooinspector/target/zookeeper-contrib-zooinspector-3.6.0-SNAPSHOT.jar /opt/zooinspector $ cp -r /opt/zookeeperSrc/zookeeper/build/lib /opt/zooinspector $ cp /opt/zookeeperSrc/zookeeper/build/zookeeper-3.6.0-SNAPSHOT.jar /opt/zooinspector/lib
Run ZooKeeper Inspector:
$ java -cp "/opt/zooinspector/zookeeper-contrib-zooinspector-3.6.0-SNAPSHOT.jar:/opt/zooinspector/lib/*:/opt/zooinspector/lib" org.apache.zookeeper.inspector.ZooInspector
© 2010-2022
mti
tek