You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "konglingbo (JIRA)" <ji...@apache.org> on 2018/06/29 05:45:00 UTC

[jira] [Updated] (SPARK-24689) java.io.NotSerializableException: org.apache.spark.mllib.clustering.DistributedLDAModel

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org