[ https://issues.apache.org/jira/browse/SPARK-24689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
konglingbo updated SPARK-24689: ------------------------------- Description: scala> val predictionAndLabels=testing.map{case LabeledPoint(label,features)=> | val prediction = model.predict(features) | (prediction, label) | } was:!image-2018-06-29-13-41-55-635.png! > java.io.NotSerializableException: > org.apache.spark.mllib.clustering.DistributedLDAModel > --------------------------------------------------------------------------------------- > > Key: SPARK-24689 > URL: https://issues.apache.org/jira/browse/SPARK-24689 > Project: Spark > Issue Type: Bug > Components: Spark Shell > Affects Versions: 2.3.1 > Environment: !image-2018-06-29-13-42-30-255.png! > Reporter: konglingbo > Priority: Blocker > > scala> val predictionAndLabels=testing.map{case LabeledPoint(label,features)=> > | val prediction = model.predict(features) > | (prediction, label) > | } -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org