I'm trying to get Sqoop running on Java, and found the following question: How to use Sqoop in Java Program?
Seems like this is exactly what I need except I'm having trouble finding a maven repo for the "scoop jar". I am using cdh4.2 and our sqoop version is Sqoop 1.4.2-cdh4.2.1
Note: I have added a repo, but am still unable to access objects like ExportTool(), ExportTool(), or even Sqoop?
The maven repo for this artifact is for instance: https://mvnrepository.com (exactly look at https://mvnrepository.com/artifact/org.apache.sqoop/sqoop/1.4.2-cdh4.2.1)
At your pom file you have to add following dependency:
<dependency>
<groupId>org.apache.sqoop</groupId>
<artifactId>sqoop</artifactId>
<version>1.4.2-cdh4.2.1</version>
<type>pom</type>
</dependency>