Cannot usemultiple tHiveOutput components in the same job

Highlighted
Four Stars

Cannot usemultiple tHiveOutput components in the same job

I have created a Talend BigData Batch job(Spark) to read some date from a hive table and write it back to another hive table. But when I try to add second tHiveOutput component to catch the rejected records, I get the following error.

Picture1.png

However, if I deactivated any of the two components, job runs successfully. 

 

I found that this happens because when a new component is created, the configurations variables are re-created with same names. Is there a solution for this or do I have to find a work-around such as saving one result directly into a file.? 

Highlighted
Thirteen Stars

Re: Cannot usemultiple tHiveOutput components in the same job

first try to restart Talend. remove and add strange components.

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Highlighted
Four Stars

Re: Cannot usemultiple tHiveOutput components in the same job

Hi Francois,

 

I tried that several times, and still no luck. I even tried creating a new project and still get the same error.

Highlighted
Thirteen Stars

Re: Cannot usemultiple tHiveOutput components in the same job

@nikhilthampi I thnk it's for you team!
Regards,

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Highlighted
Employee

Re: Cannot usemultiple tHiveOutput components in the same job

Hi,

 

    Apologies for the delay as I was on vacation.

 

    Did you check whether you are getting same error when you are using Builtin mode instead of Repository mode?

 

    If the error persists, could you please raise a support ticket so that Support team can remotely look into the issue in realtime manner?

 

Warm Regards,

 

Nikhil Thampi

2019 GARTNER 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

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

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog