spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <so...@cloudera.com>
Subject Re: Problem with building spark-1.2.0
Date Tue, 13 Jan 2015 10:00:57 GMT
I don't believe you need any such manual steps. I'd undo what you did
there. I have never had to add anything manually to get SBT or Maven
builds working. Just follow the docs on the site.

On Tue, Jan 13, 2015 at 5:29 AM, Rapelly Kartheek
<kartheek.mbms@gmail.com> wrote:
> Yes, this proxy problem is resolved.
> how your build refers to
> https://github.com/ScrapCodes/sbt-pom-reader.git  I don't see this
> repo the project code base.
> I manually downloaded the sbt-pom-reader directory and moved into
> .sbt/0.13/staging/*/ directory. But, I face the following:
>
> karthik@s4:~/spark-1.2.0$ SPARK_HADOOP_VERSION = 2.3.0 sbt/sbt assembly
> Using /usr/lib/jvm/java-7-oracle as default JAVA_HOME.
> Note, this will be overridden by -java-home if it is set.
> [info] Loading project definition from
> /home/karthik/spark-1.2.0/project/project
> [info] Loading project definition from
> /home/karthik/.sbt/0.13/staging/ad8e8574a5bcb2d22d23/sbt-pom-reader/project
> [warn] Multiple resolvers having different access mechanism configured with
> same name 'sbt-plugin-releases'. To avoid conflict, Remove duplicate project
> resolvers (`resolvers`) or rename publishing resolver (`publishTo`).
> [info] Updating
> {file:/home/karthik/.sbt/0.13/staging/ad8e8574a5bcb2d22d23/sbt-pom-reader/project/}sbt-pom-reader-build...
> [info] Resolving com.typesafe.sbt#sbt-ghpages;0.5.2 ...
>
> Could you please tell me how do I build stand-alone spark-1.2.0 with sbt
> correctly?
>
> On Mon, Jan 12, 2015 at 4:21 PM, Sean Owen <sowen@cloudera.com> wrote:
>>
>> The problem is there in the logs. When it went to clone some code,
>> something went wrong with the proxy:
>>
>> Received HTTP code 407 from proxy after CONNECT
>>
>> Probably you have an HTTP proxy and you have not authenticated. It's
>> specific to your environment.
>>
>> Although it's unrelated, I'm curious how your build refers to
>> https://github.com/ScrapCodes/sbt-pom-reader.git  I don't see this
>> repo the project code base.
>>
>> On Mon, Jan 12, 2015 at 9:09 AM, Kartheek.R <kartheek.mbms@gmail.com>
>> wrote:
>> > Hi,
>> > This is what I am trying to do:
>> >
>> > karthik@s4:~/spark-1.2.0$ SPARK_HADOOP_VERSION=2.3.0 sbt/sbt clean
>> > Using /usr/lib/jvm/java-7-oracle as default JAVA_HOME.
>> > Note, this will be overridden by -java-home if it is set.
>> > [info] Loading project definition from
>> > /home/karthik/spark-1.2.0/project/project
>> > Cloning into
>> > '/home/karthik/.sbt/0.13/staging/ad8e8574a5bcb2d22d23/sbt-pom-reader'...
>> > fatal: unable to access
>> > 'https://github.com/ScrapCodes/sbt-pom-reader.git/':
>> > Received HTTP code 407 from proxy after CONNECT
>> > java.lang.RuntimeException: Nonzero exit code (128): git clone
>> > https://github.com/ScrapCodes/sbt-pom-reader.git
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message