Seems like there is an incompatibility regarding scala versions between
your program and the scala version Spark was compiled against.
Either you're using scala 2.11 and your spark installation was built using
2.10 or the other way around.

On Fri, Jul 22, 2016 at 11:06 PM, Pedro Rodriguez <[email protected]>
wrote:

> The dev list is meant for working on development of Spark, not as a way of
> escalating an issue just fyi.
>
> If someone hasn't replied on the user list either you haven't given it
> enough time or no one has a fix for you. I've definitely gotten replies
> from committers multiple times to many questions so its definitely *not*
> the case that they don't care
>
> On Fri, Jul 22, 2016 at 10:18 AM, VG <[email protected]> wrote:
>
>> Dev team,
>>
>> Can someone please help me here.
>>
>> -VG
>>
>> On Fri, Jul 22, 2016 at 8:30 PM, VG <[email protected]> wrote:
>>
>>> Can someone please help here.
>>>
>>> I tried both scala 2.10 and 2.11 on the system
>>>
>>>
>>>
>>> On Fri, Jul 22, 2016 at 7:59 PM, VG <[email protected]> wrote:
>>>
>>>> I am using version 2.0.0-preview
>>>>
>>>>
>>>>
>>>> On Fri, Jul 22, 2016 at 7:47 PM, VG <[email protected]> wrote:
>>>>
>>>>> I am running into the following error when running ALS
>>>>>
>>>>> Exception in thread "main" java.lang.NoSuchMethodError:
>>>>> scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaMirrors$JavaMirror;
>>>>> at org.apache.spark.ml.recommendation.ALS.fit(ALS.scala:452)
>>>>> at yelp.TestUser.main(TestUser.java:101)
>>>>>
>>>>> here line 101 in the above error is the following in code.
>>>>>
>>>>> ALSModel model = als.fit(training);
>>>>>
>>>>>
>>>>> Does anyone has a suggestion what is going on here and where I might
>>>>> be going wrong ?
>>>>> Please suggest
>>>>>
>>>>> -VG
>>>>>
>>>>
>>>>
>>>
>>
>
>
> --
> Pedro Rodriguez
> PhD Student in Distributed Machine Learning | CU Boulder
> UC Berkeley AMPLab Alumni
>
> [email protected] | pedrorodriguez.io | 909-353-4423
> Github: github.com/EntilZha | LinkedIn:
> https://www.linkedin.com/in/pedrorodriguezscience
>
>


-- 
Ben Fradet.

Reply via email to