Dear All,
I am getting following error while running the standalone simple scala program given in the spark site.
[info] Set current project to Simple Project (in build file:/home/avijit/workspace/spark_scala/)
[info] Running SimpleApp
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See
http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
13/11/03 16:50:35 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
13/11/03 16:50:35 WARN snappy.LoadSnappy: Snappy native library not loaded
13/11/03 16:50:35 INFO mapred.FileInputFormat: Total input paths to process : 1
[error] (run-main) org.apache.spark.SparkException: Job failed: Task 0.0:0 failed more than 4 times; aborting job java.io.IOException: Server returned HTTP response code: 503 for URL:
http://192.168.1.150:55907/jars/simple-project_2.9.3-1.0.jarorg.apache.spark.SparkException: Job failed: Task 0.0:0 failed more than 4 times; aborting job java.io.IOException: Server returned HTTP response code: 503 for URL:
http://192.168.1.150:55907/jars/simple-project_2.9.3-1.0.jar at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:760)
at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:758)
at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:60)
at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:758)
at org.apache.spark.scheduler.DAGScheduler.processEvent(DAGScheduler.scala:379)
at
org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$run(DAGScheduler.scala:441)
at org.apache.spark.scheduler.DAGScheduler$$anon$1.run(DAGScheduler.scala:149)
[trace] Stack trace suppressed: run last compile:run for the full output.
java.lang.RuntimeException: Nonzero exit code: 1
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last compile:run for the full output.
[error] (compile:run) Nonzero exit code: 1
[error] Total time: 66 s, completed 3 Nov, 2013 4:51:38 PM
My directory structure is as given in the site.
Can anybody help me?
Thanks and regards
avijit