Re: A confusing ClassNotFoundException error

2015-06-14 Thread Zhiwei Chan
rseNext(HttpParser.java:644) > at > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) > at > > org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) > at > > org.eclipse.jetty.io.nio.SelectChannelEndP

Re: A confusing ClassNotFoundException error

2015-06-13 Thread StanZhai
ead.java:745) -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/A-confusing-ClassNotFoundException-error-tp12720p12749.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com.

A confusing ClassNotFoundException error

2015-06-12 Thread Zhiwei Chan
Hi all, I encounter an error at spark 1.4.0, and I make an error example as following. Both of the code can run OK on spark-shell, but the second code encounter an error using spark-submit. The only different is that the second code uses a literal function in the map(). but the first code uses a d