Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi team,
I am new to Talend so stuck with many issues in my developement. One of my issue is that I need to share a db connection from prejob to main job and then close that connection in post job.
Talend Version: Talend data Febric (6.2.1)
I am stuck with this connection thing.I am using hive and hana connection component. Hive connection component has "use or register a shared db connection" but hana component do not have that. My job structure is
Prejob->hivecon->hancon
Mainjob
Postjob-hanaconclose->hiveconclose
My mainjob structure is like this:
tparellelize->hiveinput1-tmap-hanaoutput1
hiveinput2-tmap-hanaouput2
and so on..
my questions are: 1) how to share hana connection with main job
2) do i need to have hive connection in main job also and there also do I need to check"use or register a shared connection"? I guess yes(after reading other articles from net)
3)Since I am using prejob component , do i need to join prejob components and mainjob with "onsubjob ok" trigger.
Can you please suggest how to sort out these things.