You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Shreeharsha G Neelakantachar <sh...@in.ibm.com> on 2015/08/27 14:59:01 UTC

sbt error -- before Terasort compilation

Hi ,
       I am getting this sbt error when trying to compile a terasort sbt 
file with following contents, but facinng below error. Please suggest for 
what can be tried.. (Terasort is written in scala for our Benchmark)


root@:~# more teraSort/tera.sbt 
name := "IBM ARL TeraSort"

version := "1.0"

scalaVersion := "2.10.4"

libraryDependencies += "org.apache.spark" %% "spark-core" % "1.3.0"
root@:~# 


Error:
=====
root@:~# sbt package
Getting org.scala-sbt sbt 0.13.9 ...

:: problems summary ::
:::: WARNINGS
                module not found: org.scala-sbt#sbt;0.13.9

        ==== local: tried

          /root/.ivy2/local/org.scala-sbt/sbt/0.13.9/ivys/ivy.xml

          -- artifact org.scala-sbt#sbt;0.13.9!sbt.jar:

          /root/.ivy2/local/org.scala-sbt/sbt/0.13.9/jars/sbt.jar

        ==== jcenter: tried

          
https://jcenter.bintray.com/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.pom

          -- artifact org.scala-sbt#sbt;0.13.9!sbt.jar:

          
https://jcenter.bintray.com/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.jar

        ==== typesafe-ivy-releases: tried

          
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.9/ivys/ivy.xml

        ==== Maven Central: tried

          
https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.pom

          -- artifact org.scala-sbt#sbt;0.13.9!sbt.jar:

          
https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.jar

                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: org.scala-sbt#sbt;0.13.9: not found

                ::::::::::::::::::::::::::::::::::::::::::::::


:::: ERRORS
        Server access Error: java.lang.RuntimeException: Unexpected error: 
java.security.InvalidAlgorithmParameterException: the trustAnchors 
parameter must be non-empty 
url=https://jcenter.bintray.com/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.pom

        Server access Error: java.lang.RuntimeException: Unexpected error: 
java.security.InvalidAlgorithmParameterException: the trustAnchors 
parameter must be non-empty 
url=https://jcenter.bintray.com/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.jar

        Server access Error: java.lang.RuntimeException: Unexpected error: 
java.security.InvalidAlgorithmParameterException: the trustAnchors 
parameter must be non-empty 
url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.9/ivys/ivy.xml

        Server access Error: java.lang.RuntimeException: Unexpected error: 
java.security.InvalidAlgorithmParameterException: the trustAnchors 
parameter must be non-empty 
url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.pom

        Server access Error: java.lang.RuntimeException: Unexpected error: 
java.security.InvalidAlgorithmParameterException: the trustAnchors 
parameter must be non-empty 
url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.jar


:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt;0.13.9: not found
Error during sbt execution: Error retrieving required libraries
  (see /root/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.13.9

Regards
Shreeharsha GN

Re: sbt error -- before Terasort compilation

Posted by Jacek Laskowski <ja...@japila.pl>.
On Thu, Aug 27, 2015 at 5:40 PM, Jacek Laskowski <ja...@japila.pl> wrote:

>>         Server access Error: java.lang.RuntimeException: Unexpected error:
>> java.security.InvalidAlgorithmParameterException: the trustAnchors parameter
>> must be non-empty
>> url=https://jcenter.bintray.com/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.pom

Hi,

>From sbt's gitter: http://stackoverflow.com/a/29313285/463761

Can you check it out and report back?

Pozdrawiam,
Jacek

--
Jacek Laskowski | http://blog.japila.pl | http://blog.jaceklaskowski.pl
Follow me at https://twitter.com/jaceklaskowski
Upvote at http://stackoverflow.com/users/1305344/jacek-laskowski

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


Re: sbt error -- before Terasort compilation

Posted by Jacek Laskowski <ja...@japila.pl>.
On Thu, Aug 27, 2015 at 2:59 PM, Shreeharsha G Neelakantachar
<sh...@in.ibm.com> wrote:

> root@:~# sbt package
> Getting org.scala-sbt sbt 0.13.9 ...
>
> :: problems summary ::
> :::: WARNINGS
>                 module not found: org.scala-sbt#sbt;0.13.9
...
> :::: ERRORS
>         Server access Error: java.lang.RuntimeException: Unexpected error:
> java.security.InvalidAlgorithmParameterException: the trustAnchors parameter
> must be non-empty
> url=https://jcenter.bintray.com/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.pom

Hi

It has nothing to do with Spark (and should rather be reported to the
sbt project - gitter is the best option for such cases). Could you
remove ~/.ivy2 and ~/.sbt and start over?

Pozdrawiam,
Jacek

--
Jacek Laskowski | http://blog.japila.pl | http://blog.jaceklaskowski.pl
Follow me at https://twitter.com/jaceklaskowski
Upvote at http://stackoverflow.com/users/1305344/jacek-laskowski

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