I downloaded sqljdbc4.jar
. I\'m invoking sqoop
like so from the folder (where the jar is stored):
sqoop list-tables --driver com.microso
In vast majority of cases using parameter --driver
is not required and even more will lead to an undesirable behaviour. I would strongly recommend dropping this argument entirely from your command line. Check out Connectors vs Drivers blog post for more details.
Also in addition you are specifying a nonexistent JDBC Driver class. The correct one is:
com.microsoft.sqlserver.jdbc.SQLServerDriver
You can see it in the official docs, whereas you are specifying
com.microsoft.jdbc.sqlserver.SQLServerDriver
Notice the different order of jdbc
and sqlserver
packages. This is one of the reasons why it's recommended to not use the --driver
option at all.