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.7. Import All Tables

In the Couchbase plugin the import-all-tables tool dumps all keys in Couchbase into HDFS and then streams all key-value mutations into Hadoop for five minutes. This command is a direct result of running import on each table from the list-tables command. Below is an example of this command.

shell> bin/sqoop import-all-tables --connect http://10.2.1.55:8091/pools

Note

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