Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Flume >> mail # user >> build flume trunk failed


+
周梦想 2013-02-18, 10:14
Copy link to this message
-
Re: build flume trunk failed
Hi,

Try doing a mvn install -DskipTests before executing your commands.
On Mon, Feb 18, 2013 at 4:14 AM, 周梦想 <[EMAIL PROTECTED]> wrote:

> hello,
> my env:
> [zhouhh@Hadoop48 flume]$ cat /etc/redhat-release
> CentOS release 5.9 (Final)
> [zhouhh@Hadoop48 flume]$ uname -a
> Linux Hadoop48 2.6.18-348.el5 #1 SMP Tue Jan 8 17:53:53 EST 2013 x86_64
> x86_64 x86_64 GNU/Linux
> [zhouhh@Hadoop48 flume]$ mvn -version
> Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800)
> Maven home: /home/zhouhh/yarn/maven
> Java version: 1.7.0, vendor: Oracle Corporation
> Java home: /usr/java/jdk1.7.0/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-348.el5", arch: "amd64", family: "unix"
>
> [zhouhh@Hadoop48 flume]$ mvn  package  -DskipTests
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 19.231s
> [INFO] Finished at: Mon Feb 18 16:32:47 CST 2013
> [INFO] Final Memory: 37M/494M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.1:site (flume-site) on project
> flume-parent: Execution flume-site of goal
> org.apache.maven.plugins:maven-site-plugin:3.1:site failed: A required
> class was missing while executing
> org.apache.maven.plugins:maven-site-plugin:3.1:site:
> org/apache/maven/reporting/MavenReport
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    plugin>org.apache.maven.plugins:maven-site-plugin:3.1
>
> I modified pom.xml,maven-site-plugin version from 3.1 to 3.0-beta-2
>  <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-site-plugin</artifactId>
>           <version>3.0-beta-2</version>
>
> then the missing MavenReport didn't appear.And there is another error :
>
> [zhouhh@Hadoop48 flume]$ mvn  package -rf :flume-hdfs-sink -DskipTests
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4.658s
> [INFO] Finished at: Mon Feb 18 18:03:17 CST 2013
> [INFO] Final Memory: 34M/345M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) on project flume-hdfs-sink: Compilation failure:
> Compilation failure:
> [ERROR]
> /home/zhouhh/flume/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestUseRawLocalFileSystem.java:[27,28]
> error: package org.apache.commons.io does not exist
> [ERROR]
> /home/zhouhh/flume/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[27,28]
> error: package org.apache.commons.io does not exist
> [ERROR]
> /home/zhouhh/flume/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestUseRawLocalFileSystem.java:[69,4]
> error: cannot find symbol
> [ERROR] class TestUseRawLocalFileSystem
> [ERROR]
> /home/zhouhh/flume/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSinkOnMiniCluster.java:[257,6]
> error: cannot find symbol
> [ERROR] -> [Help 1]
>
> some one give any advice?
>
> Thanks.
> Andy
>

--
Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/
+
周梦想 2013-02-19, 03:11
+
Brock Noland 2013-02-19, 03:26
+
周梦想 2013-02-19, 03:33