Sqoop Import to Hortonworks

Highlighted
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

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog