您好,登錄后才能下訂單哦!
http://hbase.apache.org/
通過lib目錄下的hadoop-core- ...jar可以看出適配的hadoop版本
hbase-0.98.6-hadoop2 => hadoop 2.2 hbase-0.96.2-hadoop2 => hadoop 2.2 hbase-0.98.6-hadoop1 => hadoop 1.2.1 hbase-0.96.2-hadoop1 => hadoop 1.2.1
下載及解壓hbase安裝包
修改conf/hbase-env.sh腳本, 設置環境變量
編輯hbase-site.xml
啟動hbase
驗證Hmaster已經啟動
進入shell
hbase-env.sh
vi hbase/conf/hbase-env.sh export JAVA_HOME=/usr/java/jdk1.7.0_67
hbase-site.xml
<property> <name>hbase.rootdir</name> <value>file://home/hadoop/hbase/data</value> </property>
[hadoop@hadoop1 hbase]$ ./bin/start-hbase.sh starting master, logging to /home/hadoop/hbase/bin/../logs/hbase-hadoop-master-hadoop1.out [hadoop@hadoop1 hbase]$ jps 2959 Jps 2839 HMaster 2474 SecondaryNameNode 2552 JobTracker 2334 NameNode [hadoop@hadoop1 hbase]$ ./bin/hbase shell HBase Shell; enter 'help<RETURN>' for list of supported commands. Type "exit<RETURN>" to leave the HBase Shell Version 0.98.6-hadoop1, r3645223d354a81af8d3d1cdfca9b3d45426f9959, Wed Sep 3 19:48:04 PDT 2014 hbase(main):001:0> quit [hadoop@hadoop1 hbase]$
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。