Talend-Managing Job
In this session, we will learn how to manage a job in the Talend open studio for a data integration platform.
Talend provides multiple ways to manage a job, which are as following:
- Activating or Deactivating a component
- Activate or deactivate all linked subjob
- Activate or deactivate a current subjob
- Importing or Exporting Items
Activating or deactivating a component
To activate and deactivate a component in a Talend studio, follow the below process:
- Select the component, which we want to activate or deactivate.
- Then, right-click on the selected component [tFileInputExcel_1] and select the Deactivated tFileInputExcel_1 option from the pop-up menu as we can see in the below image:
- Once we deactivate the component, we are not able to perform any action like create or modify the links.
- And, if the component is deactivated, the code will not be generated at the runtime as we can see in the below image:
- Or, if we want to activate the same component, right-click on the deactivated component.
- And select the Activate tFileInputExcel_1 option from the pop-up menu as we can see in the below screenshot:
- After selecting the Activate tFileInputExcel_1 option, our design workspace window will look like this:
Activate or deactivate all linked subjob
For activating or deactivating all linked subjob, follow the below process:
- Select the component where all the subjobs all linked, which we want to activate or deactivate.
- Then, right-click on the selected component and select the Deactivate all linked Subjobs option from the given list as we can see in the below image:
- Once we deactivate all the linked subjobs, we are not able to perform any action like create and modify as we can see in the below image:
- If we want to activate the all linked subjobs, right-click on the deactivated component.
- And, select Activate all linked Subjobs option from the pop-up menu as we can see in the below screenshot:
- After selecting Activate all linked Subjobs option, our design workspace window will look like this:
Activate or deactivate a current subjob
For activating or deactivating a current subjob or subjob, follow the below steps:
- Firstly, right-click on the component which is connected to the subjob.
- Then, select the related options which help us to perform our action on the component like activate or deactivate a current subjob.
- If we want to deactivate the subjob, then select Deactivate current Subjob option in the given list.
- Or, If we want to activate the subjob, then select Activate current Subjob Option in the pop-up menu.
Importing or Exporting Items
In Talend studio, we can import or export the items in our jobs from the multiple project or the various versions of the studio.
Here, we will learn how to import and export the items for a job.
We can import multiple items in Talend studio, which are as following:
- Business Models
- Job Designs
- Routines
- Documentation
- Metadata
- For importing the items, right-click on the Job Design or Business Models in the Repository panel.
- Then, select the Import items from the pop-up menu as we can see in the below image:
- Or, we can directly click on the import item icon which is present on the toolbar as we can see in the below image:
- Once we clicked on the import items, the Import items window will appear where we will select the Select Root Directory option as we can see in the below screenshot:
- And, click on the Browser button to browse the related project folder in the workspace directory.
- It should be related to the project name, which we choose as we can see in the below image:
- If we only want to import items from the Job design, we can select a particular folder.
- Or, if we want to import from the Business Model, then select a particular model.
- But if our project is having multiple types of items like Business Models, Job Designs, Metadata, and Routines, then we will refer you to select the project folder for importing all the items at the same time.
- To overwrite the existing items, we can select the Overwrite existing items checkbox, and it will refresh the Items List if the same name items are there.
- And, the items list display all the valid items, which can be imported.
- So for this, select the import item by choosing the related checkboxes.
- After that, click on the Finish button.
Export the items
For exporting the items from the job, follow the below steps:
- Expand the Job Design section, and select one or more jobs, for example, Firstjob
- Then, Right-click on the Firstjob and select Export item option in the pop-up menu as we can see in the below screenshot:
Note: If we want to export a database table metadata entry, ensure that we select the complete DB connection.
- After clicking on the Export items, the Export item window will appear.
- Then, click on the Browse button to load the selected exported items.
- If we want to set and export the routine dependencies with the jobs which are exporting, then select the Export Dependencies checkbox.
- And, click on the Finish button to export the items as we can see in the below image:
|