Skip to main content Skip to complementary content

Importing a Job using tNaiveBayesModel or tPredict on Spark 1.3

tNaiveBayesModel and tPredict do not support Apache Spark 1.3 from Talend Studio 7.3 R2021-02 onwards.

You can still import your existing Job and edit it.

Procedure

  1. Import the Job to the Studio.
  2. In the Run view, select the Spark Configuration tab.
  3. From the Spark version list, select the new version to be used.
  4. When the Job uses tNaiveBayesModel, add tModelEncoder to your Job.
    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 – let us know how we can improve!