问题描述
- linux搭建spark源码环境,执行build/sdt gen-idea要twitter东西?
-
我linux不会翻墙啊。。。。[error] Server access Error: 连接超时 url=http://maven.twttr.com/org/mortbay/jetty/jetty-parent/10/jetty-parent-10.jar
[info] Resolving org.apache.hadoop#hadoop-project;2.2.0 ...
[error] Server access Error: 连接超时 url=http://maven.twttr.com/org/apache/hadoop/hadoop-mapreduce-client/2.2.0/hadoop-mapreduce-client-2.2.0.jar
[info] Resolving org.apache.hadoop#hadoop-project;2.2.0 ...
[error] Server access Error: 连接超时 url=http://maven.twttr.com/org/apache/hadoop/hadoop-yarn/2.2.0/hadoop-yarn-2.2.0.jar
[info] Resolving org.sonatype.forge#forge-parent;6 ...
[error] Server access Error: 连接超时 url=http://maven.twttr.com/org/sonatype/forge/forge-parent/6/forge-parent-6.jar
解决方案
IDEA阅读Spark源码
Spark源码阅读环境搭建(基于Intellij IDEA)
解决方案二:
有些包在twitter服务器上吧,这个没办法,你网络出不去,安装不了对应包。
解决方案三:
使用oschina提供的国内镜像。具体可参考官方指导:
http://maven.oschina.net/help.html