HBase Windows installation

Source: Internet
Author: User

Download the latest version now

http://mirrors.hust.edu.cn/apache/hbase/stable/

Latest Version

hbase-1.2.6

1. Unzip to D:\software\hbase-1.2.6

Go to Bin directory

Run:

Start-hbase.cmd

2. Testing

Execute Bin>hbase Shell

HBase (main):001:0> create ' mytable ', ' data ' 0 row (s) in 1.1420 seconds=> hbase::table-mytablehbase (main): 002:0 > Put ' mytable ', ' row1 ', ' data:1 ', ' value1 ' 0 row (s) in 0.0580 secondshbase (main):003:0> put ' mytable ', ' row2 ', ' data : 2 ', ' value2 ' 0 row (s) in 0.0090 secondshbase (main):004:0> put ' mytable ', ' row3 ', ' data:3 ', ' value3 ' 0 row (s) in 0.0080 s Econdshbase (main):005:0> ListTABLEmytable1 row (s) in 0.0200 seconds=> ["MyTable"]hbase (main):006:0> scan ' MyTable ' ROW                   column+cellrow1                 column=data:1, timestamp=1416554699558, Value=value1row2                 column=data:2, timestamp=1416554715456, value=value2row3                 column=data:3, timestamp=1416554730255, Value=value33 Row (s) in 0.0520 Seconds

HBase Windows installation

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.