Resolve Sqoop error could not load DB driver Class:com.intersys.jdbc.CacheDriver

Source: Internet
Author: User
Tags sqoop

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.