Sqoop Import to Hortonworks

Six Stars

Sqoop Import to Hortonworks

Hi,

 

I am trying to import mysql data to hortonworks using sqoop but below error keep me stuck . please help to resolve the issues. Talend version is 6.3.1

 

Note: /tmp/sqoop-root/compile/50736c6a6865232bd5a7349076cbe8e1/CustomersData.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Exception in component tSqoopImport_1
java.lang.Exception: The Sqoop import job has failed. Please check the logs.
	at local_project.sqoopimport_0_1.SqoopImport.tSqoopImport_1Process(SqoopImport.java:538)
	at local_project.sqoopimport_0_1.SqoopImport.runJobInTOS(SqoopImport.java:842)
	at local_project.sqoopimport_0_1.SqoopImport.main(SqoopImport.java:676)


[ERROR]: org.apache.sqoop.tool.ImportTool - Imported Failed: Unable to parse '/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework' as a URI, check the setting for mapreduce.application.framework.path

Regards,

Arun

Seven Stars

Re: Sqoop Import to Hortonworks

Specify the actual version:

'/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework'

Should be: (for example)

'/hdp/apps/2.5.3.0-37/mapreduce/mapreduce.tar.gz#mr-framework'

 

 

 

 

Seven Stars

Re: Sqoop Import to Hortonworks

Hi,

Please try to define below mentioned properties,

Capture.PNG

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

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