spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pns <>
Subject Failing to run standalone streaming app: IOException; classNotFoundException; and more
Date Sat, 14 Jun 2014 21:29:28 GMT
Hi,I'm attempting to run the following simple standalone app on mac os and
spark 1.0 using sbt:val sparkConf = new
ssc = new StreamingContext(sparkConf, Seconds(10))val lines =
ssc.textFileStream("/Users/me/Downloads/test/")lines.foreachRDD(rdd =>
rdd.foreach(println(_)))ssc.start()ssc.awaitTermination()However, when
running it with sbt run, I get quite a few errors:23:27:42.182 [run-main]
DEBUG org.apache.hadoop.conf.Configuration - config()
at org.apache.hadoop.conf.Configuration.(	at
Job aborted due to stage failure: Task 0.0:0 failed 1 times, most recent
failure: Exception failure in TID 0 on host localhost:
java.lang.ClassNotFoundException: scala.None$$$ ideas? Let me know
what other info you need to figure this out.Thanks!

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