-
Notifications
You must be signed in to change notification settings - Fork 0
Setting (using brew)
Zhamri Che Ani edited this page Nov 28, 2023
·
2 revisions
/Users/zhamri/Hadoop/hbase-2.5.6/conf (atau)
/usr/local/Cellar/hbase/2.5.6/libexec/conf
1. hbase-site.xml
2. hbase-env.sh
find / -name "hdfs-site.xml"
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/Users/zhamri/Hadoop/zookeeper</value>
</property>
JAVA_HOME=$(/usr/libexec/java_home -v1.8)
% cd $HBASE_HOME
% ./bin/start-hbase.sh
% ./bin/local-master-backup.sh start 2
% ./bin/./local-regionservers.sh start 3