RE: Basic Scala and Spark questions

2014-06-24 Thread Sameer Tilak
Subject: RE: Basic Scala and Spark questions Date: Tue, 24 Jun 2014 20:06:04 + Hello Tilak, 1. I get error Not found: type RDD error. Can someone please tell me which jars do I need to add as external jars and what dhoulf I add iunder import statements so that this error will go away

RE: Basic Scala and Spark questions

2014-06-24 Thread Muttineni, Vinay
Hello Tilak, 1. I get error Not found: type RDD error. Can someone please tell me which jars do I need to add as external jars and what dhoulf I add iunder import statements so that this error will go away. Do you not see any issues with the import statements? Add the spark-assembly-1.0.0-hadoop2

RE: Basic Scala and Spark questions

2014-06-23 Thread Sameer Tilak
Hi All,I was able to solve both these issues. Thanks! Just FYI: For 1: import org.apache.spark.rdd; import org.apache.spark.rdd.RDD; For 2: rdd.map(x => jc_.score(str1, new StringWrapper(x))) From: ssti...@live.com To: u...@spark.incubator.apache.org Subject: Basic Scala