HBase shell command line fuzzy Query and HBase home page (web) __web

Source: Internet
Author: User
Tags zookeeper

Original

To blur a lookup, you can write this. But Row_key can only be technical to the right of the query.

such as: row_1000, row_1001,row_1002,row_1003,row_1004,row_1005,row_1000,row_10006,

Scan followed by table name

Scan ' table ', {LIMIT = = 10000, StartRow = ' row_1004 '} will be found, row_1004,row_1005,row_1000,row_10006 and other records

Query number Interval

Count ' table ', {INTERVAL = 10000}

Count ' table ', 10000 same effect

HBase home page (web)

http://192.168.0.10:60010/master.jsp

HBase Address

Http://wlancloud-237:60030/rs-status


Start Zookeeper

/usr/lib/zookeeper/bin/zkserver.sh

Start HBase

/usr/lib/hbase/bin/start-hbase.sh

/usr/lib/hbase/bin/stop-hbase.sh


See the major services open No

#jps

[Root@wlancloud-134 ~]# JPS
2509 Manager
3033 Secondarynamenode
22377 NameNode
22816 Tasktracker
5792 Hmaster
2578 Bootstrap
21118 Jps
4533 Main
22656 Jobtracker
13200 DataNode
26302 Quorumpeermain

Where the HBase master node is Hmaster

Sub-node hbase is hregionserver 14928 hregionserver
27995 DataNode
25306 Hquorumpeer
7756 Jps
10676 Tasktracker
3943 Bootstrap

There's a datanode, not starting up.

Directory:/hadoop-hdfs-datanode-wlancloud-237.log file appears in the/opt/log/hadoop directory

2014-01-10 09:48:58,196 ERROR org.apache.hadoop.hdfs.server.datanode.DataNode:java.io.IOException:Incompatible Namespaceids In/opt/hdfs/dfs/dn:namenode Namespaceid = 653811849; Datanode Namespaceid = 580058035

Then enter/opt/hdfs/dfs/dn/current/version to change its version number.




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.