Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!

Using the Implicit Context Load Feature for a Spark Job

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Using the Implicit Context Load Feature for a Spark Job

Last Update:

Feb 9, 2024 2:06:24 PM

Updated By:

Jamie_Gregory

Created date:

Apr 1, 2021 6:23:02 AM

Question

In Talend Studio, the Extra tab of a standard Job allows you to use the the Implicit Context Load feature to load context parameters dynamically at the time of Job execution.

 

0693p000008u7kJAAQ.png

 

However, the Extra tab is not available for a Spark Job in Talend Studio:

0693p000008u7nuAAA.png

 

So how can you pass context parameters and use the Implicit Context Load feature with a Spark Job?

 

Answer

The solution is to use a standard Job, configured to use the Implicit Context Load feature, that invokes the Spark Job using the tRunJob component.

 

To pass the context parameters to the Spark Job, configure the tRunJob component settings with the Use an independent process to run subjob and the Transmit whole context options checked. Below is the tRunJob component configuration to invoke the Spark Job (my_simple_spark_test😞

0693p000008u7hYAAQ.png

Version history
Last update:
‎2024-02-09 02:06 PM
Updated by: