由于连接超时错误,Apache flume构建失败

时间:2014-10-05 16:04:21

标签: apache maven

我已经在here指南的帮助下在Windows上安装了Apache Flume 1.5.1。然后我在建立水槽源的阶段面临一个问题。发布以下详情

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default) on project flume-ng-morphline-solr-sink: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
[ERROR] ----------
[ERROR] 1) org.apache.hadoop:hadoop-common:jar:1.0.1
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR] Path to dependency:
[ERROR] 1) org.apache.flume.flume-ng-sinks:flume-ng-morphline-solr-sink:jar:1.5.0-SNAPSHOT
[ERROR] 2) com.cloudera.cdk:cdk-morphlines-all:pom:0.6.0
[ERROR] 3) com.cloudera.cdk:cdk-morphlines-solr-core:jar:0.6.0
[ERROR] 4) org.apache.solr:solr-core:jar:4.4.0
[ERROR] 5) org.apache.hadoop:hadoop-common:jar:1.0.1

并通过命令mvn -Dhadoop.profile=2 clean test -DskipTests来源https://issues.apache.org/jira/browse/FLUME-2184

解决此问题

之后我也没有成功。获得以下连接超时错误

[ERROR] Failed to execute goal on project flume-ng-morphline-solr-sink: Could no
t resolve dependencies for project org.apache.flume.flume-ng-sinks:flume-ng-morp
hline-solr-sink:jar:1.6.0-SNAPSHOT: Could not transfer artifact ua_parser:ua-par
ser:jar:1.3.0 from/to maven-twttr (maven.twttr.com): Connect to maven.twt
tr.com:80 [maven.twttr.com/199.59.148.212] failed: Connection timed out: connect

我已按照以下链接解决此问题,但根本没有成功。

blog.csdn.net/yydcj/article/details/38824823

www.iteblog.com/archives/1043

请帮帮我。

1 个答案:

答案 0 :(得分:0)

由于网络问题导致此问题出现在我的组织中,sonicwall已阻止此连接,因此我遇到了此问题。