Skip to content

LightGBMRanker in example notebook throws java.io.InvalidClassException: org.apache.spark.ml.Ranker #1459

@anishazaveri

Description

@anishazaveri

Describe the bug
I'm running the LightGBMRanker code (Cmds 37-41) in example notebook LightGBM - Overview.ipynb from here on Azure Databricks. I get a bug in command lgbm_ranker_model = lgbm_ranker.fit(df) (Cmd 41)

Info (please complete the following information):

  • SynapseML Version: 2.12
  • Spark Version 3.1.2
  • Spark Platform Databricks DBR 9.1 LTS
  • Installation co-ordinations: com.microsoft.azure:synapseml_2.12:0.9.5-13-d1b51517-SNAPSHOT

Stacktrace

org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 654.0 failed 4 times, most recent failure: Lost task 0.3 in stage 654.0 (TID 217219) (10.246.66.12 executor 72): java.io.InvalidClassException: org.apache.spark.ml.Ranker; local class incompatible: stream classdesc serialVersionUID = -3133757800595162776, local class serialVersionUID = 8149322387161021528

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions