Go to the module settings of the project and in the dependencies section
check the scope of scala jars. It would be either Test or Provided. Change
it to compile and it should work. Check the following link to understand
more about scope of modules:
As I remember, you also need to change guava and jetty related dependency
to compile if you run to run SparkPi in intellij.
On Tue, Aug 25, 2015 at 3:15 PM, Hemant Bhanawat hemant9...@gmail.com
wrote:
Go to the module settings of the project and in the dependencies section
check the scope of
Thanks you guys.
Yes, I have fixed the guava and spark core and scala and jetty. And I can run
Pi now.
At 2015-08-25 15:28:51, Jeff Zhang zjf...@gmail.com wrote:
As I remember, you also need to change guava and jetty related dependency to
compile if you run to run SparkPi in intellij.
I cloned the code from https://github.com/apache/spark to my machine. It can
compile successfully,
But when I run the sparkpi, it throws an exception below complaining the
scala.collection.Seq is not found.
I have installed scala2.10.4 in my machine, and use the default profiles: