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.

Sqoop mysql connector jar

Sqoop mysql connector jar

Expert Contributor

I'm trying to understand where the mysql-connector-java.jar under /usr/share/java is coming from during installation, since Hive and Oozie seems to be relying on that jar, while Sqoop seems to explicitly need copying the jar under /var/lib/sqoop. 

 

Is the jar shipped via CDH and if so is there any reason why Sqoop is not utilizing the jar like Hive and Oozie? Or is there any additional step during Sqoop installation that copies the jar to the required sqoop directory?

 

 

Thanks!

1 REPLY 1
Highlighted

Re: Sqoop mysql connector jar

Master Guru
Sqoop (i.e. Sqoop v1.x) is not a managed service, so the symlinking is not done by management tools such as Cloudera Manager for it. This could be better handled for Sqoop v2.x series, however, which follows a server-model.

The jar itself though, comes from an OS package, and you may run "yum info mysql-connector-java" to find more details on that. CDH services just rely on this to make the jar available, but cannot ship it inbuilt due to license restrictions of that jar from MySQL.
Don't have an account?
Coming from Hortonworks? Activate your account here