[
https://issues.apache.org/jira/browse/SOLR-5022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13704668#comment-13704668
]
Mark Miller commented on SOLR-5022:
-----------------------------------
bq. My second idea was to run the MiniDFSCluster (which also needs the Jetty
1.6, right?) as a separate Java Process started before the tests and shut down
after the tests.
Yeah, I have not responded yet because I think it's both interesting and scary.
I think it could work, but it does make some things more difficult. You could
no longer run tests in your IDE that work against hdfs easily right? Not
without starting up a separate hdfs and pointing the test to it.
And you end up with other issues to debug that are harder because you have more
moving pieces - and logging output is now split....
I'm not totally against it, but I think it has it's own issues.
bq. This would also emulate a more-real-world scenario, because in production
you would never ever run the storage cluster in the same JVM...
Yes, we have larger integration tests at cloudera that tests against a real
hdfs setup (outside of the unit tests). The mini cluster is what the hadoop
tests count on though, so it's a pretty solid way to test when it comes to
hadoop.
> 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]