Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Exception #32

Open
mighani opened this issue Mar 20, 2018 · 0 comments
Open

SSL Exception #32

mighani opened this issue Mar 20, 2018 · 0 comments

Comments

@mighani
Copy link

mighani commented Mar 20, 2018

tried to run spark interpreter command sc.version results in an exception:

:: problems summary ::
:::: WARNINGS
module not found: org.elasticsearch#elasticsearch-spark-20_2.11;5.0.0-alpha5

==== local-m2-cache: tried

  file:/root/.m2/repository/org/elasticsearch/elasticsearch-spark-20_2.11/5.0.0-alpha5/elasticsearch-spark-20_2.11-5.0.0-alpha5.pom

  -- artifact org.elasticsearch#elasticsearch-spark-20_2.11;5.0.0-alpha5!elasticsearch-spark-20_2.11.jar:

  file:/root/.m2/repository/org/elasticsearch/elasticsearch-spark-20_2.11/5.0.0-alpha5/elasticsearch-spark-20_2.11-5.0.0-alpha5.jar

==== local-ivy-cache: tried

  /root/.ivy2/local/org.elasticsearch/elasticsearch-spark-20_2.11/5.0.0-alpha5/ivys/ivy.xml

  -- artifact org.elasticsearch#elasticsearch-spark-20_2.11;5.0.0-alpha5!elasticsearch-spark-20_2.11.jar:

  /root/.ivy2/local/org.elasticsearch/elasticsearch-spark-20_2.11/5.0.0-alpha5/jars/elasticsearch-spark-20_2.11.jar

==== central: tried

  https://repo1.maven.org/maven2/org/elasticsearch/elasticsearch-spark-20_2.11/5.0.0-alpha5/elasticsearch-spark-20_2.11-5.0.0-alpha5.pom

  -- artifact org.elasticsearch#elasticsearch-spark-20_2.11;5.0.0-alpha5!elasticsearch-spark-20_2.11.jar:

  https://repo1.maven.org/maven2/org/elasticsearch/elasticsearch-spark-20_2.11/5.0.0-alpha5/elasticsearch-spark-20_2.11-5.0.0-alpha5.jar

==== spark-packages: tried

  http://dl.bintray.com/spark-packages/maven/org/elasticsearch/elasticsearch-spark-20_2.11/5.0.0-alpha5/elasticsearch-spark-20_2.11-5.0.0-alpha5.pom

  -- artifact org.elasticsearch#elasticsearch-spark-20_2.11;5.0.0-alpha5!elasticsearch-spark-20_2.11.jar:

  http://dl.bintray.com/spark-packages/maven/org/elasticsearch/elasticsearch-spark-20_2.11/5.0.0-alpha5/elasticsearch-spark-20_2.11-5.0.0-alpha5.jar

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

	::          UNRESOLVED DEPENDENCIES         ::

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

	:: org.elasticsearch#elasticsearch-spark-20_2.11;5.0.0-alpha5: not found

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

:::: ERRORS
Server access error at url https://repo1.maven.org/maven2/org/elasticsearch/elasticsearch-spark-20_2.11/5.0.0-alpha5/elasticsearch-spark-20_2.11-5.0.0-alpha5.pom (javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target)

Server access error at url https://repo1.maven.org/maven2/org/elasticsearch/elasticsearch-spark-20_2.11/5.0.0-alpha5/elasticsearch-spark-20_2.11-5.0.0-alpha5.jar (javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target)

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
Exception in thread "main" java.lang.RuntimeException: [unresolved dependency: org.elasticsearch#elasticsearch-spark-20_2.11;5.0.0-alpha5: not found]
at org.apache.spark.deploy.SparkSubmitUtils$.resolveMavenCoordinates(SparkSubmit.scala:1177)
at org.apache.spark.deploy.SparkSubmit$.prepareSubmitEnvironment(SparkSubmit.scala:298)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:153)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:119)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

at org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess.start(RemoteInterpreterManagedProcess.java:143)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.reference(RemoteInterpreterProcess.java:73)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:265)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:430)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.getFormType(LazyOpenInterpreter.java:111)
at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:387)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:329)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)

Inside the docker container i issued a curl command against the maven repo library with following result:
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html

Any ideas how to resolve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant