首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Spark错误:下载资源时出错: SSL连接错误

Spark错误:下载资源时出错: SSL连接错误
EN

Stack Overflow用户
提问于 2016-02-26 08:32:35
回答 1查看 292关注 0票数 0

我正尝试在Mesos中的Spark集群设置上运行作业。如果我将jar复制到服务器,然后使用spark URL,我可以运行一个作业,但是我不能让spark使用https:下载jar。每次我在stderr文件中得到下面的错误。

代码语言:javascript
复制
I0226 00:11:05.618361 22652 logging.cpp:172] INFO level logging started!
I0226 00:11:05.618552 22652 fetcher.cpp:409] Fetcher Info: ...
I0226 00:11:05.619721 22652 fetcher.cpp:364] Fetching URI 'https://jenkins.company.com/nexus/...
I0226 00:11:05.619738 22652 fetcher.cpp:238] Fetching directly into the sandbox directory
I0226 00:11:05.619751 22652 fetcher.cpp:176] Fetching URI 'https://jenkins.company.com/nexus/...
I0226 00:11:05.619762 22652 fetcher.cpp:126] Downloading resource from 'https://jenkins.company.com/nexus/...
Failed to fetch 'https://jenkins.company.com/nexus/... ': Error downloading resource: SSL connect error
Failed to synchronize with slave (it's probably exited)

我可以使用wget从指定的URL下载jar。我还验证了服务器上的JDK是否具有用于我试图从其下载jar的nexus服务器的正确证书。

我是Spark和Mesos的新手,任何帮助解决这个问题的人都会非常感激。

EN

回答 1

Stack Overflow用户

发布于 2016-02-26 16:13:07

您是否在应用程序启动时指定了带有--repository标志的私有Nexus存储库?

我个人从不将加密与Spark一起使用,但从文档中看,似乎有可能/有必要在Spark中配置它。我想仅仅是SDK是不够的。

看见

  • http://spark.apache.org/docs/latest/submitting-applications.html#advanced-dependency-management
  • http://spark.apache.org/docs/latest/configuration.html#encryption
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35641167

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档