Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 21

THỰC HÀNH HBASE

1. Starting HBase Shell

- Mở cmd
- Chạy lệnh start-hbase.cmd
- Chạy lệnh hbase shell
General Commands
Creating a Table using HBase Shell

Creating a Table Using java API


Listing a Table using HBase Shell

Listing Tables Using Java API


Disabling a Table using HBase Shell

Disable a Table Using Java API


Enabling a Table using HBase Shell

Enable a Table Using Java API


describe

alter
Changing the Maximum Number of Cells of a Column Family
Table Scope Operators
Setting Read Only

Deleting a Column Family

Adding a Column Family Using Java API


Deleting a Column Family Using Java API

Existence of Table using HBase Shell


Verifying the Existence of Table Using Java API

Dropping a Table using HBase Shell

Deleting a Table Using Java API


exit

Stopping HBase
Stopping HBase Using Java API

Inserting Data using HBase Shell


Inserting Data Using Java API
Updating Data using HBase Shell
Updating Data Using Java API
Reading Data using HBase Shell

Reading a Specific Column

Reading Data Using Java API


Deleting a Specific Cell in a Table
Deleting All Cells in a Table

Deleting Data Using Java API


Scaning using HBase Shell

Scanning Using Java API


count

truncate

grant

revoke
user_permission

You might also like