got java.lang.AssertionError when run sbt/sbt compile

2014-07-08 Thread bai
Hi guys, when i try to compile the latest source by sbt/sbt compile, I got an error. Can any one help me? The following is the detail: it may cause by TestSQLContext.scala [error] [error] while compiling: /disk3/spark/sql/core/src/main/scala/org/apache/spark/sql/test/TestSQLContext.scala [

how to run spark function in a tomcat servlet

2014-12-10 Thread bai
Hi guys: I want to call the RDD api in a servlet which run in a tomcat. So I add the spark-core.jar to the web-inf/lib of the web project .And deploy it to tomcat. but In spark-core.jar there exist the httpserlet which belongs to jetty. then there is some conflict. Can Anybody tell me how to re