You are building a Job that consists of two subJobs being sequentially executed I he first subJob completes successfully.
Which component in the first subJob triggers the execution of the second subJob?
Start a Discussions
Which options can you use to add a Joblet to your talend Job?
Choose 3 answers
Correct : B, D, E
To add a Joblet to your Talend Job, you can use one of these options:
Type the Joblet name on the Studio canvas, then select it from the Palette drop-down menu. This will create a Joblet container on your canvas that contains all the components and links of your Joblet.
Drag the Joblet from Repository tree view to designer canvas. This will also create a Joblet container on your canvas that contains all components and links of your Joblet.
Drag Joblet from Palette to design workspace. This will open a dialog box where you can select an existing Joblet from Repository or create a new one.
Start a Discussions
You are building a complex Job and want to explore different options for optimizing execution times using parallelism.
How can you identify execution times to verify the effectiveness of your changes?
Choose 2 answers
Correct : B, D
To identify execution times to verify the effectiveness of your changes, you can use one of these methods:
Reading the time stamps from the execution console in the Run view. This method allows you to see the start and end time of each subjob and component in your job, as well as the total execution time of the job. You can also see the number of rows processed by each component and the status of the job (success or failure).
Observing the execution times that annotate the flows in the Designer. This method allows you to see the execution time of each flow (main, lookup, reject, etc.) between components in your job. You can also see the number of rows processed by each flow and the throughput (rows per second) of each flow.
You cannot use these methods to identify execution times:
Observing the execution time in the Code view. This method does not show you the execution time of your job or its components, but only the generated code of your job in Java or Perl. The Code view is useful for debugging or customizing your code, but not for measuring performance.
Start a Discussions
Which statements are true when comparing a Joblet to a tRunJob component?
Choose 3 answers
Correct : B, D, E
A Joblet is a reusable piece of a job that can be used in multiple jobs as a single component. A tRunJob component is a component that allows you to call another job as a subjob within a parent job. When comparing a Joblet to a tRunJob component, these statements are true:
A Joblet uses the same context variables of the job in which it is used, unlike a tRunJob component. A context variable is a variable that can store a value that can be changed at runtime or between different contexts. A Joblet inherits the context variables from the job that contains it and does not have its own context variables. A tRunJob component can pass context variables from the parent job to the child job, or use a specific context for the child job.
Building a Joblet typically requires the use of generic input and trigger components. A Joblet can have one or more input and output flows that connect it with other components in a job. To create these flows, you need to use generic input and trigger components, such as tJobletInput, tJobletOutput, tJobletTriggerInput, and tJobletTriggerOutput. These components allow you to define schemas and triggers for your Joblet without depending on specific components.
The nested job called by a tRunJob component cannot use the same context variables of the job in which it is used. A nested job is a job that is called by another job using a tRunJob component. A nested job can have its own context variables or receive context variables from its parent job, but it cannot use the same context variables as its parent job. This means that if you have two context variables with the same name in both jobs, they will be treated as separate variables and will not share values.
These statements are false when comparing a Joblet to a tRunJob component:
Start a Discussions
You created a Job to process a customer database. Next, you want to debug the Job using Traces Debug and pause the execution when it encounters any records for customers residing in the state of California.
Correct : D
To debug a job using Trace Debug mode and pause the execution when it encounters any records for customers residing in the state of California, you need to right-click on the trace on the output of the input component and select Show Breakpoint Setup option. Trace Debug mode is a feature that allows you to trace each row processed by your job components and see the values of each column in each row. You can access this mode by opening the Debug Run tab of the Run view and clicking on Trace Debug button. A trace is a link that shows the data flow between components in your job design workspace.
The Show Breakpoint Setup option allows you to set a breakpoint on a trace based on a condition or an expression. A breakpoint is a point where the execution of your job pauses and waits for your action. You can use breakpoints to inspect your data or debug your logic at specific points of your job execution. You can access this option by right-clicking on a trace on your job design workspace and selecting Show Breakpoint Setup. This will open a dialog box where you can enter a condition or an expression for your breakpoint.
For example, if you want to pause your job execution when it encounters any records for customers residing in the state of California, you can enter this condition for your breakpoint:
row1.state == ''CA''
This will make your job stop at the trace where this condition is met and show you the values of each column for that row.
Start a Discussions