Importing a Job using tNaiveBayesModel or tPredict on Spark 1.3
tNaiveBayesModel and tPredict do not support Apache
Spark 1.3 but you can still import your existing Job and edit it.
Procedure
Import the Job to Talend Studio.
In the Run view, select the Spark
Configuration tab.
From the Spark version list, select the new version to
be used.
When the Job uses tNaiveBayesModel, add tModelEncoder to your Job.
Information noteImportant: From Apache Spark 1.4, tModelEncoder is
necessary to prepare and provide the incoming dataset that
tNaiveBayesModel will analyze.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!