Try running sbt/sbt clean and re-compiling. Any luck?
On Thu, Apr 24, 2014 at 5:33 PM, martin.ou <martin...@orchestrallinc.cn>wrote: > > > occure exception when compile spark 0.9.1 using sbt,env: hadoop 2.3 > > 1. SPARK_HADOOP_VERSION=2.3.0 SPARK_YARN=true sbt/sbt assembly > > > > 2.found Exception: > > found : org.apache.spark.streaming.dstream.DStream[(K, V)] > > [error] required: org.apache.spark.streaming.api.java.JavaPairDStream[K,V] > > [error] Note: implicit method fromPairDStream is not applicable here > because it comes after the application point and it lacks an explicit > result type > > [error] dstream.filter((x => f(x).booleanValue())) > > exception: > > Best Regards > > > > > > > > 欧大鹏 Martin.Ou > > > > 交付中心 Delive > > > > ================================== > > 新世基(太仓)科技服务有限公司 > > Orchestrall, Inc. <http://www.orchestrallinc.com/> > > +86 18962621057 (Mobile) > > 0512-53866019(Office) > > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private > information. If you have received it in error, please notify the sender > immediately and delete the original. Any > other use of the email by you is prohibited. > > > > >