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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org