Calling Hadoop Java code in MapReduce Job

Four Stars

Calling Hadoop Java code in MapReduce Job

HI Team,

 

I have a custom java code which was written using MapReduce libraries. I was able to run the jar file successfully on Hadoop cluster. But, while I am running the same jar in "Big Data Batch Job" with tLibraryLoad, I am getting Error like, could not be able to load main class.Could any one help me, what am I missing.

 

Note: command to run the Jar in cluster

hadoop jar <jarName> <className> <arg1> <arg2>

 

Run  Arguments in Talend Job:

<className>

<arg1>

<arg2>

Moderator

Re: Calling Hadoop Java code in MapReduce Job

Hello,

Are you using tJava or tJavaRow components to write custom java code in your spark batch job?

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

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

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now