zookeeper配置
cd zk/conf
cp zoo_sample.cfg zoo.cfg
vim zoo.cfg
修改:
dataDir=/usr/local/zk/data
新增:
server.0=sparkproject1:2888:3888
server.1=sparkproject2:2888:3888
server.2=sparkproject3:2888:3888
同步配置
mkdir /usr/local/zk/data
ssh sparkproject2 rm -rf /usr/local/zk
ssh sparkproject3 rm -rf /usr/l