Sqoop has a tool called list tables that in a relational
database has a lot of meaning since it shows us what kinds of
things we can import. As noted in previous sections, Couchbase
doesn't have a notion of tables, but we use
values to the
--table option. As a result using
the list-tables tool does the following.
shell> bin/sqoop list-tables --connect http://10.2.1.55:8091/pools DUMP BACKFILL_5
All this does in the case of the Couchbase plugin is remind us
what we can use as an argument to the
option. We give
BACKFILL a time of 5 minutes
so that the import-all-tables tool functions properly.
Sqoop provides many more options to the list-tables command than we will cover in this document. Run bin/sqoop list-tables help for a list of all options and see the Sqoop documentation for more details about these options.