Try this Import org.apache.spark.SparkContext._ Thanks.
Zhan Zhang On Sep 24, 2014, at 6:13 AM, david <david...@free.fr> wrote: > thank's > > i've already try this solution but it does not compile (in Eclipse) > > I'm surprise to see that in Spark-shell, sortByKey works fine on 2 > solutions : > > (String,String,String,String) > (String,(String,String,String)) > > > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/sortByKey-trouble-tp14989p15002.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org