You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/07/15 00:02:05 UTC
[jira] [Commented] (SOLR-5865) Provide a MiniSolrCloudCluster to
enable easier testing
[ https://issues.apache.org/jira/browse/SOLR-5865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061324#comment-14061324 ]
ASF GitHub Bot commented on SOLR-5865:
--------------------------------------
GitHub user softwaredoug opened a pull request:
https://github.com/apache/camel/pull/218
Solr Component: Solr Cloud Support, HTTPS support, many many test updates to support.
New SolrCloud producer. Can be used with
solrCloud://localhost:8983?zkHost=localhost:8123/solr&collection=collection1
Solr producer can also be used with HTTPS via solrs:
solrs://localhost:8983
Most of the changes in this patch have to do with test updates to support these changes. The test updates run all the existing camel-solr tests against all three possible Solr endpoints: normal HTTP Solr server, an HTTPS Solr Server, and an embedded Solr Cloud cluster. The latter utilizes Solr 4.8's [MiniSolrCloudCluster](https://issues.apache.org/jira/browse/SOLR-5865) support to create an embedded Solr Cloud cluster for testing.
Additional updates have to do with reorganizing and updating the solr configurations to support Solr 4 and updates required for Solr Cloud support.
Let me know if you have any questions!
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/o19s/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/218.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #218
----
commit 54fb275c7fa8b3ff7ef308ece9081b0b780abc38
Author: Doug Turnbull <so...@gmail.com>
Date: 2014-04-26T18:08:35Z
Initial commit
commit 2d0cb27e525e9f9e0a11c9bbe2c23c0472187d62
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-04-26T18:24:36Z
Merge branch 'master' of https://github.com/o19s/camel
Conflicts:
.gitignore
commit 31ec7e5b1dab20bc38b32ae6c70cb36e0723e850
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-04-28T20:49:04Z
Add https server to tests
commit 2485a7f0510ef69b06e3abacd205926ce5d02bb8
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-04-29T01:41:28Z
Allow loose SSL client validation for testing
commit e7f4ada8e54bd97d27cfdf58d251e0b7760c7edb
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-04-29T02:19:04Z
Setup https solrj client correctly
commit 19999722e93f66d0f71efe8b88d76cd32f0f8f4c
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-04-29T17:44:29Z
Try to get solrcloud test fixtures
commit 1a0d6fa00beeb5366cec8f2a24bb2e0b5e2861be
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-05-02T16:04:59Z
Migrate to Solr 4.8. Fix test solr config to reflect updates.
commit b0c1a0ea6996c3cbd86e3a39fb18d9c1cadf430e
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-06-17T01:03:49Z
Get SolrCloudFixture working
commit eeb434e5062881ad1d48705b6e3098bd6bbbdbf2
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-06-17T02:06:09Z
Different data dir per solr runner
commit a41a8583fa20353a30d4a1ffebfcfe130e577a58
Author: Scott Stults <ss...@o19s.com>
Date: 2014-06-27T05:17:50Z
During the CSV file test the content type was assigned as "application/octet-stream". Solr needs this to be "text/csv" or similar.
commit 320a0232bdbed8495b03c61acd2859a4b3243c42
Author: Scott Stults <ss...@o19s.com>
Date: 2014-06-27T05:50:15Z
Removing unused dependency
commit 1ad4708f81d4d71c4724900cf077bd3c8a63661b
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-07-14T21:17:16Z
Cloud tests work (but they fail)
commit e01347c07a26a7a5728f7809529f092216e22a7a
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-07-14T21:25:11Z
Get zkHost correctly when constructing test endpoint (a test passes!)
commit 684d6051c48611418cc879114bbb87ae06220ada
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-07-14T21:52:01Z
Merge branch 'master' of github.com:o19s/camel
Conflicts:
parent/pom.xml
commit 08a1654469faa4a9eeca163072c4653f7d681278
Author: Doug Turnbull <dt...@o19s.com>
Date: 2014-07-14T21:58:55Z
Added solrCloud SPI, all tests pass.
----
> Provide a MiniSolrCloudCluster to enable easier testing
> -------------------------------------------------------
>
> Key: SOLR-5865
> URL: https://issues.apache.org/jira/browse/SOLR-5865
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Affects Versions: 4.7, 5.0
> Reporter: Gregory Chanan
> Assignee: Mark Miller
> Fix For: 4.8, 5.0
>
> Attachments: SOLR-5865.patch, SOLR-5865.patch, SOLR-5865addendum.patch, SOLR-5865addendum2.patch, SOLR-5865wait.patch
>
>
> Today, the SolrCloud tests are based on the LuceneTestCase class hierarchy, which has a couple of issues around support for downstream projects:
> - It's difficult to test SolrCloud support in a downstream project that may have its own test framework. For example, some projects have support for different storage backends (e.g. Solr/ElasticSearch/HBase) and want tests against each of the different backends. This is difficult to do cleanly, because the Solr tests require derivation from LuceneTestCase, while the other don't
> - The LuceneTestCase class hierarchy is really designed for internal solr tests (e.g. it randomizes a lot of parameters to get test coverage, but a downstream project probably doesn't care about that). It's also quite complicated and dense, much more so than a downstream project would want.
> Given these reasons, it would be nice to provide a simple "MiniSolrCloudCluster", similar to how HDFS provides a MiniHdfsCluster or HBase provides a MiniHBaseCluster.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org