Apache ZooKeeperにおいて表題の通り。”3.4.7“がリリースされたのでUpgradeする。
■ 環境
- Apache ZooKeeper 3.4.7
- Mac OSX (10.10.5)
- Homebrew
■ Homebrew
いつも通り。
$ brew update
$ brew upgrade zookeeper
==> Upgrading 1 outdated package, with result:
zookeeper 3.4.7
==> Upgrading zookeeper
==> Downloading https://homebrew.bintray.com/bottles/zookeeper-3.4.7.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring zookeeper-3.4.7.yosemite.bottle.tar.gz
==> Caveats
To have launchd start zookeeper at login:
ln -sfv /usr/local/opt/zookeeper/*.plist ~/Library/LaunchAgents
Then to load zookeeper now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.zookeeper.plist
Or, if you don't want/need launchctl, you can just run:
zkServer start
==> Summary
/usr/local/Cellar/zookeeper/3.4.7: 235 files, 18M
$
■ Version確認
サーバを起動する。
$ zkServer start
ZooKeeper JMX enabled by default
Using config: /usr/local/etc/zookeeper/zoo.cfg
Starting zookeeper ... STARTED
$
4文字コマンドで確認する。
$ echo srvr | nc localhost 2181
Zookeeper version: 3.4.7-1713338, built on 11/09/2015 04:32 GMT
Latency min/avg/max: 0/0/0
Received: 1
Sent: 0
Connections: 1
Outstanding: 0
Zxid: 0x40
Mode: standalone
Node count: 26
$
以上。