list-tables

The tool is used to list tables present in a database.

The tool usage is shown below.

$ sqoop list-tables <generic-args> <list-tables-args>
$ sqoop-list-tables <generic-args> <list-tables-args>

Although the generic Hadoop arguments must precede any list-tables arguments, the list-tables arguments can be specified in any order with respect to one another.

Common arguments

--connect <jdbc-uri>

Specifies the JDBC connection string

--connection-manager <class-name>

Specifies the connection manager class to use

--connection-param-file <filename>

Specifies optional properties file that provides connection parameters

--driver <class-name>

Specifies the JDBC driver class to use

--hadoop-mapred-home <dir>

Overrides $HADOOP_MAPRED_HOME

--help

Prints usage instructions

--password-file

Sets the path to a file containing the authentication password

-P

Reads the password from the console

--password <password>

Specifies the authentication password

--username <username>

Specifies the authentication username

--verbose

Prints more information while working

--relaxed-isolation

Instructs Sqoop to use the read-uncommitted isolation level

Found a mistake? Seleсt text and press Ctrl+Enter to report it