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.1. Tables

Since Sqoop is built for a relational model it requires that the user specifies a table to import and export into Couchbase. The Couchbase plugin uses the --table option to specify the type of tap stream for importing and exporting into Couchbase. For exports the user must enter a value for the --table option even though what is entered will not actually be used by the plugin. For imports the table command can take on only two values.

Note

For the --table value for the BACKFILL table that a time should be put in place of the brackets. For example BACKFILL_5 means stream key mutations in the Couchbase server for 5 minutes and then stop the stream.

For exports a value for --table is required, but the value will not be used. Any value used for the --table option when doing export will be ignored by the Couchbase plugin.