Tuesday 21 March 2017

Sqoop Import Data from MYSQL to HDFS By using Talend(Error: customer_sqoop : Unsupported major.minor version 52.0)

I have configured the tsqoopImport component as given in Talend document.

ISSUE:

Error: customer_sqoop : Unsupported major.minor version 52.0
Error: customer_sqoop : Unsupported major.minor version 52.0
Error: customer_sqoop : Unsupported major.minor version 52.0

[WARN ]: mapreduce.Counters - Group FileSystemCounters is deprecated. Use org.apache.hadoop.mapreduce.FileSystemCounter instead
Exception in component tSqoopImport_1
java.lang.Exception: The Sqoop import job has failed. Please check the logs.
at mdm_basics.sqoopimport_0_1.SqoopImport.tSqoopImport_1Process(SqoopImport.java:515)
at mdm_basics.sqoopimport_0_1.SqoopImport.runJobInTOS(SqoopImport.java:819)
at mdm_basics.sqoopimport_0_1.SqoopImport.main(SqoopImport.java:653)
[ERROR]: org.apache.sqoop.tool.ImportTool - Error during import: Import job failed!
[FATAL]: mdm_basics.sqoopimport_0_1.SqoopImport - tSqoopImport_1 The Sqoop import job has failed. Please check the logs.
[statistics] disconnected
Job SqoopImport ended at 12:26 21/03/2017. [exit code=1]

Solution:
I am runnig Talend6.1.1 studio on JAVA8 version but my hadoop cluster is on JAVA7.

so i have changed the JDK path in talend studio i.e Window--->Preferences-->Talend.



Make sure to run the sqoop import job the java interpreter points to the JDK. Default the interpreter points to the JRE.





java.io.IOException: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact Return code is: 400, ReasonPhrase: Repository does not allow updating assets: releases.

 HI, by Default in Nexus release branch will not allow redeploy of the Same version of Talend job. if we need to redeploy same job again int...