【问题标题】:Spark Error: Error downloading resource: SSL connect errorSpark 错误:下载资源时出错:SSL 连接错误
【发布时间】:2016-02-26 16:13:07
【问题描述】:

我正在尝试在 Mesos 中的 Spark 集群设置上运行作业。如果我将 jar 复制到服务器然后使用file: URL,我可以运行作业,但我无法使用https: 下载 jar。每次我确实在 stderr 文件中收到以下错误。

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 的连接服务器的正确证书。

我是 Spark 和 Mesos 的新手,如果能提供解决此问题的任何帮助,我们将不胜感激。

【问题讨论】:

    标签: apache-spark nexus mesos


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 2015-08-15
      • 1970-01-01
      • 2011-03-18
      • 1970-01-01
      • 2022-01-27
      • 2016-06-30
      • 2012-11-18
      • 2019-11-01
      • 2016-05-07
      相关资源
      最近更新 更多