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

  • Big Data
  • Data Integration
2 REPLIES
Five 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'

 

 

 

 

Five Stars

Re: Sqoop Import to Hortonworks

Hi,

Please try to define below mentioned properties,

Capture.PNG