Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Who agreed with this topic

Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail

New Contributor

I have been trying to import SQL Server Data using a Hue Data Connector..


On the web page: they asked me to install the JDBC 4 driver for SQL Server and after running the following commands on the terminal, I could install the JDBC 4 SQL Server Driver.


Now when I am trying to execute the following command


sqoop import --connect jdbc:sql://myserver --username Me --table Mytable


I get the following error.


Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
14/12/04 10:15:58 INFO sqoop.Sqoop: Running Sqoop version: 1.4.5-cdh5.2.0
14/12/04 10:15:59 WARN sqoop.ConnFactory: Parameter --driver is set to an explicit driver however appropriate connection manager is not being set (via --connection-manager). Sqoop is going to fall back to org.apache.sqoop.manager.GenericJdbcManager. Please specify explicitly which connection manager should be used next time.
14/12/04 10:15:59 INFO manager.SqlManager: Using default fetchSize of 1000
14/12/04 10:15:59 INFO tool.CodeGenTool: Beginning code generation
14/12/04 10:16:00 ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: Could not load db driver class:
java.lang.RuntimeException: Could not load db driver class:
    at org.apache.sqoop.manager.SqlManager.makeConnection(
    at org.apache.sqoop.manager.GenericJdbcManager.getConnection(
    at org.apache.sqoop.manager.SqlManager.execute(
    at org.apache.sqoop.manager.SqlManager.execute(
    at org.apache.sqoop.manager.SqlManager.getColumnInfoForRawQuery(
    at org.apache.sqoop.manager.SqlManager.getColumnTypesForRawQuery(
    at org.apache.sqoop.manager.SqlManager.getColumnTypes(
    at org.apache.sqoop.manager.ConnManager.getColumnTypes(
    at org.apache.sqoop.orm.ClassWriter.getColumnTypes(
    at org.apache.sqoop.orm.ClassWriter.generate(
    at org.apache.sqoop.tool.CodeGenTool.generateORM(
    at org.apache.sqoop.tool.ImportTool.importTable(
    at org.apache.sqoop.Sqoop.runSqoop(
    at org.apache.sqoop.Sqoop.runTool(
    at org.apache.sqoop.Sqoop.runTool(
    at org.apache.sqoop.Sqoop.main(




Is it smething to do with the way I have set up the VM  ?


How do I set the $ACCUMULO_HOME to the root of your Accumulo installation ?


Thank You in Advance!


Who agreed with this topic