浅尝 zookeeper
1、下载
wget http://mirrors.hust.edu.cn/apache/zookeeper/zookeeper-3.4.8/zookeeper-3.4.8.tar.gz -P /opt
http://www.apache.org/dist//zookeeper/zookeeper-3.3.6/zookeeper-3.3.6.tar.gz
2、创建用户,解压
useradd hadoop
passwd hadoop
cd /opt/
tar -xf zookeeper-3.4.8.tar.gz
mv zookeeper-3.4.8 zookeeper
3、修改全局文件
vim .bashrc
# ZooKeeper Env
export ZOOKEEPER_HOME=/opt/zookeeper
export PATH=$PATH:$ZOOKEEPER_HOME/bin
4、启动
cd /opt/zookeeper/bin
./zkServer.sh start —启动
./zkServer.sh stop —失败
5、进阶版本
下次更新