Search:

Search all manuals
Search this manual
Manual
Couchbase Hadoop Connector
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
2 Using Sqoop
Chapter Sections
Chapters

2.4. Importing

Importing data to your cluster requires the use of the Sqoop import command followed by the parameters --connect and --table. Below are some example imports.

shell> bin/sqoop import --connect http://10.2.1.55:8091/pools --table DUMP

This will dump all key-value pairs from Couchbase into HDFS.

shell> bin/sqoop import --connect http://10.2.1.55:8091/pools --table BACKFILL_10

This will stream all key-value mutations from Couchbase into HDFS.

Note

Sqoop provides many more options to the import command than we will cover in this document. Run bin/sqoop import help for a list of all options and see the Sqoop documentation for more details about these options.