Commit Graph

1164 Commits

Author SHA1 Message Date
Noble Paul 48feaed745 more logging for debug errors such as these SOLR-9143 2016-05-23 12:16:43 +05:30
Uwe Schindler ecf2a732fc LUCENE-7296: Update forbiddenapis to version 2.1 2016-05-23 00:18:42 +02:00
Alan Woodward f1e870c016 SOLR-9132: Move some tests to SolrCloudTestBase 2016-05-19 16:59:08 +01:00
Alan Woodward 8db3c73375 SOLR-9113: Fix re-registration race 2016-05-19 14:53:43 +01:00
jbernste cb38b14205 SOLR-9128: Fix error handling issues in Streaming classes 2016-05-18 22:53:02 -04:00
Alan Woodward 8de89081e6 SOLR-9113: Improve state watcher API 2016-05-17 10:45:34 +01:00
Alan Woodward b5c369a773 SOLR-8323: Handle removal of legacy collections 2016-05-14 19:10:03 +01:00
Alan Woodward 06ebd4fd7e SOLR-8323: DocCollection.isFullyActive needs to know how many replicas to expect 2016-05-14 13:01:05 +01:00
Alan Woodward dd23fa4015 SOLR-9106: Cache cluster properties on ZkStateReader 2016-05-14 10:14:45 +01:00
Alan Woodward 06d2f6368d SOLR-8323: Add CollectionStateWatcher API 2016-05-13 21:43:43 +01:00
jbernste 69cb606d78 Fix error message assert 2016-05-11 23:52:09 -04:00
Erick Erickson 03a06bb3aa SOLR-9083: Remove deprecated <types> and <fields> from schemas
(cherry picked from commit 5341918)
2016-05-10 07:06:51 -07:00
Erick Erickson 73b4defc07 SOLR-8467: CloudSolrStream and FacetStream should take a SolrParams object rather than a Map<String, String> to allow more complex Solr queries to be specified 2016-05-09 12:48:49 -07:00
Noble Paul 07b0dc86eb SOLR-9071: simplify hashcode() , equals() and implement toString() 2016-05-09 10:23:09 +05:30
Varun Thacker 8e999d1a96 SOLR-7117: AutoAddReplicas should have a cluster wide property for controlling number of cores hosted on each node 2016-05-09 00:09:36 +05:30
Noble Paul 2bc376c7f5 SOLR-9071: rename the getters in org.apache.solr.common.util.Pair class 2016-05-08 12:30:44 +05:30
Kevin Risden 4d15b9fa08 SOLR-8458: Add Streaming Expressions tests for parameter substitution 2016-05-06 09:38:40 -05:00
Kevin Risden 219ddbb998 SOLR-8184: Negative tests for JDBC Connection String 2016-05-06 08:58:13 -05:00
Christine Poerschke 49b3eee4c8 SOLR-9074: solrj CloudSolrClient.directUpdate tweak
Defer two NamedList allocations and initialCapacity one of them.
2016-05-06 10:36:51 +01:00
Dennis Gove d95a91a9cc SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the incoming streams, eg. fieldA=fieldB 2016-05-05 20:31:58 -04:00
Dennis Gove 06a675ce2c SOLR-8996: Greatly decreases the probability of a RandomStream test failure from 1 in 5! to 1 in 1000! 2016-05-05 19:54:24 -04:00
jbernste 928a3cf268 SOLR-8972: Add GraphHandler and GraphMLResponseWriter to support graph visualizations 2016-05-05 17:06:31 -04:00
Shalin Shekhar Mangar 7ce1c2cb74 SOLR-9014: Fix javadoc
(cherry picked from commit 6ade999)
2016-05-05 16:03:16 +05:30
Shalin Shekhar Mangar 7bfaa51079 SOLR-9014: Deprecate ClusterState.getCollections and introduce a new ClusterState.getCollectionsMap instead
(cherry picked from commit f5497a3)
2016-05-05 16:03:11 +05:30
Shalin Shekhar Mangar ee45e83439 SOLR-9030: Added a code comment as to why we use Integer.MAX_VALUE instead of -1
(cherry picked from commit 827573b1a7)
2016-05-05 16:02:27 +05:30
Shalin Shekhar Mangar 29f6997502 SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter
(cherry picked from commit c2662f2)
2016-05-05 15:57:57 +05:30
Dennis Gove f341002413 SOLR-9064: Adds an explanation of the incoming stream to an UpdateStream's explanation 2016-05-04 17:59:56 -04:00
Alan Woodward 7a8d4947a5 SOLR-9065: Migrate SolrJ tests to SolrCloudTestCase 2016-05-04 20:05:12 +01:00
Kevin Risden eb1da08d54 SOLR-9066: Make CountMetric return long instead of double 2016-05-04 11:08:18 -05:00
Shalin Shekhar Mangar 451feb0f8e SOLR-9014: Deprecate and reduce usage of ClusterState methods which may make calls to ZK via the lazy collection reference
(cherry picked from commit 922265b)
2016-05-04 20:45:02 +05:30
jbernste 0cb7d83193 SOLR-9059: NPE in SolrClientCache following collection reload
Conflicts:
	solr/core/src/test/org/apache/solr/handler/TestSQLHandler.java
2016-05-03 13:28:03 -04:00
Noble Paul 492dcfbdd0 added a couple of extra methods 2016-05-03 20:40:58 +05:30
markrmiller 95c5d92f10 SOLR-8933: Solr should not close container streams. 2016-05-03 10:23:37 -04:00
David Smiley dac044c94a SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE
(cherry picked from commit 70bcd56)
2016-05-02 22:46:06 -04:00
jbernste 86f371cbc6 SOLR-9027: GraphTermsQuery optimizations and more explicit handling of non-caching behavior 2016-05-02 08:43:47 -04:00
jbernste d1f32c0432 SOLR-8925: Integrate the GraphTermsQuery into the gatherNodes expression 2016-05-02 08:42:24 -04:00
Dennis Gove d969de41c1 SOLR-9009: Adds ability to get an Explanation of a Streaming Expression
Conflicts:
	solr/CHANGES.txt
2016-05-02 08:36:46 -04:00
jbernste 60a9e38668 SOLR-8996: Add Random Streaming Expression 2016-05-02 08:29:29 -04:00
jbernste d77574abba SOLR-8925: Add gatherNodes Streaming Expression to support breadth first traversals
Conflicts:
	solr/core/src/java/org/apache/solr/handler/StreamHandler.java
2016-05-02 08:29:08 -04:00
Chris Hostetter 8e8f6c1fa8 SOLR-9028: Fix 2 SSL test related bugs...
1) SolrTestCaseJ4 should always reset the HttpClientConfigurer in afterClass, regardless of wether ssl was used
   (when SSL is not used, the active configurer explicitly excludes SSL)
2) HttpClientUtilTest.testSSLSystemProperties made no sense as written.  setSSLSystemProperties() didn't have any
   effect on what was being tested, even if it was useful it would only have affected what keystore/truststore were
   used, not wether HTTPS was supported or not.
2016-04-30 22:22:09 -07:00
Noble Paul 6c459779c5 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 added back another test and fixed test errors 2016-04-28 15:40:06 +05:30
Shai Erera 95322605b8 SOLR-9016: Fix SolrIdentifierValidator to not accept empty identifiers 2016-04-26 20:59:00 -07:00
Noble Paul 8162ba4534 SOLR-9041: 'core-admin-read' and 'core-admin-edit' are well known permissions 2016-04-26 19:26:44 +05:30
Scott Blum 89857653ca SOLR-9029: fix rare ZkStateReader visibility race during collection state format update 2016-04-25 21:21:02 -04:00
Dennis Gove 78176e23bc SOLR-8599: Improved the tests for this issue to avoid changing a variable to non-final 2016-04-21 15:19:33 -07:00
Kevin Risden d914ec4a67 SOLR-9020: Implement StatementImpl/ResultSetImpl get/set fetch* methods and proper errors for traversal methods 2016-04-20 14:50:24 -05:00
Kevin Risden 6276fe5ec7 SOLR-8809: Implement Connection.prepareStatement 2016-04-20 10:03:54 -05:00
Scott Blum 7c356bad06 SOLR-8973: Zookeeper frenzy when a core is first created. 2016-04-19 20:57:42 -04:00
Noble Paul f82a27aa5c SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 19:04:44 +05:30
Dennis Gove 020f15f437 SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:46:48 -04:00
Timothy Potter af8a962417 SOLR-8908: Fixed OnReconnect listener management in ZkController to allow for de-registering listeners.
Here's what this commit includes:
* Added the removeOnReconnectListener method to ZkController to allow OnReconnect listener implementations to de-register; avoids a memory leak
* Updated ZkIndexSchemaReader to add a CloseHook to the SolrCore it supports to de-register as an OnReconnect listener
* Added unit test to verify that after reloading and deleting a SolrCore in managed schema mode, the associated ZkIndexSchemaReader gets de-registered correctly
2016-04-14 10:25:14 -07:00
Anshum Gupta 5baf311c38 SOLR-8976: Add SolrJ support for REBALANCELEADERS Collections API 2016-04-13 15:58:04 -07:00
markrmiller bf984af6f0 SOLR-7729: ConcurrentUpdateSolrClient ignores the collection parameter in some methods. 2016-04-13 16:12:18 -04:00
markrmiller fe85885868 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:56:49 -04:00
Anshum Gupta f479f16d3a SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-08 13:14:27 -07:00
Christine Poerschke 835dc33102 SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 15:12:18 +01:00
Noble Paul d67ec54932 SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 23:20:55 +05:30
jbernste ffdfceba53 SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:35:49 -04:00
jbernste 74b5a7a972 SOLR-8924: RollupStream breaks with null values in the group by buckets 2016-03-31 12:05:18 -04:00
David Smiley 44e0ac3856 SOLR-8903: Move SolrJ DateUtil to contrib/extraction as ExtractionDateUtil.
And removed obsolete methods.
(cherry picked from commit 5e5fd66)
2016-03-30 15:07:52 -04:00
David Smiley 72f5eac2c5 SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
(cherry picked from commit 94c0423) (cherry picked from commit 39932f5)
2016-03-30 14:37:55 -04:00
Chris Hostetter 5b6eacb80b SOLR-445: new ToleranteUpdateProcessorFactory to support skipping update commands that cause failures when sending multiple updates in a single request.
SOLR-8890: New static method in DistributedUpdateProcessorFactory to allow UpdateProcessorFactories to indicate request params that should be forwarded when DUP distributes updates.

This commit is a squashed merge from the jira/SOLR-445 branch (as of b08c284b26b1779d03693a45e219db89839461d0)
2016-03-25 13:13:50 -07:00
Kevin Risden 2b13210c3d SOLR-8810: Implement Connection.setReadOnly, Statement.set/getFetchSize, ResultSet.getType 2016-03-23 17:33:12 -05:00
Kevin Risden 39270d9df8 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:50:22 -05:00
jbernste c7b7f1d027 SOLR-8882: Wait for checkpoint in DaemonStream, TopicStream testcase 2016-03-21 23:41:12 -04:00
jbernste faa077224c SOLR-8878: Remove debugging 2016-03-21 12:42:59 -04:00
jbernste 5c074dac28 SOLR-8878: Allow the DaemonStream run rate be controlled by the internal stream 2016-03-21 12:42:59 -04:00
David Smiley 4ee908eb80 SOLR-8866: UpdateLog now throws an error if it can't serialize a field value
(cherry picked from commit a22099a)
2016-03-17 13:23:38 -04:00
Shalin Shekhar Mangar f5a4b0419c SOLR-8860: Remove back-compat handling of router format made in SOLR-4221 in 4.5.0
(cherry picked from commit ae846bf)
2016-03-17 09:54:36 +05:30
jbernste 26f230a474 SOLR-8832: Faulty DaemonStream shutdown procedures 2016-03-11 15:42:51 -05:00
anshum bc41158648 SOLR-8765: Fix CollectionAdminRequest.SplitShard to accept requests without the 'shard' parameter 2016-03-10 17:06:35 -08:00
Shalin Shekhar Mangar 02b0dd52ec Fix javadocs for ClusterState.getCollectionOrNull
(cherry picked from commit 66cd070)
2016-03-10 18:20:02 +05:30
Alan Woodward 8b408be7a2 SOLR-8765: Throw SolrException rather than IAE on name validation 2016-03-09 21:16:30 +00:00
Alan Woodward 6b2f363896 SOLR-8765: Set parameters correctly in async shard requests 2016-03-09 17:39:35 +00:00
Alan Woodward c1277cda11 SOLR-8765: Enforce required parameters in SolrJ Collections API 2016-03-09 12:51:53 +00:00
jbernste 15bf038f29 SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC 2016-03-08 15:46:00 -05:00
Alan Woodward 761618727d SOLR-8782: Improve async collections API 2016-03-08 10:55:40 +00:00
Noble Paul c187c46437 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-03-07 22:49:51 +05:30
Noble Paul 5146e78a64 SOLR-8736: schema GET operations on fields, dynamicFields, fieldTypes, copyField are
reimplemented as a part of the bulk API with less details. The tests and write implementations are removed
2016-03-07 22:49:19 +05:30
Shalin Shekhar Mangar dd04b61739 SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow forceUpdateCollection(collection)
(cherry picked from commit 093a8ce)
2016-03-07 18:38:09 +05:30
Varun Thacker 1cbf22569a SOLR-8779: Fix missing InterruptedException handling in ZkStateReader 2016-03-04 20:14:17 +05:30
Noble Paul 8d835f1231 SOLR-8750 : Use lambdas in code where SAM type interfaces are used 2016-03-04 18:55:29 +05:30
anshum 638b145376 SOLR-8423: DeleteShard and DeleteReplica should cleanup instance and data directory by default and add support for optionally retaining the directories 2016-03-03 13:26:00 -08:00
anshum 73d2d1125f SOLR-8725: Fix precommit check 2016-03-03 13:22:42 -08:00
anshum 7e59ba4220 SOLR-8725: Allow hyphen in shard, collection, core, and alias names but not the first char 2016-03-03 13:22:15 -08:00
Steve Rowe d0d75c448e SOLR-7010: Remove facet.date client functionality 2016-03-03 14:40:13 -05:00
Shalin Shekhar Mangar d346af3994 * SOLR-7516: Improve javadocs for JavaBinCodec, ObjectResolver and enforce the single-usage policy
This closes #17
(cherry picked from commit d87d8da)
2016-03-03 18:11:40 +05:30
Steve Rowe 8bbb1dcace SOLR-8764: Remove deprecated methods and classes 2016-03-02 09:26:26 -05:00
Dennis Gove 2c0a5e3036 SOLR-8599: After a failed connection during construction of SolrZkClient attempt to retry until a connection can be made 2016-02-22 19:25:16 -05:00
jbernste 2b3529c3b8 SOLR-8708: DaemonStream should catch InterruptedException when reading underlying stream. 2016-02-20 22:35:10 -05:00
jbernste b2475bf9fd SOLR-8588: Add TopicStream to the streaming API to support publish/subscribe messaging 2016-02-19 20:03:43 -05:00
markrmiller 3124a4debd SOLR-8693: Improve ZkStateReader logging. 2016-02-19 19:09:58 -05:00
markrmiller e30d638c51 SOLR-8695: Ensure ZK watchers are not triggering our watch logic on connection events and make this handling more consistent. 2016-02-19 14:36:53 -05:00
markrmiller c4d31798cc SOLR-8701: CloudSolrClient decides that there are no healthy nodes to handle a request too early. 2016-02-19 08:51:19 -05:00
anshum eb0e270043 SOLR-8677: Fix assert statement 2016-02-18 18:43:56 -08:00
anshum c7c5b8fe49 SOLR-8677: Fix broken build 2016-02-18 18:06:12 -08:00
anshum a54e819a62 SOLR-8677: Fix broken build 2016-02-18 16:03:58 -08:00
anshum d01230d639 SOLR-8677: Restrict creation of shards with invalid names 2016-02-18 15:18:44 -08:00
Noble Paul 8bcac81a21 SOLR-8692 moved the embedded json out to resources dir 2016-02-18 14:59:09 -08:00
Christine Poerschke 677779086c SOLR-5730: Make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector configurable in Solr. 2016-02-12 20:16:02 +00:00