----------
10年積累的成都網(wǎng)站建設(shè)、成都網(wǎng)站設(shè)計經(jīng)驗,可以快速應(yīng)對客戶對網(wǎng)站的新想法和需求。提供各種問題對應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認識你,你也不認識我。但先網(wǎng)站制作后付款的網(wǎng)站建設(shè)流程,更有寶塔免費網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。
hbase.rootdir hdfs://hadoop-senior.huiyunltd.com:8020/hbase hbase.cluster.distributed true hbase.zookeeper.quorum hadoop-senior.huiyunltd.com
-------------
[huiyunltd@hadoop-senior ~]$ /opt/modules/hadoop-2.5.0/sbin/start-dfs.sh
http://hadoop-senior.huiyunltd.com:50070
[huiyunltd@hadoop-senior ~]$ /opt/modules/hadoop-2.5.0/sbin/start-yarn.sh
http://hadoop-senior.huiyunltd.com:8088
[huiyunltd@hadoop-senior ~]$ /opt/modules/hbase-0.98.6-hadoop2/bin/start-hbase.sh
http://hadoop-senior.huiyunltd.com:60010
[huiyunltd@hadoop-senior ~]$ jps 2988 HQuorumPeer 3251 Jps 1984 NameNode 2522 NodeManager 2261 SecondaryNameNode 2424 ResourceManager 3046 HMaster 3139 HRegionServer 2078 DataNode
---
[huiyunltd@hadoop-senior ~]$ /opt/modules/hbase-0.98.6-hadoop2/bin/stop-hbase.sh [huiyunltd@hadoop-senior ~]$ jps 1984 NameNode 2522 NodeManager 3985 Jps 2261 SecondaryNameNode 2424 ResourceManager 2078 DataNode
--
[huiyunltd@hadoop-senior ~]$ /opt/modules/hbase-0.98.6-hadoop2/bin/hbase shell
--
find /opt/modules/hadoop-2/share/hadoop -name "$Line" | xargs -i cp {} ./
done
find /opt/modules/hadoop-2.5.0/share/hadoop -name "hadoop*.jar" | xargs -i cp {} /opt/softwares/jar/
hadoop-client
find /opt/modules/hadoop-2.5.0/hadoop-client
替換JAR包
[huiyunltd@hadoop-senior ~]$ rm -rf /opt/modules/hbase-0.98.6-hadoop2/lib/hadoop*.jar [huiyunltd@hadoop-senior ~]$ cp /opt/softwares/hbjar/* /opt/modules/hbase-0.98.6-hadoop2/lib/
help
create 'user','info'
describe 'user'
help 'put'
put 'user','1001','info:name','grace'
put 'user','1001','info:age','32'
三種查詢方式
rowkey
hbase(main):008:0> get 'user','1001'
hbase(main):009:0> get 'user','1001','info:age'
范圍查詢
scan range
hbase(main):010:0> scan 'user'
全表掃描