Sqoop CLI
Overview
This section includes the reference documentation for the Sqoop CLI shell. All Sqoop commands are invoked by the bin/sqoop script.
The Sqoop shell usage is as follows:
$ sqoop COMMAND [<GENERIC_OPTIONS>] [<SPECIFIC_OPTIONS>]
where <GENERIC_OPTIONS>
are preceeded by a single dash character (-
).
<SPECIFIC_OPTIONS>
start with two dashes (--
), unless they are single character arguments.
Commands
Sqoop provides the following tools.
Populates a Hive metastore with a definition for a table based on a database table previously imported to HDFS, or one planned to be imported
Allows users to quickly run simple SQL queries against a database; results are printed to the console
Allows you to combine two datasets where entries in one dataset should overwrite entries of an older dataset