Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Could not load db driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver

Highlighted

Could not load db driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver

New Contributor

Hi,I am using HDP 2.4 with centos as virtual in windows.When I am import data from sqlserver to sqoop at that time error like this "Could not load db driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver".I had tried on this script "sqoop list-tables -libjars "/hdp/apps/2.4.0.0-169/sqoop/sqljdbc4-2.0.jar"\ --driver com.microsoft.jdbc.sqlserver.SQLServerDriver\ ---connect "jdbc:sqlserver://192.168.1.33;database=master",still it throws same error..Could you anyone solve this issue?.

1 REPLY 1
Highlighted

Re: Could not load db driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver

Mentor

Place the jdbc jar in /usr/hdp/current/sqoop-client/lib

Don't have an account?
Coming from Hortonworks? Activate your account here