The template should work with 0.12.0 and Spark 2.1.1 as specified in builds.sbt (switch to master branch after cloning the template repo). you're running 2.3 for Spark and pio 12.1, i don't know if there is compatibility, but i don't think so.
Marco Il mar 5 giu 2018, 11:22 Sushmita Belur <[email protected]> ha scritto: > Hi! > > Im a new user of PredictionIO trying to deploy some classification > template. > > My prerequisites versions are > > Apache Spark - 2.3.0 > Scala - 2.11.8 > Java SE Development Kit 8 > > i am using Postgresql > > I have downloaded Classification template ,created app and collected data > as per documentation. > Now when i run the command "*pio build" *These are the errors i get when > running from MyClassification directory > > [root@abc PredictionIO-0.12.1]# cd MyClassification/ > [root@abc MyClassification]# pio build > [INFO] [Engine$] Using command '/home/pranav/PredictionIO-0.12.1/sbt/sbt' > at /home/pranav/PredictionIO-0.12.1/MyClassification to build. > [INFO] [Engine$] If the path above is incorrect, this process will fail. > [INFO] [Engine$] Uber JAR disabled. Making sure > lib/pio-assembly-0.12.1.jar is absent. > [INFO] [Engine$] Going to run: /home/pranav/PredictionIO-0.12.1/sbt/sbt > package assemblyPackageDependency in > /home/pranav/PredictionIO-0.12.1/MyClassification > [ERROR] [Engine$] [error] 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/com.eed3si9n/sbt-assembly/scala_2.10/sbt_0.13/0.14.5/ivys/ivy.xml > [ERROR] [Engine$] [error] Server access Error: java.lang.RuntimeException: > Unexpected error: java.security.InvalidAlgorithmParameterException: the > trustAnchors parameter must be non-empty url= > https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-assembly/scala_2.10/sbt_0.13/0.14.5/ivys/ivy.xml > [ERROR] [Engine$] [error] Server access Error: java.lang.RuntimeException: > Unexpected error: java.security.InvalidAlgorithmParameterException: the > trustAnchors parameter must be non-empty url= > https://repo1.maven.org/maven2/com/eed3si9n/sbt-assembly_2.10_0.13/0.14.5/sbt-assembly-0.14.5.pom > [ERROR] [Engine$] [error] (*:update) sbt.ResolveException: unresolved > dependency: com.eed3si9n#sbt-assembly;0.14.5: not found > [ERROR] [Engine$] Return code of build command: > /home/pranav/PredictionIO-0.12.1/sbt/sbt package assemblyPackageDependency > is 1. Aborting. > > > There's no solution available on the web. > Any suggestions would be a great help. > > Thank you. > >
