Error javac on tSqoopImport component

Highlighted
Four Stars

Error javac on tSqoopImport component

Hi all, 

 

When executing a Talend 7.0.1 Job that uses a tSqoopImport component to transfer data from the Oracle server into HDFS (of Cloudera Hadoop Cluster (CDH5.13.0)), it fails with the following exception stack (as shown below).

Could you please explain me about this exception : java.io.IOException: Error returned by javac and how to solve this?

 

 

Exception in component tSqoopImport_1 (sqoop)
java.lang.Exception: The Sqoop import job has failed. Please check the logs.
	at dwh_armis.sqoop_0_1.sqoop.tSqoopImport_1Process(sqoop.java:608)
	at dwh_armis.sqoop_0_1.sqoop.runJobInTOS(sqoop.java:938)
	at dwh_armis.sqoop_0_1.sqoop.main(sqoop.java:766)
[ERROR]: org.apache.sqoop.tool.ImportTool - Import failed: java.io.IOException: Error returned by javac
	at org.apache.sqoop.orm.CompilationManager.compile(CompilationManager.java:222)
	at org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:107)
	at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:494)
	at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:621)
	at org.apache.sqoop.Sqoop.run(Sqoop.java:147)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
	at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)
	at dwh_armis.sqoop_0_1.sqoop.tSqoopImport_1Process(sqoop.java:604)
	at dwh_armis.sqoop_0_1.sqoop.runJobInTOS(sqoop.java:938)
	at dwh_armis.sqoop_0_1.sqoop.main(sqoop.java:766)

 

Moderator

Re: Error javac on tSqoopImport component

Hello,

Please take a look at this article about:https://stackoverflow.com/questions/28293852/encountered-ioexception-running-import-job-java-io-ioex... to see if it helps?

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.

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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog