🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
HBase安装 安装配置zookeeper 1、下载zookeeper-3.4.6.tar.gz 2、上传ZooKeeper安装包到 /home/hadoop/ 3、解压ZooKeeper安装包,并将解压后的文件夹名称改为zookeeper $tar -zvxf zookeeper-3.4.6.tar.gz $mv zookeeper-3.4.6 zookeeper 设置myid master上执行命令: $echo "1" >/home/hadoop/zookeeperdata/myid slave1上执行命令: $echo“2" >/home/hadoop/zookeeperdata/myid slave2上执行命令: $echo "3" >/home/hadoop/zookeeperdata/myid 配置hbase /home/hadoop/zookeeper/bin /home/hadoop/hbase-1.2.4/bin 编辑hbase-site.xml ~~~ <configuration> <property> <name>hbase.rootdir</name> <value>hdfs://hadoopnamenode:9000/hbase</value> </property> <property> <name>hbase.zookeeper.property.clientPort</name> <value>2181</value> </property> <property> <name>zookeeper.session.timeout</name> <value>120000</value> </property> <property> <name>hbase.zookeeper.quorum</name> <value>master,slave1,slave2</value> </property> <property> <name>hbase.tmp.dir</name> <value>/home/hadoop/hbasedata</value> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> </property> </configuration> ~~~