9

To install the MySQL connector in Sqoop I need to put the jar file in the Sqoop directory but I cannot find it (it is not in /usr/lib/sqoop). I installed Sqoop with Cloudera on multiple machines.

Where can I find the Sqoop directory on one of the machines?

Mad Echet
  • 3,723
  • 7
  • 28
  • 44

1 Answers1

11

Are you using Ubuntu ? In this case it may be a symbolic link to /etc/alternatives/something... (check with ls -la)

ngrislain
  • 944
  • 12
  • 19
  • 2
    Great! Thanks. Indeed, I finally manage to trace the sqoop lib: `ls -la /usr/bin/sqoop` pointed me to `/etc/alternatives/sqoop`, then `ls -la /etc/alternatives/sqoop` all the way to `/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/bin/sqoop`. My libs were in `/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/lib/sqoop` – Mad Echet Mar 19 '13 at 14:50
  • 1
    And the full location for CDH5.1.2 is `/opt/cloudera/parcels/CDH-5.1.2-1.cdh5.1.2.p0.3/lib/sqoop/lib` – Dave Mulligan Sep 26 '14 at 21:35