[ https://issues.apache.org/jira/browse/HBASE-4747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-4747: -------------------------- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) > Upgrade maven surefire plugin to 2.10 > ------------------------------------- > > Key: HBASE-4747 > URL: https://issues.apache.org/jira/browse/HBASE-4747 > Project: HBase > Issue Type: Task > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: 4747.txt > > > Quite often, we see the following when running unit tests: > {code} > Running org.apache.hadoop.hbase.master.TestMasterFailover > Exception in thread "ThreadedStreamConsumer" java.lang.OutOfMemoryError: Java > heap space > at java.util.Arrays.copyOf(Arrays.java:2882) > at > java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390) > at java.lang.StringBuffer.append(StringBuffer.java:224) > at > org.apache.maven.surefire.report.TestSetRunListener.getAsString(TestSetRunListener.java:201) > at > org.apache.maven.surefire.report.TestSetRunListener.testError(TestSetRunListener.java:139) > at > org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:112) > at > org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67) > at java.lang.Thread.run(Thread.java:680) > {code} > This was due to https://jira.codehaus.org/browse/SUREFIRE-754 which has been > fixed in surefire 2.10 > We should upgrade to version 2.10 -- 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