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.
DUMP - Causes all keys currently in
Couchbase to be read into HDFS.
BACKFILL_## - Streams all key mutations
for a given amount of time (in minutes).
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.