[ 
https://issues.apache.org/jira/browse/FLUME-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400070#comment-13400070
 ] 

Ralph Goers edited comment on FLUME-1256 at 6/24/12 12:12 AM:
--------------------------------------------------------------

I am now more confused than ever. 

I have two MacBook Pro's. 

The first is my personal machine that I use for all my open source work. It has 
a 2.5 GHz Intel Core i7 with 8GB of memory and is running Mac OS X Lion 10.7.4. 
I have never gotten the build to work on this machine even with a MaxPermSize 
of 512M.  

My second machine is provided by my employer and has a 2.4 GHz Intel Core i7 
with 8GB of memory and is running Mac OS X Lion 10.7.3. The build succeeds on 
this machine with MaxPermSize of 512M. 

Both machines have Java 1.6.0_33 and Maven 3.0.3. So I have no idea why it 
succeeds on one and fails on the other. Obviously Mike has also gotten it to 
work on a similar machine.

Although we really shouldn't have to change the default Maven settings to run a 
build I'm OK with removing this as a blocker to a release since I should be 
able to run the build and verify the release on one of my machines. However, I 
don't think this issue should be closed until either the issue with the plugin 
is resolved or the build is changed to not be impacted by the bug in the plugin.

FWIW, I've opened https://github.com/tomdz/sphinx-maven/issues/7 since, as far 
as I can tell, the issue here is really with that plugin, not what the Flume 
build is attempting to do.
                
      was (Author: [email protected]):
    I am now more confused than ever. 

I have two MacBook Pro's. 

The first is my personal machine that I use for all my open source work. It has 
a 2.5 GHz Intel Core i7 with 8GB of memory and is running Mac OS X Lion 10.7.4. 
I have never gotten the build to work on this machine even with a MaxPermSize 
of 512M.  

My second machine is provided by my employer and has a 2.4 GHz Intel Core i7 
with 8GB of memory and is running Mac OS X Lion 10.7.3. The build succeeds on 
this machine with MaxPermSize of 512M. 

Both machines have Java 1.6.0_33 and Maven 3.0.3. So I have no idea why it 
succeeds on one and fails on the other. Obviously Mike has also gotten it to 
work on a similar machine.

FWIW, I've opened https://github.com/tomdz/sphinx-maven/issues/7 since, as far 
as I can tell, the issue here is really with that plugin, not what the Flume 
build is attempting to do.
                  
> OutofMemory erros in Flume build
> --------------------------------
>
>                 Key: FLUME-1256
>                 URL: https://issues.apache.org/jira/browse/FLUME-1256
>             Project: Flume
>          Issue Type: Bug
>          Components: Build
>            Reporter: Hari Shreedharan
>            Assignee: Arvind Prabhakar
>            Priority: Blocker
>             Fix For: v1.2.0
>
>         Attachments: build.txt
>
>
> The build fails on Apache Jenkins:
> https://builds.apache.org/job/flume-trunk/222/
> Also consistently failing on my machine:
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
> flume-ng-sdk ---
> [INFO] Compiling 5 source files to 
> /home/hshreedharan/flume/flume-ng-sdk/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] Failure executing javac, but could not parse the error:
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: PermGen space
>       at java.lang.ClassLoader.defineClass1(Native Method)
>       at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>       at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>       at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>       at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>       at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>       at 
> org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
>       at 
> com.sun.tools.javac.jvm.ClassReader.readCompoundAnnotation(ClassReader.java:1154)
>       at 
> com.sun.tools.javac.jvm.ClassReader.attachAnnotations(ClassReader.java:1096)
>       at 
> com.sun.tools.javac.jvm.ClassReader.readMemberAttr(ClassReader.java:867)
>       at 
> com.sun.tools.javac.jvm.ClassReader.readClassAttr(ClassReader.java:1053)
>       at 
> com.sun.tools.javac.jvm.ClassReader.readClassAttrs(ClassReader.java:1067)
>       at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:1560)
>       at 
> com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:1658)
>       at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1845)
>       at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1777)
>       at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
>       at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:763)
>       at com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1951)
>       at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:844)
>       at 
> com.sun.tools.javac.comp.Resolve.findIdentInPackage(Resolve.java:1013)
>       at com.sun.tools.javac.comp.Attr.selectSym(Attr.java:1921)
>       at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1835)
>       at 
> com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1522)
>       at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
>       at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390)
>       at 
> com.sun.tools.javac.comp.MemberEnter.attribImportType(MemberEnter.java:681)
>       at 
> com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:545)
>       at com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:495)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Flume ...................................... SUCCESS [2:32.941s]
> [INFO] Flume NG SDK ...................................... FAILURE [7.092s]
> [INFO] Flume NG Configuration ............................ SKIPPED
> [INFO] Flume NG Core ..................................... SKIPPED
> [INFO] Flume NG Sinks .................................... SKIPPED
> [INFO] Flume NG HDFS Sink ................................ SKIPPED
> [INFO] Flume NG IRC Sink ................................. SKIPPED
> [INFO] Flume NG HBase Sink ............................... SKIPPED
> [INFO] Flume NG Channels ................................. SKIPPED
> [INFO] Flume NG JDBC channel ............................. SKIPPED
> [INFO] Flume NG Node ..................................... SKIPPED
> [INFO] Flume NG file-based channel ....................... SKIPPED
> [INFO] Flume NG file backed Memory channel ............... 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 distribution ............................. SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 2:40.622s
> [INFO] Finished at: Tue Jun 05 01:39:32 PDT 2012
> [INFO] Final Memory: 76M/6098M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile 
> (default-testCompile) on project flume-ng-sdk: Compilation failure
> [ERROR] Failure executing javac, but could not parse the error:
> [ERROR] 
> [ERROR] 
> [ERROR] The system is out of resources.
> [ERROR] Consult the following stack trace for details.
> [ERROR] java.lang.OutOfMemoryError: PermGen space
> [ERROR] at java.lang.ClassLoader.defineClass1(Native Method)
> [ERROR] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> [ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> [ERROR] at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> [ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> [ERROR] at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
> [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> [ERROR] at 
> org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
> [ERROR] at 
> com.sun.tools.javac.jvm.ClassReader.readCompoundAnnotation(ClassReader.java:1154)
> [ERROR] at 
> com.sun.tools.javac.jvm.ClassReader.attachAnnotations(ClassReader.java:1096)
> [ERROR] at 
> com.sun.tools.javac.jvm.ClassReader.readMemberAttr(ClassReader.java:867)
> [ERROR] at 
> com.sun.tools.javac.jvm.ClassReader.readClassAttr(ClassReader.java:1053)
> [ERROR] at 
> com.sun.tools.javac.jvm.ClassReader.readClassAttrs(ClassReader.java:1067)
> [ERROR] at 
> com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:1560)
> [ERROR] at 
> com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:1658)
> [ERROR] at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1845)
> [ERROR] at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1777)
> [ERROR] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
> [ERROR] at 
> com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:763)
> [ERROR] at 
> com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1951)
> [ERROR] at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:844)
> [ERROR] at 
> com.sun.tools.javac.comp.Resolve.findIdentInPackage(Resolve.java:1013)
> [ERROR] at com.sun.tools.javac.comp.Attr.selectSym(Attr.java:1921)
> [ERROR] at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1835)
> [ERROR] at 
> com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1522)
> [ERROR] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
> [ERROR] at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390)
> [ERROR] at 
> com.sun.tools.javac.comp.MemberEnter.attribImportType(MemberEnter.java:681)
> [ERROR] at 
> com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:545)
> [ERROR] at com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:495)
> [ERROR] -> [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/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :flume-ng-sdk

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to