I downloaded sqljdbc4.jar
. I\'m invoking sqoop
like so from the folder (where the jar is stored):
sqoop list-tables --driver com.microso
Recently came across this same problem. Even though documentation says that it will pick up additional jar files. The problem is I believe propagated from Hadoop jar command line option. -libjars
is not reliable option to set additional jar file path.
Instead, choose HADOOP_CLASSPATH
option to setup additional jar files.
In my case, I had multiple different versions of driver JAR, but using -libjars
was not correctly picking up file for me.
To resolve this, I specified
export HADOOP_CLASSPATH=/$SQOOP_HOME/.jar
This makes sure that correct JAR file gets loaded.