Closed DnyaneshPatil23 closed 1 year ago
You mentioned that it was working until several weeks ago. Has anything changed on your side (e.g., Spark / Scala versions used on your cluster)?
There are several json issues with model I/O reported and solved in prior tickets. I'd suggest taking a look at these and seeing if any are relevant.
There are isolation-forest
artifacts built for Spark 3.1.1 and Scala 2.12 (Maven Central). I'd suggest using a version that matches your environment.
Closing this as there have been no replies for several months.
I am using spark 3.1 and Scala 2.12. I am using below isolation forest model artifact in maven.
Recently I started getting below error
java.lang.NoClassDefFoundError: org/json4s/JsonAssoc$ at com.linkedin.relevance.isolationforest.IsolationForestModelReadWrite$IsolationForestModelWriter.saveImpl(IsolationForestModelReadWrite.scala:239) at org.apache.spark.ml.util.MLWriter.save(ReadWrite.scala:168)
Below is our code.
It was working till couple of weeks ago. Can anyone help to solve this problem?