Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.3.0
    • Component/s: Build
    • Labels:
      None

      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

      1. build.txt
        180 kB
        Ralph Goers

        Issue Links

          Activity

          Hari Shreedharan created issue -
          Hari Shreedharan made changes -
          Field Original Value New Value
          Description The build fails on Apache Jenkins:
          https://builds.apache.org/job/flume-trunk/224/

          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
          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
          Hide
          Hari Shreedharan added a comment -

          Same error can be seen in https://builds.apache.org/job/flume-trunk/223/console

          Build 224 seems to fail due to something else?

          Show
          Hari Shreedharan added a comment - Same error can be seen in https://builds.apache.org/job/flume-trunk/223/console Build 224 seems to fail due to something else?
          Hide
          Mubarak Seyed added a comment -

          I tried with

          export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
          

          I could build using mvn install

          Show
          Mubarak Seyed added a comment - I tried with export MAVEN_OPTS= "-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m" I could build using mvn install
          Hide
          Mubarak Seyed added a comment -

          @Hari,
          I think Jenkins job should set with MAVEN_OPTS

          Show
          Mubarak Seyed added a comment - @Hari, I think Jenkins job should set with MAVEN_OPTS
          Hide
          Hari Shreedharan added a comment -

          Hi Mubarak,

          Yes, I am able to run it with higher memory requirements on my box. I don't have Jenkins admin access, hence this bug.

          Show
          Hari Shreedharan added a comment - Hi Mubarak, Yes, I am able to run it with higher memory requirements on my box. I don't have Jenkins admin access, hence this bug.
          Arvind Prabhakar made changes -
          Assignee Arvind Prabhakar [ aprabhakar ]
          Hide
          Arvind Prabhakar added a comment -

          I am looking into it.

          Show
          Arvind Prabhakar added a comment - I am looking into it.
          Hide
          Arvind Prabhakar added a comment -

          Increasing the PermSize to 128m fixes the build. Build #227 with this change is successful.

          Show
          Arvind Prabhakar added a comment - Increasing the PermSize to 128m fixes the build. Build #227 with this change is successful.
          Hide
          Arvind Prabhakar added a comment -

          Build fixed.

          Show
          Arvind Prabhakar added a comment - Build fixed.
          Arvind Prabhakar made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s notrack [ 12320245 ]
          Fix Version/s v1.2.0 [ 12320243 ]
          Resolution Fixed [ 1 ]
          Hide
          Ralph Goers added a comment -

          This issue is not fixed. I simply cannot get a build to succeed. Ever.

          Show
          Ralph Goers added a comment - This issue is not fixed. I simply cannot get a build to succeed. Ever.
          Ralph Goers made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          Ralph Goers added a comment - - edited

          The output of my checkout and build. See attachment build.txt

          Environment information

          rgoers@Ralphs-MacBook-Pro:~/projects/apache/flume/trunk$ java -version
          java version "1.6.0_31"
          Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635)
          Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)
          rgoers@Ralphs-MacBook-Pro:~/projects/apache/flume/trunk$ mvn -version
          Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
          Maven home: /usr/share/maven
          Java version: 1.6.0_31, vendor: Apple Inc.
          Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
          Default locale: en_US, platform encoding: MacRoman
          OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"

          Show
          Ralph Goers added a comment - - edited The output of my checkout and build. See attachment build.txt Environment information rgoers@Ralphs-MacBook-Pro:~/projects/apache/flume/trunk$ java -version java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635) Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode) rgoers@Ralphs-MacBook-Pro:~/projects/apache/flume/trunk$ mvn -version Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) Maven home: /usr/share/maven Java version: 1.6.0_31, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"
          Ralph Goers made changes -
          Attachment build.txt [ 12532044 ]
          Hide
          Rajesh Koilpillai added a comment -

          Ralph - Isn't this your local environment, maybe adding the following MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" to your mvn sh | batch script will resolve this issue.

          Show
          Rajesh Koilpillai added a comment - Ralph - Isn't this your local environment, maybe adding the following MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" to your mvn sh | batch script will resolve this issue.
          Hide
          Ralph Goers added a comment -

          I echoed my MAVEN_OPTS in the attached file, but for simplicity it is set to "-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"

          Show
          Ralph Goers added a comment - I echoed my MAVEN_OPTS in the attached file, but for simplicity it is set to "-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
          Hide
          Ralph Goers added a comment -

          Making the same change as noted in FLUME-1282 (i.e. - commenting out the sphinx-maven-plugin) not only was I able to successfully build with the MAVEN_OPTS above, I was also able to complete the build with the default MAVEN_OPTS. This indicates to me that there is something seriously wrong with that plugin.

          Show
          Ralph Goers added a comment - Making the same change as noted in FLUME-1282 (i.e. - commenting out the sphinx-maven-plugin) not only was I able to successfully build with the MAVEN_OPTS above, I was also able to complete the build with the default MAVEN_OPTS. This indicates to me that there is something seriously wrong with that plugin.
          Ralph Goers made changes -
          Link This issue blocks FLUME-1282 [ FLUME-1282 ]
          Hide
          Mike Percy added a comment -

          Tentatively marking as v1.2.0 blocker per discussion on flume-dev

          Show
          Mike Percy added a comment - Tentatively marking as v1.2.0 blocker per discussion on flume-dev
          Mike Percy made changes -
          Priority Critical [ 2 ] Blocker [ 1 ]
          Mike Percy made changes -
          Fix Version/s v1.2.0 [ 12320243 ]
          Fix Version/s notrack [ 12320245 ]
          Affects Version/s v1.2.0 [ 12320243 ]
          Hide
          Ralph Goers added a comment -

          FWIW - I have figured out that what causes the problem is that the sphinx-maven-plugin creates a bunch of stuff every time it is run. It is currently configured to run in every module which causes the problem. I am working on redoing the whole site build to fix this problem.

          Show
          Ralph Goers added a comment - FWIW - I have figured out that what causes the problem is that the sphinx-maven-plugin creates a bunch of stuff every time it is run. It is currently configured to run in every module which causes the problem. I am working on redoing the whole site build to fix this problem.
          Hide
          Mike Percy added a comment -

          It works fine for me with these settings:

          {mpercy@silverdoom}$ echo $MAVEN_OPTS
          -Xmx512M -XX:MaxPermSize=512M
          {mpercy@silverdoom}

          $ mvn --version
          Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
          Maven home: /usr/share/maven
          Java version: 1.6.0_31, vendor: Apple Inc.
          Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
          Default locale: en_US, platform encoding: MacRoman
          OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"

          Show
          Mike Percy added a comment - It works fine for me with these settings: {mpercy@silverdoom}$ echo $MAVEN_OPTS -Xmx512M -XX:MaxPermSize=512M {mpercy@silverdoom} $ mvn --version Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) Maven home: /usr/share/maven Java version: 1.6.0_31, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"
          Hide
          Ralph Goers added a comment -

          I'm not sure why it works for you but not me. In any case, please look at the flume-1262 branch. After looking at what Sphinx is doing I found what I believe is a better way to incorporate the guides into the site build. If you don't really like the multi-module builds that are being done there then we probably shouldn't be using Maven to build the site at all and just use the CMS.

          Show
          Ralph Goers added a comment - I'm not sure why it works for you but not me. In any case, please look at the flume-1262 branch. After looking at what Sphinx is doing I found what I believe is a better way to incorporate the guides into the site build. If you don't really like the multi-module builds that are being done there then we probably shouldn't be using Maven to build the site at all and just use the CMS.
          Hide
          Ralph Goers added a comment -

          I tried with the same settings as Mike and am still getting

          Exception in thread "MainThread" java.lang.OutOfMemoryError: PermGen space

          Since my last try my Mac was updated with a later version of Java.

          Show
          Ralph Goers added a comment - I tried with the same settings as Mike and am still getting Exception in thread "MainThread" java.lang.OutOfMemoryError: PermGen space Since my last try my Mac was updated with a later version of Java.
          Hide
          Kamal Bahadur added a comment -

          I tried on centos 6 and I can build with MAVEN_OPTS set to "-Xmx512M -XX:MaxPermSize=512M". Thanks.

          [kamal@localhost flume-ng]$ mvn --version
          Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800)
          Maven home: /usr/local/maven
          Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
          Java home: /usr/java/jdk1.6.0_31/jre
          Default locale: en_US, platform encoding: UTF-8
          OS name: "linux", version: "2.6.32-220.23.1.el6.x86_64", arch: "amd64", family: "unix"

          Show
          Kamal Bahadur added a comment - I tried on centos 6 and I can build with MAVEN_OPTS set to "-Xmx512M -XX:MaxPermSize=512M". Thanks. [kamal@localhost flume-ng] $ mvn --version Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800) Maven home: /usr/local/maven Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: /usr/java/jdk1.6.0_31/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "2.6.32-220.23.1.el6.x86_64", arch: "amd64", family: "unix"
          Hide
          Ralph Goers added a comment - - edited

          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.

          Show
          Ralph Goers added a comment - - edited 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.
          Mike Percy made changes -
          Fix Version/s v1.3.0 [ 12322140 ]
          Fix Version/s v1.2.0 [ 12320243 ]
          Hide
          Hari Shreedharan added a comment -

          Closing this out as the build is currently stable. Please feel free to reopen if needed.

          Show
          Hari Shreedharan added a comment - Closing this out as the build is currently stable. Please feel free to reopen if needed.
          Hari Shreedharan made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Arvind Prabhakar
              Reporter:
              Hari Shreedharan
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development