三 配置完毕将hbase复制到其他节点上
[root@ conf]# scp -r /opt/Hadoop/hbase_0_92_0 root@192.168.60.152:/opt/hadoop/
[root@ conf]# scp -r /opt/hadoop/hbase_0_92_0 root@192.168.60.153:/opt/hadoop/
[root@ conf]# scp -r /opt/hadoop/hbase_0_92_0 root@192.168.60.154:/opt/hadoop/
别忘记分别重新建立软链接hbase
四 启动hbase
[root@ conf]# /opt/hadoop/bin/start-all.sh
Warning: $HADOOP_HOME is deprecated.
starting namenode, logging to /opt/hadoop_1_0_0/libexec/../logs/hadoop-root-namenode-da-free-test1.out
da-free-test2: starting datanode, logging to /opt/hadoop_1_0_0/libexec/../logs/hadoop-root-datanode-da-free-test2.out
da-free-test3: starting datanode, logging to /opt/hadoop_1_0_0/libexec/../logs/hadoop-root-datanode-da-free-test3.out
da-free-test4: starting datanode, logging to /opt/hadoop_1_0_0/libexec/../logs/hadoop-root-datanode-da-free-test4.out
da-free-test1: starting secondarynamenode, logging to /opt/hadoop_1_0_0/libexec/../logs/hadoop-root-secondarynamenode-da-free-test1.out
starting jobtracker, logging to /opt/hadoop_1_0_0/libexec/../logs/hadoop-root-jobtracker-da-free-test1.out
da-free-test4: starting tasktracker, logging to /opt/hadoop_1_0_0/libexec/../logs/hadoop-root-tasktracker-da-free-test4.out
da-free-test3: starting tasktracker, logging to /opt/hadoop_1_0_0/libexec/../logs/hadoop-root-tasktracker-da-free-test3.out
da-free-test2: starting tasktracker, logging to /opt/hadoop_1_0_0/libexec/../logs/hadoop-root-tasktracker-da-free-test2.out
[root@ conf]# jps
6453 JobTracker
6529 Jps
6371 SecondaryNameNode
6207 NameNode