Commit Graph

2261 Commits

Author SHA1 Message Date
Erick Erickson 0e19da794b SOLR-5488: Added DOM parsing to the test cases rather than string manipulation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545080 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 21:33:45 +00:00
Mark Robert Miller c95f5900ac SOLR-4553: Bug in finding remote node when proxying update request in a cluster with more than one collection.
Also, attempt to proxy requests more aggressively.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545065 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 20:19:43 +00:00
Mark Robert Miller fc7a21deea SOLR-5488: fix ignore import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545054 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 19:25:43 +00:00
Mark Robert Miller 2e461b4258 SOLR-5488: ignore this test for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545053 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 19:23:44 +00:00
Mark Robert Miller aaafda0f6e SOLR-4713: This should not be an issue anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545035 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 18:54:52 +00:00
Mark Robert Miller e50b2b3da4 SOLR-4553: for some reason, a node can keep seeing slices inactive or something - we should attempt to proxy inactive slices anyway
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545027 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 18:45:17 +00:00
Mark Robert Miller 782b2e221c tests: harden test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545013 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 17:30:00 +00:00
Mark Robert Miller acee28acf4 tests: improve test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545010 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 17:14:50 +00:00
Mark Robert Miller 4ff856d994 SOLR-5488: fix set removal bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545009 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 17:12:05 +00:00
Mark Robert Miller 513c277e73 tests: clean up a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545005 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:53:00 +00:00
Mark Robert Miller 9a76dcdf9e boost default zk connect timeout from 15s to 30s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544999 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:35:12 +00:00
Mark Robert Miller 6c9d05e97d tests: tweak timeouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544994 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:23:32 +00:00
Mark Robert Miller 04fd728416 tests: fix for random map order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544984 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 15:00:48 +00:00
Mark Robert Miller 633ea330fe tests: fix for random map order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544980 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 14:48:50 +00:00
Noble Paul e61acfdb0d SOLR-5493
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544925 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 06:06:32 +00:00
Mark Robert Miller 1f2baa27f3 SOLR-5497: Try and explicit set so linger to 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544913 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 05:22:38 +00:00
Mark Robert Miller 739dae21da SOLR-5496: We should share an http connection manager across non search HttpClients and ensure all http connection managers get shutdown.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544899 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 01:59:56 +00:00
Mark Robert Miller aa253e949f SOLR-5494: CoreContainer#remove throws NPE rather than returning null when a SolrCore does not exist in core discovery mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544844 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 17:47:56 +00:00
Mark Robert Miller b892c597f7 SOLR-5437: DeleteReplicaTest fails constantly both locally and in jenkins
SOLR-5486: Cleanup and harden DeleteInactiveReplicaTest.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544838 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 17:14:22 +00:00
Robert Muir 2ef13e06f0 SOLR-5490: SimpleQParser uses multiterm analysis chain for prefixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544837 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 17:12:14 +00:00
Shalin Shekhar Mangar fd6268a9a8 SOLR-5378: Fix compile issues on Java6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544815 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 15:19:43 +00:00
Shalin Shekhar Mangar 7763793c55 SOLR-5378: A new SuggestComponent that fully utilizes the Lucene suggester module and adds pluggable dictionaries, payloads and better distributed support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544793 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 13:46:12 +00:00
Erick Erickson 482de5a9f0 SOLR-5491: Testing for extra properties should use startsWith rather than indexOf
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544518 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 13:00:20 +00:00
Erick Erickson 95b973d613 Added "human readable" output to the failing test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544504 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 12:08:01 +00:00
Shalin Shekhar Mangar 911ee1dcd3 SOLR-5308: Use source collection's configName to create temp collection. Fixed NPE routing rule wait loop. Wait for temp collection leader to be active before splitting the source index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544414 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 05:05:36 +00:00
Uwe Schindler 0971bc8f21 LUCENE-5347: Upgrade forbidden-apis checker to version 1.4. Fix Zookeeper bug with default encoding.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544370 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 23:27:19 +00:00
Mark Robert Miller 21afda7b22 SOLR-5436: Eliminate the 1500ms wait in overseer loop as well as polling the ZK distributed queue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544255 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 17:28:36 +00:00
Mark Robert Miller 8f08d90bb0 SOLR-4709: The core reload after replication if config files have changed can fail due to a race condition.
SOLR-5489: TestIndexAndConfigAliasReplication commonly fails because it tries to get a lock for a locked index.
SOLR-5343: TestReplicationHandler.doTestStressReplication fails ~ 33% of the time

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544220 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 15:40:07 +00:00
Erick Erickson 493ce1b65a Adding debug information to diagnose failure, this time so it shows.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544154 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 12:19:45 +00:00
Shalin Shekhar Mangar 20591fd6f7 SOLR-5487: Replication factor error message doesn't match constraint
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544050 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 07:25:23 +00:00
Shalin Shekhar Mangar f7d1b43c9e SOLR-5428: New 'stats.calcdistinct' parameter in StatsComponent returns set of distinct values and their count. This can also be specified per field e.g. 'f.field.stats.calcdistinct'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544043 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 06:27:11 +00:00
Mark Robert Miller 54508fbe7a SOLR-5437: cleanup DeleteReplicaTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544034 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 04:57:45 +00:00
Mark Robert Miller cd3f22f76b SOLR-5486: cleanup DeleteInactiveReplicaTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544033 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 04:56:22 +00:00
Mark Robert Miller 8def69cd7f SOLR-5369: clean up this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544006 13f79535-47bb-0310-9956-ffa450edef68
2013-11-21 02:24:43 +00:00
Mark Robert Miller 1c00bcd424 SOLR-5481: SolrCmdDistributor should not let the http client do it's own retries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543986 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 23:47:06 +00:00
Erick Erickson 4dc4d39cb9 SOLR-5208: Support for the setting of core.properties key/values at create-time on Collections API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543969 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 22:15:17 +00:00
Mark Robert Miller 51a45c9f4d SOLR-5479: Deal with null message in SolrLogLayout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543966 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 21:59:56 +00:00
Mark Robert Miller 4f1ed4ee86 tests: check for fails again - if there was a fail and we compare against control, it's going to fail later anyway
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543944 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 20:59:11 +00:00
Mark Robert Miller 83e28ca6dd SOLR-5479: SolrCmdDistributor retry logic stops if a leader for the request cannot be found in 1 second.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543940 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 20:44:43 +00:00
Erick Erickson 915977b6e8 Adding debug information to diagnose failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543796 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 12:09:24 +00:00
Erick Erickson fe2e612ebd SOLR-5459: Try loading a temporary core when saving a file in the admin UI config editing mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543660 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 00:15:13 +00:00
Erick Erickson 122171155f SOLR-5302 Analytics component. Checking in to trunk, we'll let it back then port to 4x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543651 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 23:45:31 +00:00
Shawn Heisey 6b67d485dc fix typo in jmx log message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543545 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 19:39:53 +00:00
Shalin Shekhar Mangar 94fe5db45c Reformatted code according to lucene/solr standards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543422 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 13:25:12 +00:00
Mark Robert Miller 8822632048 SOLR-5465: SolrCmdDistributor retry logic has a concurrency race bug.
SOLR-5464: ConcurrentSolrServer does not stream pure delete by id requests.
SOLR-5452: Do not attempt to proxy internal update requests.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543299 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 03:13:33 +00:00
Mark Robert Miller d6e1114002 tests: set request info on SyncStrategy for better logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543205 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 22:33:25 +00:00
Mark Robert Miller 2115c05de9 SOLR-5452: Back this out for a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543108 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 18:52:01 +00:00
Mark Robert Miller b10061bf11 SOLR-5452: Parse params correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543097 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 18:19:26 +00:00
Mark Robert Miller 74deac93f8 SOLR-5461: Request proxying should only set con.setDoOutput(true) if the
request is a post.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543088 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 17:18:37 +00:00
Mark Robert Miller d88ee060b5 SOLR-5460: SolrDispatchFilter#sendError can get a SolrCore that it does not close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543078 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 16:47:02 +00:00