Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9954

Hadoop 2.0.5 doc build failure - OutOfMemoryError exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.5-alpha
    • Fix Version/s: 2.5.0
    • Component/s: build
    • Labels:
      None
    • Environment:

      CentOS 5, Sun JDK 1.6 (but not on CenOS6 + OpenJDK 7).

    • Target Version/s:
    • Tags:
      hadooop build maven findbugs plugin OutOfMemoryError

      Description

      When run hadoop build with command line options:

      mvn package -Pdist,native,docs -DskipTests -Dtar 
      

      Build failed adn OutOfMemoryError Exception is thrown:

      [INFO] --- maven-source-plugin:2.1.2:test-jar (default) @ hadoop-hdfs ---
      [INFO] 
      [INFO] --- findbugs-maven-plugin:2.3.2:findbugs (default) @ hadoop-hdfs ---
      [INFO] ****** FindBugsMojo execute *******
      [INFO] canGenerate is true
      [INFO] ****** FindBugsMojo executeFindbugs *******
      [INFO] Temp File is /var/lib/jenkins/workspace/Hadoop-Client-2.0.5-T-RPM/rpms/hadoop-devel.x86_64/BUILD/hadoop-common/hadoop-hdfs-project/hadoop-hdfs/target/findbugsTemp.xml
      [INFO] Fork Value is true
           [java] Out of memory
           [java] Total memory: 477M
           [java]  free memory: 68M
           [java] Analyzed: /var/lib/jenkins/workspace/Hadoop-Client-2.0.5-T-RPM/rpms/hadoop-devel.x86_64/BUILD/hadoop-common/hadoop-hdfs-project/hadoop-hdfs/target/classes
           [java]      Aux: /home/henkins-service/.m2/repository/org/codehaus/mojo/findbugs-maven-plugin/2.3.2/findbugs-maven-plugin-2.3.2.jar
           [java]      Aux: /home/henkins-service/.m2/repository/com/google/code/findbugs/bcel/1.3.9/bcel-1.3.9.jar
       ...
           [java]      Aux: /home/henkins-service/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar
           [java] Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
           [java] 	at java.util.HashMap.<init>(HashMap.java:226)
           [java] 	at edu.umd.cs.findbugs.ba.deref.UnconditionalValueDerefSet.<init>(UnconditionalValueDerefSet.java:68)
           [java] 	at edu.umd.cs.findbugs.ba.deref.UnconditionalValueDerefAnalysis.createFact(UnconditionalValueDerefAnalysis.java:650)
           [java] 	at edu.umd.cs.findbugs.ba.deref.UnconditionalValueDerefAnalysis.createFact(UnconditionalValueDerefAnalysis.java:82)
           [java] 	at edu.umd.cs.findbugs.ba.BasicAbstractDataflowAnalysis.getFactOnEdge(BasicAbstractDataflowAnalysis.java:119)
           [java] 	at edu.umd.cs.findbugs.ba.AbstractDataflow.getFactOnEdge(AbstractDataflow.java:54)
           [java] 	at edu.umd.cs.findbugs.ba.npe.NullDerefAndRedundantComparisonFinder.examineNullValues(NullDerefAndRedundantComparisonFinder.java:297)
           [java] 	at edu.umd.cs.findbugs.ba.npe.NullDerefAndRedundantComparisonFinder.execute(NullDerefAndRedundantComparisonFinder.java:150)
           [java] 	at edu.umd.cs.findbugs.detect.FindNullDeref.analyzeMethod(FindNullDeref.java:278)
           [java] 	at edu.umd.cs.findbugs.detect.FindNullDeref.visitClassContext(FindNullDeref.java:205)
           [java] 	at edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:68)
           [java] 	at edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:979)
           [java] 	at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:230)
           [java] 	at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:348)
           [java] 	at edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1057)
           [java] Java Result: 1
      [INFO] No bugs found
      
      

        Attachments

        1. HADOOP-9954.patch
          0.7 kB
          Paul Han

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                paulhan Paul Han
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: