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 DUMPThis will dump all key-value pairs from Couchbase into HDFS.
shell> bin/sqoop import --connect http://10.2.1.55:8091/pools --table BACKFILL_10This will stream all key-value mutations from Couchbase into HDFS.
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.