Description
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
Attachments
Attachments
Issue Links
- blocks
-
FLUME-1282 Flume 1.x build fails on Maven 2
- Resolved