Start HBase hmaster in eclise, play shell

Source: Internet
Author: User

First Master:


Parameters:


Run the HBase shell


hbase Shell Parameters


the shell that runs up after HBase


Try to run a few orders to find out:

Create ' T_person ', ' no ', ' name '
create ' t_person ', ' no ', ' name '
0 row (s) in 2.5020 seconds


Hbase::table-t_ Person
list
list
TABLE
T_person
1 row (s) in 0.1270 seconds


["T_person"]
put ' t_ Person ', ' R1 ', ' no ', ' 1234 '
put ' t_person ', ' R1 ', ' no ', ' 1234 '
0 row (s) in 0.3280 seconds


put ' T_person ', ' R1 ', ' name ', ' xiaoming '
put ' t_person ', ' R1 ', ' name ', ' Xiaoming '
0 row (s) in 0.0160 seconds


Scan ' T_ Person '
scan ' T_person '
ROW  column+cell
 R1 column=name:, timestamp=1396118296355, value= Xiaoming
 R1 Column=no:, timestamp=1396118271612, value=1234




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.