Error Stack:
-/ ./ - -: $: onINFO tool. Codegentool:beginning code Generation -/ ./ - -: $: onERROR Sqoop. Sqoop:got exception running Sqoop:java.lang.RuntimeException:Could not load DB driverclass: Com.intersys.jdbc.CacheDriverjava.lang.RuntimeException:Could not load DB driverclass: Com.intersys.jdbc.CacheDriver at Org.apache.sqoop.manager.SqlManager.makeConnection (Sqlmanager.java:856) at Org.apache.sqoop.manager.GenericJdbcManager.getConnection (Genericjdbcmanager.java: the) at Org.apache.sqoop.manager.SqlManager.execute (Sqlmanager.java:744) at Org.apache.sqoop.manager.SqlManager.execute (Sqlmanager.java:767) at Org.apache.sqoop.manager.SqlManager.getColumnInfoForRawQuery (Sqlmanager.java: the) at Org.apache.sqoop.manager.SqlManager.getColumnTypesForRawQuery (Sqlmanager.java:241) at Org.apache.sqoop.manager.SqlManager.getColumnTypesForQuery (Sqlmanager.java:234) at Org.apache.sqoop.manager.ConnManager.getColumnTypes (Connmanager.java:304) at Org.apache.sqoop.orm.ClassWriter.getColumnTypes (Classwriter.java:1870) at Org.apache.sqoop.orm.ClassWriter.generate (Classwriter.java:1682) at Org.apache.sqoop.tool.CodeGenTool.generateORM (Codegentool.java:107) at org.apache.sqoop.tool.ImportTool.importTable (Importtool.java:478) at Org.apache.sqoop.tool.ImportTool.run (Importtool.java:605) at Org.apache.sqoop.Sqoop.run (Sqoop.java:143) at Org.apache.hadoop.util.ToolRunner.run (Toolrunner.java: -) at Org.apache.sqoop.Sqoop.runSqoop (Sqoop.java:179) at Org.apache.sqoop.Sqoop.runTool (Sqoop.java:218) at Org.apache.sqoop.Sqoop.runTool (Sqoop.java:227) at Org.apache.sqoop.Sqoop.main (Sqoop.java:236)
Cause: You cannot find the driver package for the database connection when performing the imported Mr Task, just put the Cachedb.jar under $sqoop_home/lib, and the SQOOP submit the MR Task will automatically put all the jar packages in this directory into the classpath of the Mr Job.
Resolve Sqoop error could not load DB driver Class:com.intersys.jdbc.CacheDriver