Please see the previous response from Jarcec https://mail-archives.apache.org/mod_mbox/sqoop-user/201305.mbox/%3C20130523062818.GK4771@jarcec-thinkpad%3E
All classes in the com.cloudera namespace are marked as deprecated when the functionality is moved to org.apache namespaces. So change to org.apache.sqoop.SqoopOptions and org.apache.sqoop.tool.ImportTool respectively. Jordan From: Jagrut Sharma [mailto:[email protected]] Sent: Friday, March 11, 2016 5:14 PM To: [email protected] Subject: Java API for Sqoop 1.4.6 Hi Sqoop experts - I'm exploring options to run Sqoop via a Java program. I could write this using the com.cloudera.sqoop.SqoopOptions and com.cloudera.sqoop.tool.ImportTool classes. However, these APIs are deprecated. HDP 2.3.2 only ships with Sqoop 1.4.6. Would appreciate any guidance on this. Thanks! -- Jagrut
