O'Reilly logo

Instant Apache Sqoop by Ankit Jain

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Importing data into HBase (Intermediate)

So far, all the Sqoop statements that we have looked at were dumped from the RDBMS table into HDFS. Now we are focusing on importing the RDBMS data to HBase.

Getting ready

The following table shows a list of HBase arguments that we have to use to import the RDBMS data to HBase:

Parameter / Argument

Description

--coulmn-family <columnfamily-name>

Specifies a column family of the target HBase table.

--hbase-create-table

By using –hbase-create-table, Sqoop will create the missing table and the column family in HBase before executing the MapReduce job.

--hbase-row-key <column>

Specifies which input column to use as an HBase row key.

--hbase-table <table-name>

Specifies the name of the target ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required