You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by dachuan <hd...@gmail.com> on 2014/02/18 20:21:19 UTC

question about compiling SimpleApp

Hello,

A quick question about my problem in compiling SimpleApp,

sbt package reports

[info] Resolving org.scala-lang#scala-library;2.10 ...
[warn]  module not found: org.scala-lang#scala-library;2.10
...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.scala-lang#scala-library;2.10: not found
[warn]  :: org.scala-lang#scala-compiler;2.10: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency:
org.scala-lang#scala-library;2.10: not found
unresolved dependency: org.scala-lang#scala-compiler;2.10: not found

This might be a common problem, please help me with this.

thanks,
dachuan.

Re: question about compiling SimpleApp

Posted by dachuan <hd...@gmail.com>.
http://spark.incubator.apache.org/docs/latest/quick-start.html

it's in this page.


On Tue, Feb 18, 2014 at 7:24 PM, Nan Zhu <zh...@gmail.com> wrote:

>  oh~Sorry, Andrew
>
> I just made the PR, it's a error in site config.yml
>
> Best,
>
>
> --
> Nan Zhu
>
> On Tuesday, February 18, 2014 at 7:16 PM, Andrew Ash wrote:
>
> Dachuan,
>
> Where did you find that faulty documentation?  I'd like to get it fixed.
>
> Thanks!
> Andrew
>
>
> On Tue, Feb 18, 2014 at 4:15 PM, dachuan <hd...@gmail.com> wrote:
>
> Thanks for your reply.
>
> I have changed scalaVersion := "2.10" to scalaVersion := "2.10.3" then
> everything is good.
>
> So this is a documentation bug :)
>
> dachuan.
>
>
> On Tue, Feb 18, 2014 at 6:50 PM, Denny Lee <de...@gmail.com> wrote:
>
> What version of Scala are you using?  For example, if you're using Spark
> Incubating 0.9, its dependency is Scala 2.10.3.  If you can update the
> simple.sbt to indicate 2.10.3 (as opposed 2.10) then that might do the
> trick.
>
> HTH!
>
> On February 18, 2014 at 11:21:46 AM, dachuan (hdc1112@gmail.com) wrote:
>
>    Hello,
>
> A quick question about my problem in compiling SimpleApp,
>
> sbt package reports
>
>  [info] Resolving org.scala-lang#scala-library;2.10 ...
> [warn]  module not found: org.scala-lang#scala-library;2.10
>  ...
>  [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]  ::          UNRESOLVED DEPENDENCIES         ::
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]  :: org.scala-lang#scala-library;2.10: not found
> [warn]  :: org.scala-lang#scala-compiler;2.10: not found
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> sbt.ResolveException: unresolved dependency:
> org.scala-lang#scala-library;2.10: not found
> unresolved dependency: org.scala-lang#scala-compiler;2.10: not found
>
> This might be a common problem, please help me with this.
>
> thanks,
> dachuan.
>
>
>
>
> --
> Dachuan Huang
> Cellphone: 614-390-7234
> 2015 Neil Avenue
> Ohio State University
> Columbus, Ohio
> U.S.A.
> 43210
>
>
>
>


-- 
Dachuan Huang
Cellphone: 614-390-7234
2015 Neil Avenue
Ohio State University
Columbus, Ohio
U.S.A.
43210

Re: question about compiling SimpleApp

Posted by Nan Zhu <zh...@gmail.com>.
oh~Sorry, Andrew  

I just made the PR, it’s a error in site config.yml

Best,


--  
Nan Zhu


On Tuesday, February 18, 2014 at 7:16 PM, Andrew Ash wrote:

> Dachuan,
>  
> Where did you find that faulty documentation?  I'd like to get it fixed.
>  
> Thanks!
> Andrew
>  
>  
>  
> On Tue, Feb 18, 2014 at 4:15 PM, dachuan <hdc1112@gmail.com (mailto:hdc1112@gmail.com)> wrote:
> > Thanks for your reply.
> >  
> > I have changed scalaVersion := "2.10" to scalaVersion := "2.10.3" then everything is good.  
> >  
> > So this is a documentation bug :)  
> >  
> > dachuan.  
> >  
> >  
> > On Tue, Feb 18, 2014 at 6:50 PM, Denny Lee <denny.g.lee@gmail.com (mailto:denny.g.lee@gmail.com)> wrote:
> > > What version of Scala are you using?  For example, if you’re using Spark Incubating 0.9, its dependency is Scala 2.10.3.  If you can update the simple.sbt to indicate 2.10.3 (as opposed 2.10) then that might do the trick.   
> > >  
> > > HTH!
> > >  
> > >  
> > > On February 18, 2014 at 11:21:46 AM, dachuan (hdc1112@gmail.com (mailto:hdc1112@gmail.com)) wrote:
> > >  
> > > > Hello,
> > > >  
> > > >  
> > > >  
> > > > A quick question about my problem in compiling SimpleApp,  
> > > >  
> > > > sbt package reports  
> > > >  
> > > > [info] Resolving org.scala-lang#scala-library;2.10 ...  
> > > > [warn]  module not found: org.scala-lang#scala-library;2.10
> > > >  
> > > > ...
> > > > [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> > > > [warn]  ::          UNRESOLVED DEPENDENCIES         ::
> > > > [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> > > > [warn]  :: org.scala-lang#scala-library;2.10: not found
> > > > [warn]  :: org.scala-lang#scala-compiler;2.10: not found
> > > > [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> > > > sbt.ResolveException: unresolved dependency: org.scala-lang#scala-library;2.10: not found
> > > > unresolved dependency: org.scala-lang#scala-compiler;2.10: not found
> > > >  
> > > >  
> > > > This might be a common problem, please help me with this.  
> > > >  
> > > > thanks,  
> > > > dachuan.
> > > >  
> > > >  
> > > >  
> > > >  
> > > >  
> > >  
> > >  
> > >  
> > >  
> >  
> >  
> >  
> >  
> >  
> > --  
> > Dachuan Huang
> > Cellphone: 614-390-7234 (tel:614-390-7234)
> > 2015 Neil Avenue
> > Ohio State University
> > Columbus, Ohio
> > U.S.A.
> > 43210
>  


Re: question about compiling SimpleApp

Posted by Mayur Rustagi <ma...@gmail.com>.
I guess here: http://spark.incubator.apache.org/docs/latest/quick-start.html
Regards
Mayur


Mayur Rustagi
Ph: +919632149971
h <https://twitter.com/mayur_rustagi>ttp://www.sigmoidanalytics.com
https://twitter.com/mayur_rustagi



On Tue, Feb 18, 2014 at 4:16 PM, Andrew Ash <an...@andrewash.com> wrote:

> Dachuan,
>
> Where did you find that faulty documentation?  I'd like to get it fixed.
>
> Thanks!
> Andrew
>
>
> On Tue, Feb 18, 2014 at 4:15 PM, dachuan <hd...@gmail.com> wrote:
>
>> Thanks for your reply.
>>
>> I have changed scalaVersion := "2.10" to scalaVersion := "2.10.3" then
>> everything is good.
>>
>> So this is a documentation bug :)
>>
>> dachuan.
>>
>>
>> On Tue, Feb 18, 2014 at 6:50 PM, Denny Lee <de...@gmail.com> wrote:
>>
>>> What version of Scala are you using?  For example, if you’re using Spark
>>> Incubating 0.9, its dependency is Scala 2.10.3.  If you can update the
>>> simple.sbt to indicate 2.10.3 (as opposed 2.10) then that might do the
>>> trick.
>>>
>>> HTH!
>>>
>>> On February 18, 2014 at 11:21:46 AM, dachuan (hdc1112@gmail.com) wrote:
>>>
>>>    Hello,
>>>
>>> A quick question about my problem in compiling SimpleApp,
>>>
>>> sbt package reports
>>>
>>>  [info] Resolving org.scala-lang#scala-library;2.10 ...
>>> [warn]  module not found: org.scala-lang#scala-library;2.10
>>>  ...
>>>  [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
>>> [warn]  ::          UNRESOLVED DEPENDENCIES         ::
>>> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
>>> [warn]  :: org.scala-lang#scala-library;2.10: not found
>>> [warn]  :: org.scala-lang#scala-compiler;2.10: not found
>>> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
>>> sbt.ResolveException: unresolved dependency:
>>> org.scala-lang#scala-library;2.10: not found
>>> unresolved dependency: org.scala-lang#scala-compiler;2.10: not found
>>>
>>> This might be a common problem, please help me with this.
>>>
>>> thanks,
>>> dachuan.
>>>
>>>
>>
>>
>> --
>> Dachuan Huang
>> Cellphone: 614-390-7234
>> 2015 Neil Avenue
>> Ohio State University
>> Columbus, Ohio
>> U.S.A.
>> 43210
>>
>
>

Re: question about compiling SimpleApp

Posted by Andrew Ash <an...@andrewash.com>.
Dachuan,

Where did you find that faulty documentation?  I'd like to get it fixed.

Thanks!
Andrew


On Tue, Feb 18, 2014 at 4:15 PM, dachuan <hd...@gmail.com> wrote:

> Thanks for your reply.
>
> I have changed scalaVersion := "2.10" to scalaVersion := "2.10.3" then
> everything is good.
>
> So this is a documentation bug :)
>
> dachuan.
>
>
> On Tue, Feb 18, 2014 at 6:50 PM, Denny Lee <de...@gmail.com> wrote:
>
>> What version of Scala are you using?  For example, if you’re using Spark
>> Incubating 0.9, its dependency is Scala 2.10.3.  If you can update the
>> simple.sbt to indicate 2.10.3 (as opposed 2.10) then that might do the
>> trick.
>>
>> HTH!
>>
>> On February 18, 2014 at 11:21:46 AM, dachuan (hdc1112@gmail.com) wrote:
>>
>>    Hello,
>>
>> A quick question about my problem in compiling SimpleApp,
>>
>> sbt package reports
>>
>>  [info] Resolving org.scala-lang#scala-library;2.10 ...
>> [warn]  module not found: org.scala-lang#scala-library;2.10
>>  ...
>>  [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
>> [warn]  ::          UNRESOLVED DEPENDENCIES         ::
>> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
>> [warn]  :: org.scala-lang#scala-library;2.10: not found
>> [warn]  :: org.scala-lang#scala-compiler;2.10: not found
>> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
>> sbt.ResolveException: unresolved dependency:
>> org.scala-lang#scala-library;2.10: not found
>> unresolved dependency: org.scala-lang#scala-compiler;2.10: not found
>>
>> This might be a common problem, please help me with this.
>>
>> thanks,
>> dachuan.
>>
>>
>
>
> --
> Dachuan Huang
> Cellphone: 614-390-7234
> 2015 Neil Avenue
> Ohio State University
> Columbus, Ohio
> U.S.A.
> 43210
>

Re: question about compiling SimpleApp

Posted by dachuan <hd...@gmail.com>.
Thanks for your reply.

I have changed scalaVersion := "2.10" to scalaVersion := "2.10.3" then
everything is good.

So this is a documentation bug :)

dachuan.


On Tue, Feb 18, 2014 at 6:50 PM, Denny Lee <de...@gmail.com> wrote:

> What version of Scala are you using?  For example, if you're using Spark
> Incubating 0.9, its dependency is Scala 2.10.3.  If you can update the
> simple.sbt to indicate 2.10.3 (as opposed 2.10) then that might do the
> trick.
>
> HTH!
>
> On February 18, 2014 at 11:21:46 AM, dachuan (hdc1112@gmail.com) wrote:
>
>   Hello,
>
> A quick question about my problem in compiling SimpleApp,
>
> sbt package reports
>
>  [info] Resolving org.scala-lang#scala-library;2.10 ...
> [warn]  module not found: org.scala-lang#scala-library;2.10
>  ...
>  [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]  ::          UNRESOLVED DEPENDENCIES         ::
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]  :: org.scala-lang#scala-library;2.10: not found
> [warn]  :: org.scala-lang#scala-compiler;2.10: not found
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> sbt.ResolveException: unresolved dependency:
> org.scala-lang#scala-library;2.10: not found
> unresolved dependency: org.scala-lang#scala-compiler;2.10: not found
>
> This might be a common problem, please help me with this.
>
> thanks,
> dachuan.
>
>


-- 
Dachuan Huang
Cellphone: 614-390-7234
2015 Neil Avenue
Ohio State University
Columbus, Ohio
U.S.A.
43210

Re: question about compiling SimpleApp

Posted by Denny Lee <de...@gmail.com>.
What version of Scala are you using?  For example, if you’re using Spark Incubating 0.9, its dependency is Scala 2.10.3.  If you can update the simple.sbt to indicate 2.10.3 (as opposed 2.10) then that might do the trick. 

HTH!

On February 18, 2014 at 11:21:46 AM, dachuan (hdc1112@gmail.com) wrote:

Hello,

A quick question about my problem in compiling SimpleApp,

sbt package reports

[info] Resolving org.scala-lang#scala-library;2.10 ...
[warn]  module not found: org.scala-lang#scala-library;2.10
...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.scala-lang#scala-library;2.10: not found
[warn]  :: org.scala-lang#scala-compiler;2.10: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: org.scala-lang#scala-library;2.10: not found
unresolved dependency: org.scala-lang#scala-compiler;2.10: not found

This might be a common problem, please help me with this.

thanks,
dachuan.