flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ac@hsk.hk" ...@hsk.hk>
Subject Flume Compilation Error (1.5.0) for Hadoop 2.x and HBase 0.98
Date Mon, 21 Jul 2014 23:37:13 GMT
Hi,

I need to to compile Flume 1.5.0 for Hadoop 2.4.0 and HBase 0.98.3,  the compilation returns
warning and error, 

I am new to Flume, could anyone share the correct settings for pom.xml files or advise the
proper changes? 

1) pom.xml
2) flume-ng-sinks/flume-hdfs-sink/pom.xm 
3) flume-ng-sinks/flume-ng-hbase-sink/pom.xml
4) flume-ng-sinks/flume-ng-morphline-solr-sink/pom.xml 

Many thanks!!
Arthur



===============
mvn compile
[INFO] Scanning for projects...
Downloading: http://people.apache.org/~garyh/mvn/org/apache/apache/9/apache-9.pom
Downloading: http://repo1.maven.org/maven2/org/apache/apache/9/apache-9.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/apache/9/apache-9.pom (15 KB at 15.9
KB/sec)
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.flume.flume-ng-sinks:flume-ng-elasticsearch-sink:jar:1.5.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.httpcomponents:httpclient:jar
-> duplicate declaration of version (?) @ line 86, column 17
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability
of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed
projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:

…

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Flume ...................................... SUCCESS [1.023s]
[INFO] Flume NG SDK ...................................... SUCCESS [25.901s]
[INFO] Flume NG Configuration ............................ SUCCESS [0.688s]
[INFO] Flume NG Core ..................................... SUCCESS [13.735s]
[INFO] Flume NG Sinks .................................... SUCCESS [0.006s]
[INFO] Flume NG HDFS Sink ................................ SUCCESS [33.551s]
[INFO] Flume NG IRC Sink ................................. SUCCESS [1.325s]
[INFO] Flume NG Channels ................................. SUCCESS [0.005s]
[INFO] Flume NG JDBC channel ............................. SUCCESS [16.969s]
[INFO] Flume NG file-based channel ....................... SUCCESS [4.056s]
[INFO] Flume NG Spillable Memory channel ................. SUCCESS [0.375s]
[INFO] Flume NG Node ..................................... SUCCESS [2.525s]
[INFO] Flume NG Embedded Agent ........................... SUCCESS [0.407s]
[INFO] Flume NG HBase Sink ............................... SUCCESS [31.639s]
[INFO] Flume NG ElasticSearch Sink ....................... SUCCESS [1:16.452s]
[INFO] Flume NG Morphline Solr Sink ...................... FAILURE [28.769s]
[INFO] Flume Sources ..................................... SKIPPED
[INFO] Flume Scribe Source ............................... SKIPPED
[INFO] Flume JMS Source .................................. SKIPPED
[INFO] Flume Twitter Source .............................. SKIPPED
[INFO] Flume legacy Sources .............................. SKIPPED
[INFO] Flume legacy Avro source .......................... SKIPPED
[INFO] Flume legacy Thrift Source ........................ SKIPPED
[INFO] Flume NG Clients .................................. SKIPPED
[INFO] Flume NG Log4j Appender ........................... SKIPPED
[INFO] Flume NG Tools .................................... SKIPPED
[INFO] Flume NG distribution ............................. SKIPPED
[INFO] Flume NG Integration Tests ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:57.975s
[INFO] Finished at: Mon Jul 21 21:38:58 HKT 2014
[INFO] Final Memory: 83M/478M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project flume-ng-morphline-solr-sink: Could not resolve
dependencies for project org.apache.flume.flume-ng-sinks:flume-ng-morphline-solr-sink:jar:1.5.0:
Failure to find org.kitesdk:kite-morphlines-all:pom:0.12.0 in http://maven.oschina.net/content/groups/public/
was cached in the local repository, resolution will not be reattempted until the update interval
of nexus-osc has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :flume-ng-morphline-solr-sink




 
Mime
View raw message