Running the Job under different conditions - Cloud - 8.0

Data mapping

Version
Cloud
8.0
Language
日本語
Product
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
ジョブデザインと開発 > サードパーティーシステム > 変換処理コンポーネント > データマッピング
データガバナンス > サードパーティーシステム > 変換処理コンポーネント > データマッピング
データクオリティとプレパレーション > サードパーティーシステム > 変換処理コンポーネント > データマッピング
Last publication date
2023-09-14

Procedure

  1. Press Ctrl+S to save your Job.
  2. In the Run tab, click Run to execute the Job.
    In this case, no errors occur, so the Job triggers the second tJava component only.
  3. Double-click the tHMap component to open the Map editor.
  4. Right-click the outputKey element and click Go to Structure Element.
  5. Change the tHMap_1_output structure that opens from Read Only to Editable and then change the Data Type for outputKey to Integer (32). This means that this element can only be an Integer, and since this does not match the input, an error will occur.
  6. In the Run tab, click Run to execute the Job again.
    In this case, the Job still triggers the second tJava component even though there is an error, because the threshold above which an exception should be thrown (thus enabling the downstream components to detect the error) is set as Fatal. However, the third tJava component is also triggered since there is an error in the execution of the map.
  7. Select the tHMap component and click Component > Advanced settings, then change the value of the Exception Threshold drop-down list to Error. This causes an exception to be thrown when the map has a severity of Error or higher.
  8. In the Run tab, click Run to execute the Job for a third time.
    In this case, the Job detects the error and triggers the first tJava component (OnSubjobError).