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

Uwe Schindler edited comment on SOLR-5022 at 7/10/13 3:25 PM:
--------------------------------------------------------------

bq. That's not true, you just don't understand. Running HDFS loads a lot of 
those classes. Using the client API's load a lot less of those classes. It's 
pretty simple...

Can we put the client classes into a smaller JAR? Is there none available in 
Maven? Then we would add the student-first-year MiniDFSCluster into a separate 
JAR and run it only with tests. This would not solve the permgen problem, but 
would make the Solr WAR smaller. It would also ensure, that no core class 
accidently starts hadoop (in extra slow mode, just joking).

Ideally, can we start a separate HDFS cluster (empty) in a parallel JVM next to 
all tests and use that one remotely (as it would be in reality - the cluster 
would also not run in the same JVM). Means, ant starts an empty HDFS cluster 
and all tests use it as data store?
                
      was (Author: thetaphi):
    bq. That's not true, you just don't understand. Running HDFS loads a lot of 
those classes. Using the client API's load a lot less of those classes. It's 
pretty simple...

Can we put the client classes into a smaller JAR? Is there none available in 
Maven? Then we would add the student-first-year MiniDFSCluster into a separate 
JAR and run it only with tests. This would not solve the permgen problem, but 
would make the Solr WAR smaller. It would also ensure, that no core class 
accidently starts hadoop (in extra slow mode, just joking).

Ideally, can we start a separate HDFS cluster (empty) in a parallel JVM next to 
all tests and use that one remotely (as it would be in treality). Means, ant 
starts an empty HDFS cluster and all tests use it as data store?
                  
> PermGen exhausted test failures on Jenkins.
> -------------------------------------------
>
>                 Key: SOLR-5022
>                 URL: https://issues.apache.org/jira/browse/SOLR-5022
>             Project: Solr
>          Issue Type: Test
>          Components: Tests
>            Reporter: Mark Miller
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 5.0, 4.4
>
>         Attachments: intern-count-win.txt, SOLR-5022.patch, 
> SOLR-5022-permgen.patch
>
>


--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to