spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jni2000 <>
Subject Compile SimpleApp.scala encountered error, please can any one help?
Date Sat, 12 Apr 2014 05:37:57 GMT

 I am a new Spark user and try to test run it from scratch. I followed the
documentation and was able the build the Spark package and run the spark
shell. However when I move on to building the standalone sample
"SimpleApp.scala", I see the following errors:

Loading /usr/share/sbt/bin/sbt-launch-lib.bash
[info] Set current project to Simple Project (in build
[info] Compiling 1 Scala source and 1 Java source to
SimpleApp is already defined as object SimpleApp
[error] object SimpleApp {
[error]        ^
[error] one error found
[error] (compile:compile) Compilation failed
[error] Total time: 2 s, completed Apr 12, 2014 1:12:43 AM

Can some one help me understand what could be wrong?

Thanks a lot.


View this message in context:
Sent from the Apache Spark User List mailing list archive at

View raw message