Here is the exact sequence of commands you can use for the workaround:

===
$ cd ~/.ivy2/cache/org.scala-lang/
$ mkdir -p scala-library && cd scala-library
$ wget
https://raw.githubusercontent.com/peterklipfel/scala_koans/master/ivyrepo/cache/org.scala-lang/scala-library/ivy-2.10.2.xml
$ wget
https://raw.githubusercontent.com/peterklipfel/scala_koans/master/ivyrepo/cache/org.scala-lang/scala-library/ivydata-2.10.2.properties
$ mkdir -p jars && cd jars
$ wget
https://github.com/peterklipfel/scala_koans/raw/master/ivyrepo/cache/org.scala-lang/scala-library/jars/scala-library-2.10.2.jar
===


On Sat, Aug 2, 2014 at 2:30 PM, DB Tsai <dbt...@dbtsai.com> wrote:

> I ran into this issue as well. The workaround by copying jar and ivy
> manually suggested by Shivaram works for me.
>
> Sincerely,
>
> DB Tsai
> -------------------------------------------------------
> My Blog: https://www.dbtsai.com
> LinkedIn: https://www.linkedin.com/in/dbtsai
>
>
> On Fri, Aug 1, 2014 at 3:31 PM, Patrick Wendell <pwend...@gmail.com>
> wrote:
> > I've had intermiddent access to the artifacts themselves, but for me the
> > directory listing always 404's.
> >
> > I think if sbt hits a 404 on the directory, it sends a somewhat confusing
> > error message that it can't download the artifact.
> >
> > - Patrick
> >
> >
> > On Fri, Aug 1, 2014 at 3:28 PM, Shivaram Venkataraman
> > <shiva...@eecs.berkeley.edu> wrote:
> >>
> >> This fails for me too. I have no idea why it happens as I can wget the
> pom
> >> from maven central. To work around this I just copied the ivy xmls and
> jars
> >> from this github repo
> >>
> >>
> https://github.com/peterklipfel/scala_koans/tree/master/ivyrepo/cache/org.scala-lang/scala-library
> >> and put it in /root/.ivy2/cache/org.scala-lang/scala-library
> >>
> >> Thanks
> >> Shivaram
> >>
> >>
> >>
> >>
> >> On Fri, Aug 1, 2014 at 3:15 PM, Holden Karau <hol...@pigscanfly.ca>
> wrote:
> >>>
> >>> Currently scala 2.10.2 can't be pulled in from maven central it seems,
> >>> however if you have it in your ivy cache it should work.
> >>>
> >>>
> >>> On Fri, Aug 1, 2014 at 3:15 PM, Holden Karau <hol...@pigscanfly.ca>
> >>> wrote:
> >>>>
> >>>> Me 3
> >>>>
> >>>>
> >>>> On Fri, Aug 1, 2014 at 11:15 AM, nit <nitinp...@gmail.com> wrote:
> >>>>>
> >>>>> I also ran into same issue. What is the solution?
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> View this message in context:
> >>>>>
> http://apache-spark-user-list.1001560.n3.nabble.com/Compiling-Spark-master-284771ef-with-sbt-sbt-assembly-fails-on-EC2-tp11155p11189.html
> >>>>> Sent from the Apache Spark User List mailing list archive at
> >>>>> Nabble.com.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Cell : 425-233-8271
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Cell : 425-233-8271
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
>
>

Reply via email to