I'm using Cloudera Quickstart VM CDH 5.5.0 and I'm trying to do some custom Java code for Sqoop in a Maven project. However, I'm a bit confused about the two versions of Maven dependencies:
<dependency> <groupId>org.apache.sqoop</groupId> <artifactId>sqoop</artifactId> <version>1.4.5</version> </dependency> <dependency> <groupId>org.apache.sqoop</groupId> <artifactId>sqoop-core</artifactId> <version>1.99.5</version> </dependency>
When I try to dig to Sqoop's documentation, it seems that v1.99.x is related to Sqoop2. Sqoop2 is not yet encouraged to be used, according to Cloudera here.
Furthermore, I can only get jars when using v1.99.x dependency, but not v1.4.x.
So which one should I be using if I want to do Sqoop programming? What's the difference between the two versions?