mercredi 30 mai 2018

AttributeError: 'ellipsis' object has no attribute '_jsc'

Actually, I want to generate a random double RDDs (vector RDDs). I used RandomRDDs from pyspark.mllib.random as:

from pyspark.mllib.random import RandomRDDs
sc = ... # SparkContext
u = RandomRDDs.normalRDD(sc, 10000, 10)

But I got this error:

AttributeError: 'ellipsis' object has no attribute '_jsc'

Any Idea?




Aucun commentaire:

Enregistrer un commentaire