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

stack commented on HBASE-8855:
------------------------------

The attached v2 patch makes these tests pass locally where they used fail.  
Reading more, it is probably just safer allowing bigger permgen only rather 
than enabling unloading and sweep.  So, now I am back at Ted's original 
workaround patch (bigger permgen).

Working theory is that these big tests w/ mapreduce, etc., all on new hadoop2 
are causing us blow past default permgen size.  ec2 builds, the jvm args were 
passed to mvn on command line.  Apache build sets MAVEN_OPTS = -3g.   Perhaps 
the latter makes it so children inherit the 3g too.

Let me play around some more.
                
> TestTableInputFormatScan1/2 fail semi-silently with the hadoop 2 profile
> ------------------------------------------------------------------------
>
>                 Key: HBASE-8855
>                 URL: https://issues.apache.org/jira/browse/HBASE-8855
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.8, 0.95.1
>            Reporter: Jean-Daniel Cryans
>         Attachments: 8855.patch, 8855v2.txt
>
>
> It looks like TestTableInputFormatScan1 and TestTableInputFormatScan2 never 
> complete and surefire doesn't complain about it. Sure, you may see this:
> {noformat}
> Tests run: 6, Failures: 5, Errors: 1, Skipped: 0, Time elapsed: 269.036 sec 
> <<< FAILURE!
> org.apache.maven.surefire.util.SurefireReflectionException: ...
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Caused by: java.lang.OutOfMemoryError: PermGen space
> org.apache.maven.surefire.booter.SurefireBooterForkException: Error occurred 
> in starting fork, check output in log
> ...
>   
> testScanEmptyToBBA(org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1)
>   
> testScanEmptyToBBB(org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1)
>   
> testScanEmptyToOPP(org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1)
>   
> testScanEmptyToEmpty(org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1)
> {noformat}
> But then:
> {noformat}
> [INFO] HBase - Server .................................... SUCCESS 
> [10:59.929s]
> {noformat}
> This is on my machine. On our local jenkins it's leaking and the processes 
> never die. And this is only with Hadoop 2. It also looks like other tests are 
> failing with PermGen space.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to