val iter = toLocalIterator (rdd) This is what I am doing and it says error: not found
On Fri, Nov 14, 2014 at 12:34 PM, Patrick Wendell <pwend...@gmail.com> wrote: > It looks like you are trying to directly import the toLocalIterator > function. You can't import functions, it should just appear as a > method of an existing RDD if you have one. > > - Patrick > > On Thu, Nov 13, 2014 at 10:21 PM, Deep Pradhan > <pradhandeep1...@gmail.com> wrote: > > Hi, > > > > I am using Spark 1.0.0 and Scala 2.10.3. > > > > I want to use toLocalIterator in a code but the spark shell tells > > > > not found: value toLocalIterator > > > > I also did import org.apache.spark.rdd but even after this the shell > tells > > > > object toLocalIterator is not a member of package org.apache.spark.rdd > > > > Can anyone help me in this? > > > > Thank You >