NoSuchAlgorithmException for DataMasking.createMD5

Talend Version       6.3.1

Summary

 
Additional Versions  
Product Talend Big Data
Component Spark Job in Studio
Problem Description  
Problem root cause

When trying to run a Spark Job using DataMasking.createMD5, there is a compile error:

Execution failed : Job compile errors 
At least job "xxxx" has a compile errors, please fix and export again.
Detail Message: Unhandled exception type NoSuchAlgorithmException
Solution or Workaround

For 6.3.1, there is a workaround for this issue:

  1. Add a tJavaRow component before the tMap component.
  2. Add a column in the schema.

    workaround_step1.jpg

     

  3. Add this new column in the tMap mapping.

    workaround_step2.jpg

     

For convenience, a simple Big Data batch Job that shows this workaround is attached (workaroundJob.zip).

JIRA ticket number TDQ-13303
Version history
Revision #:
4 of 4
Last update:
‎01-22-2018 04:15 PM
Updated by:
 
Contributors