Skip to content

can't reproduce sample in readme #18

Open

Description

@JohnRenshaw

We get the following error when we try to reproduce readme example, we are using scala 2.11 jar downloaded from maven. We are running from AWS EMR cluster, with the following version
Spark 2.1.1 (git revision 173acdf) built for Hadoop 2.7.3-amzn-2

val clusters: Dataset[Assignment] =
MCL.train(graph).assignments

:37: error: type mismatch;
found : org.apache.spark.rdd.RDD[org.apache.spark.mllib.clustering.Assignment]
required: org.apache.spark.sql.Dataset[org.apache.spark.mllib.clustering.Assignment]
Error occurred in an application involving default arguments.
MCL.train(graph).assignments

Activity

  1. joandre commented on Sep 10, 2017

    @joandre
    Owner

    Hi,

    On maven there is no jar for Spark upper than 1.6.1. Indeed until this issue is not solved, I don't want to publish a new version on spark package. I have just updated the code so you can use it under 2.1.1 if you compile it locally. Let me know if it is ok for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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