我正尝试在Mesos中的Spark集群设置上运行作业。如果我将jar复制到服务器,然后使用spark URL,我可以运行一个作业,但是我不能让spark使用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的nexus服务器的正确证书。
我是Spark和Mesos的新手,任何帮助解决这个问题的人都会非常感激。
发布于 2016-02-26 16:13:07
您是否在应用程序启动时指定了带有--repository标志的私有Nexus存储库?
我个人从不将加密与Spark一起使用,但从文档中看,似乎有可能/有必要在Spark中配置它。我想仅仅是SDK是不够的。
看见
https://stackoverflow.com/questions/35641167
复制相似问题