在/home/hadoop/ 目录下
wget http://archive.apache.org/dist/hbase/1.2.4/hbase-1.2.4-bin.tar.gz
1.解压hbase-1.2.4-bin.tar.gz
tar -xzvf ./hbase-1.2.4-bin.tar.gz
mv hbase-1.2.4-bin hbase-1.2.4
这样HBase就安装在了/home/hadoop/hbase-1.2.4目录下。
2.配置HBase
HBase的配置文件都在hbase-1.2.4/conf目录下,需要配置如下文件: hbase-site.xml
hbase-env.sh
配置hbase-site.xml
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://cetiti12:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</proper
本文详细介绍了如何在Linux环境下安装HBase 1.2.4集群,包括下载与解压、配置HBase、启动与停止服务、检查状态以及创建表的操作。关键步骤包括配置hbase-site.xml和hbase-env.sh,确保与Hadoop的集成,以及启动REST服务以通过web接口访问HBase。
订阅专栏 解锁全文
87

被折叠的 条评论
为什么被折叠?



