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

Switch to Threaded View
Flume, mail # user - build flume trunk failed


Copy link to this message
-
Re: build flume trunk failed
周梦想 2013-02-19, 03:33
Yes,I'm using jdk 1.7, not recommended 1.6.
But should do something to make compatible of jdk1.7, shouldn't us?

:)
Andy

2013/2/19 Brock Noland <[EMAIL PROTECTED]>

> Set your mvn opts as described
> https://github.com/apache/flume/blob/trunk/README
>
>
> On Mon, Feb 18, 2013 at 9:11 PM, 周梦想 <[EMAIL PROTECTED]> wrote:
>
>> hi brock,I tried your advice, it appears the same error.
>> [zhouhh@Hadoop48 flume]$ mvn install -DskipTests
>> ...
>>
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 2:37.293s
>> [INFO] Finished at: Tue Feb 19 10:51:46 CST 2013
>> [INFO] Final Memory: 109M/1973M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
>> (default-testCompile) on project flume-hdfs-sink: Fatal error compiling:
>> Error while executing the compiler. InvocationTargetException: PermGen
>> space -> [Help 1]
>> [ERROR]
>>
>> Best Regards,
>> Andy
>>
>> 2013/2/19 Brock Noland <[EMAIL PROTECTED]>
>>
>>> 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]