can anyone pls help me with my error sqoop import all to mapr hdfs

Highlighted
Four Stars

can anyone pls help me with my error sqoop import all to mapr hdfs

statistics] connecting to socket on port 3631
[statistics] connected
[WARN ]: org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
[WARN ]: org.apache.sqoop.ConnFactory - $SQOOP_CONF_DIR has not been set in the environment. Cannot check for additional configuration.
java.lang.NullPointerException
    at org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:97)
    at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:478)
    at org.apache.sqoop.tool.ImportAllTablesTool.run(ImportAllTablesTool.java:111)
    at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
    at datalake.cardpro_0_1.CardPro.tSqoopImportAllTables_1Process(CardPro.java:644)
    at datalake.cardpro_0_1.CardPro.tOracleConnection_1Process(CardPro.java:451)
    at datalake.cardpro_0_1.CardPro.runJobInTOS(CardPro.java:1067)
    at datalake.cardpro_0_1.CardPro.main(CardPro.java:916)
[ERROR]: org.apache.sqoop.Sqoop - Got exception running Sqoop: java.lang.NullPointerException
Exception in component tSqoopImportAllTables_1 (CardPro)
java.lang.Exception: The Sqoop import job has failed. Please check the logs.
    at datalake.cardpro_0_1.CardPro.tSqoopImportAllTables_1Process(CardPro.java:653)
    at datalake.cardpro_0_1.CardPro.tOracleConnection_1Process(CardPro.java:451)
    at datalake.cardpro_0_1.CardPro.runJobInTOS(CardPro.java:1067)
    at datalake.cardpro_0_1.CardPro.main(CardPro.java:916)
[statistics] disconnected
Job CardPro ended at 12:01 23/08/2017. [exit code=1]

Moderator

Re: can anyone pls help me with my error sqoop import all to mapr hdfs

Hi,

What's your RDBMS? MySql or Oracle? Screenshots of your job setting will be helpful for us to address your issue.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads