Closed vishalrajpal25 closed 9 years ago
I've successfully reproduced the issue and pyspark.RDD doesn't have the method treeReduce, see https://github.com/apache/spark/blob/branch-1.2/python/pyspark/rdd.py
If You can't update spark, I suggest to change treeReduce
to reduce
.
Right now, the spark version support is an ongoing discussion. We'll update the reqiurements in the README.
Thanks for the solution. We can't update spark yet so will change the method to reduce on rdd
I am using spark 1.2.1, and I think rdd has the method treeReduce. Would you have any idea why this error could be popping out of the ArrayRDD extendig BlockRDD