spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh Krishnan (JIRA)" <>
Subject [jira] [Created] (SPARK-16912) Wrong import in Machine Learning documentation
Date Fri, 05 Aug 2016 07:01:20 GMT
Ganesh Krishnan created SPARK-16912:

             Summary: Wrong import in Machine Learning documentation 
                 Key: SPARK-16912
             Project: Spark
          Issue Type: Documentation
    Affects Versions: 2.0.0
            Reporter: Ganesh Krishnan
            Priority: Trivial

The Machine Learning documentation for Spark
import org.apache.spark.mllib.linalg.Vector;

This throws a class cast exception at runtime
For my project:

Exception in thread "main" java.lang.ClassCastException:
cannot be cast to org.apache.spark.mllib.linalg.Vector
	at xyz.shoten.puddleloader.parquetcreator.IDFGenerator.main(

It needs to import


Note: The package is ml instead of mlib

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message