In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
----------
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 ~]$ jps2988 HQuorumPeer3251 Jps1984 NameNode2522 NodeManager2261 SecondaryNameNode2424 ResourceManager3046 HMaster3139 HRegionServer2078 DataNode
---
[huiyunltd@hadoop-senior ~]$ /opt/modules/hbase-0.98.6-hadoop2/bin/stop-hbase.sh[huiyunltd@hadoop-senior ~]$ jps1984 NameNode2522 NodeManager3985 Jps2261 SecondaryNameNode2424 ResourceManager2078 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
Replace JAR package
[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'
Three Inquiry Methods
rowkey
hbase(main):008:0> get 'user','1001'
hbase(main):009:0> get 'user','1001','info:age'
range query
scan range
hbase(main):010:0> scan 'user'
full table scan
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.