sqoop - sqoop import to hbase - apache sqoop - sqoop tutorial - sqoop hadoop
sqoop import to hbase
Storage Mechanism in HBase
- Table is a collection of rows.
- Row is a collection of column families.
- Column family is a collection of columns.
- Column is a collection of key value pairs.
Column Oriented and Row Oriented :

HBase and RDBMS :

Sqoop HBase Intro :






sqoop import \
--connect <<jdbc-uri>> \
--table <<table-name>> \
--hbase-table <<hbase list name>>\
--hbase-row-key <<table primary key or unique key column>>\
--column-family metadata \
--hbase-create-table \
--username root -P
Click "Copy code" button to copy into clipboard - By wikitechy - sqoop tutorial - team

sqoop import \
--connect "jdbc:mysql://localhost/retail_db" \
--username root -P \
--table customers \
--columns customer_id,customer_fname,customer_lname,customer_city,customer_state \
--hbase-create-table \
--hbase-table retailtbl \
--column-family customerInfo \
--hbase-row-key customer_id
Click "Copy code" button to copy into clipboard - By wikitechy - sqoop tutorial - team






learn sqoop - sqoop tutorial - sqoop2 tutorial - sqoop import to hbase - sqoop code - sqoop programming - sqoop download - sqoop examples