The premise hadoop cluster is successfully built, here is the use of Hadoop1.0.3 + HBase0.94.1 configure HBase1. modify the confhbase-env.sh, add jdk support exportJAVA_HOMEhomehadoopjdk1.6.0_392. Modify
The premise hadoop cluster is successfully built, here is the use of Hadoop1.0.3 + HBase0.94.1 configure HBase1. modify conf/hbase-env.sh, add jdk support exportJAVA_HOME =/home/hadoop/jdk1.6.0 _ 392. Modify
Prerequisites
Hadoop cluster is successfully built and the website space is used here: Hadoop1.0.3 + HBase0.94.1
Configure HBase
1. Modify conf/hbase-env.sh and add jdk support
Export JAVA_HOME =/home/hadoop/jdk1.6.0 _ 39
2. Modify conf/hbase-site.xml
Hbase. rootdir
Hdfs: // master: 9000/hbase
Hbase. cluster. distributed
True
Hbase. master
Hdfs: // master: 9000
Hbase. zookeeper. quorum
Master, slave1, slave2
Hbase. zookeeper. property. dataDir
/Home/hadoop/data/zookeeper
3. Modify conf/regionservers
Slave1
Slave2
(Add all datanode nodes configured for Hadoop)
4. scp to all subnodes
5. Start HBase
$ ../Bin/start-hbase.sh
HBase basic operations
1. HBase web Interface
: 60010/
2. shell client (HBase shell command)
$./Bin/hbase shell
This article is from the "Li xiaolazy's keyboard path" blog. For servers rented in Hong Kong, please keep this source
, Website Space