Thanks Endre, I'll forward your answers to spark user mailing list.

Jianshi


On Tuesday, October 28, 2014 8:02:38 PM UTC+8, Akka Team wrote:
>
> Hi,
>
> On Tue, Oct 28, 2014 at 11:03 AM, Jianshi Huang <[email protected] 
> <javascript:>> wrote:
>
>> Hi,
>>
>> I got the following exceptions when using Spray client to write to 
>> OpenTSDB using its REST API.
>>
>>   Exception in thread "pool-10-thread-2" java.lang.NoSuchMethodError: 
>> akka.actor.ActorSystem.dispatcher()Lscala/concurrent/ExecutionContext;
>>
>
> This looks like a binary incompatibility issue. As far as I know Spark is 
> using a custom built Akka and Scala for various reasons.
>  
>
>>
>> It worked locally in my Intellij but failed when I launch it from 
>> Spark-submit.
>>
>> Google suggested it's a compatibility issue in Akka. And I'm using latest 
>> Spark built from the HEAD, so the Akka used in Spark-submit is 2.3.4-spark.
>>
>> I tried both Spray 1.3.2 (built for Akka 2.3.6) and 1.3.1 (built for 
>> 2.3.4). Both failed with the same exception.
>>
>> Anyone has idea what went wrong? Need help!
>>
>
> You should ask this on the Spark mailing list, Akka is binary compatible 
> between major versions (2.3.6 is compatible with 2.3.4) but Spark uses its 
> own build which I guess does not guarantee binary compatiblity.
>
> -Endre
>  
>
>>
>> Jianshi
>>
>> -- 
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Akka Team
> Typesafe - The software stack for applications that scale
> Blog: letitcrash.com
> Twitter: @akkateam
>  

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to