1、下载hbase
hbase-0.90.3
2、下载zookeeper
zookeeper-3.3.2
版本一定要对应上,同时检查lib里的jar包hbase、zookeeper、hadoop的版本是否对应
3、修改zoo.cfg
修改dataDir=C:/cygwin/home/Administrator/zookeeper-3.3.2/data_dir
增加:server.1=130.51.38.100:2888:3888
4、修改regionservers
meimer-computer
5、配置hbase-site.xml
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9100/hbase</value>
<description>The directory shared by region servers and into
which HBase persists. The URL should be 'fully-qualified'
to include the filesystem scheme. For example, to specify the
HDFS directory '/hbase' where the HDFS instance's namenode is
running at namenode.example.org on port 9000, set this value to:
hdfs://namenode.example.org:9000/hbase. By default HBase writes
into /tmp. Change this configuration else all data will be lost
on machine restart.
</description>
</property>
<property>
<name>hbase.master.port</name>
<value>60000</value>
<description>The port the HBase Master should bind to.</description>
</property>
<property>
<name>hbase.tmp.dir</name>
<value>/tmp/hbase-${user.name}</value>
<description>Temporary directory on the local filesystem.
Change this setting to point to a location more permanent
than '/tmp' (The '/tmp' directory is often cleared on
machine restart).
</description>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
<description>The mode the cluster will be in. Possible values are
false for standalone mode and true for distributed mode. If
false, startup will run all HBase and ZooKeeper daemons together
in the one JVM.
</description>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>meimer-computer</value>
<description>Comma separated list of servers in the ZooKeeper Quorum.
For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
By default this is set to localhost for local and pseudo-distributed modes
of operation. For a fully-distributed setup, this should be set to a full
list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in hbase-env.sh
this is the list of servers which we will start/stop ZooKeeper on.
</description>
</property>
</configuration>
6、修改hbase-evn.sh
export JAVA_HOME=/usr/local/jdk1.6.0_24
export HBASE_MANAGES_ZK=false
7、启动
bin/kzServer.sh start
bin/start-hbase.sh
bin/hbase shell
如果报java找不到,修改zkServer.sh里的java为全路径
停止
bin/kzServer.sh stop
bin/stop-hbase.sh
分享到:
相关推荐
hbase配置需要的配置文件已配置好,可以直接拿来用
指导手册06:HBase安装部署 hbase配置文件
HBase配置
hbase配置内置的zookeeper;hbase配置内置的zookeeper;
HBase配置文件若干配置.zip
HBase配置文件与HBase doc文档
Hbase配置.docx
一份配置好的Hadoop和Hbase 配置文件conf,你需要修改里面的host和文件路径即可;
HBase配置项说明及调优建议
本人刚开始学大数据,根据自己主机写的一些HBASE配置文件,如有所需请自取,错误之处请多包涵。。。。。
Hbase配置属性,Hbase配置属性,Hbase配置属性,Hbase配置属性
基于机器学习的HBase配置参数优化研究.pdf
hbase 常用参数含义,默认值,调优建议(必须参数,split,compaction,blockcache,memstore flush,hlog,zookeeper,其他,等相参数名称、含义、默认值、调优建议)
HBase官方指南——配置详解篇;HBase官方指南——配置详解篇
基于Docker搭建HBase集群对应配置文件
文档是我自己一步步完成实验写成的,给初学大数据的朋友共享一下希望能有所帮助
本文件内容适用于学习Hadoop时所需配置HBase的所有文件,包括以下内容: hbase-1.2.1-bin.tar.gz hbase-site.xml.txt 配置文件收集不易,有部分配置内容已单独复制出来! 希望大家点个收藏点个赞,谢谢大家!
hadoop2.6.0+HA+Zookeeper3.4.6+hbase1.0.0安装配置步骤详细文档,包括各种xml配置文件
HBase开启审计日志
搭建hadoop框架中的hbase集群之前,先搭建单机的hbase,了解hbase的参数配置可以在后续搭建hbase集群节省时间