Noble Paul
bd64ed6d2a
SOLR-13437: fork noggit code into Solr ( #666 )
...
* SOLR-13437: fork noggit code into Solr
2019-05-16 11:10:27 +10:00
Andrzej Bialecki
6f309dfa66
SOLR-13454: Fix the method's behavior which caused test failures due to collections disappearing during iteration.
2019-05-14 14:09:24 +02:00
Andrzej Bialecki
f2c18bacf2
SOLR-13440: Support saving/restoring autoscaling state for repeatable simulations.
2019-05-13 18:44:26 +02:00
Joel Bernstein
6069ef6ca6
SOLR-13047: Fix Pre-commit
2019-05-10 16:12:35 -04:00
Joel Bernstein
f9cd8b0957
SOLR-13047: Add facet2D Streaming Expression
...
Co-authored-by: Joel Bernstein <jbernste@apache.org>
Co-authored-by: Nazerke Seidan <seinaz1997@gmail.com>
2019-05-10 15:02:18 -04:00
Cao Manh Dat
6b5b74bc9c
SOLR-13445: Preferred replicas on nodes with same system properties as the query master
2019-05-08 17:55:49 +01:00
Gus Heck
76b854cb4f
SOLR-13306 Add a request parameter to execute a streaming expression locally
2019-05-08 12:13:07 -04:00
Cao Manh Dat
de5f3d76ed
SOLR-13449: SolrClientNodeStateProvider always retries on requesting metrics from other nodes
2019-05-07 09:40:45 +01:00
noble
733b071564
SOLR-13320 : add an update param failOnVersionConflicts=false to updates not fail when there is a version conflict
2019-05-07 15:20:02 +10:00
Jason Gerlowski
4309c6eca4
SOLR-13318: Fix casting issues in BucketBasedJsonFacet
2019-05-05 23:38:05 -04:00
noble
8908205b42
SOLR-13441: Refactor code to minimize direct use of noggit
2019-05-03 07:20:05 +10:00
Andrzej Bialecki
6eccf2bf53
SOLR-13427: Support simulating the execution of autoscaling suggestions.
2019-04-29 23:14:38 +02:00
Noble Paul
25bd1cbb82
SOLR-13429: HashBasedRouter logs the entire state.json when a slice is not found
2019-04-30 06:07:51 +10:00
Andrzej Bialecki
ced0243a3e
SOLR-13407: Fix NPE and be consistent about returning empty instead of null properties.
2019-04-29 12:19:29 +02:00
Mikhail Khludnev
6d94631538
SOLR-13081: Let in-place update work with route.field
2019-04-25 14:05:42 +03:00
Erick Erickson
48dc020dda
SOLR-13268: Clean up any test failures resulting from defaulting to async logging
2019-04-24 09:23:11 -07:00
Gus Heck
80d3ac8709
SOLR-13418 - safer synchronization and zk version checking for collection properties
2019-04-23 12:29:08 -04:00
Cao Manh Dat
bc8985d031
SOLR-13276: Improving CloudHttp2SolrClientTest
2019-04-23 10:07:20 +01:00
Andrzej Bialecki
f46ba5227e
SOLR-13407: Reject update requests sent to non-routed multi collection aliases.
2019-04-18 14:53:06 +02:00
erick
a9771a5849
SOLR-13408: Cannot start/stop DaemonStream repeatedly, other API improvements
2019-04-17 16:02:06 -07:00
Uwe Schindler
faaee86efb
LUCENE-8738: Move to Java 11 as minimum Java version (merged branch: jira/LUCENE-8738)
...
Co-authored-by: Adrien Grand <jpountz@apache.org>
2019-04-16 14:00:09 +02:00
Chris Hostetter
d90034f0d6
SOLR-13336: add maxBooleanClauses (default to 1024) setting to solr.xml, reverting previous effective value of Integer.MAX_VALUE-1, to restrict risk of pathalogical query expansion.
2019-04-15 10:27:08 -07:00
Christine Poerschke
fe1a109476
SOLR-13366: Clarify 'Invalid stage name' warning logging in AutoScalingConfig
2019-04-12 16:01:55 +01:00
Joel Bernstein
58001bfc87
SOLR-13391: Add variance and standard deviation stream evaluators
...
Squashed commit of the following:
commit 406d4b959a42e4830ac1c52836ccbcfc1b614b46
Author: Nazerke <seinaz1997@gmail.com>
Date: Fri Apr 12 14:03:34 2019 +0200
added missing package
commit 32c239687c39c5da3e4f2d0f25df73127331fa99
Author: Nazerke <seinaz1997@gmail.com>
Date: Fri Apr 12 14:03:14 2019 +0200
added package
commit 7b3f9bd415002969a4ec5d87a9ffbfd6fcff6e92
Author: Nazerke <seinaz1997@gmail.com>
Date: Fri Apr 12 14:02:28 2019 +0200
added var and stddev functions
commit 77c4f9fdd9f111862a55b645aad960457291414c
Author: Nazerke <seinaz1997@gmail.com>
Date: Fri Apr 12 14:00:59 2019 +0200
added test for the variance and standard deviation stream evaluators
commit 2d9692c178590b65e46cfd9e04ca0384c7d39ec5
Author: naz <nazerke.seidan@cloudera.com>
Date: Wed Apr 10 19:50:30 2019 +0200
added var and stddev new evaluators
commit d265225747bce9a0eabd713994ddd4990dbbbfa2
Author: naz <nazerke.seidan@cloudera.com>
Date: Wed Apr 10 19:49:23 2019 +0200
variance streaming evaluator
commit a3330064bb62b5723b9125334ef1d61fc3b098d3
Author: naz <nazerke.seidan@cloudera.com>
Date: Wed Apr 10 19:49:02 2019 +0200
standard deviation streaming evaluator
2019-04-12 09:37:50 -04:00
Chris Hostetter
980fd7d5c5
SOLR-13393: Fixed ZkClientClusterStateProvider to prevent risk of leaking ZkStateReader/threads when processing concurrent requests during shutdown.
...
This primarily affected tests, but may have also caused odd errors/delays when restart/shutting down solr nodes.
2019-04-11 14:22:50 -07:00
Andrzej Bialecki
02c4503f8c
SOLR-13262: Add collection RENAME command and support using aliases in most collection admin commands.
2019-04-10 18:56:39 +02:00
Joel Bernstein
46131e9cda
SOLR-13374: Add fetchSize parameter to the jdbc Streaming Expression
2019-04-05 08:52:52 -04:00
Gus Heck
2d690885e5
SOLR-13322 - let forbidden apis check for sysout in solr core
2019-04-02 22:45:33 -04:00
Jason Gerlowski
2480b74887
SOLR-13362: Add 'includeIndexFieldFlags' in LukeRequest
2019-04-01 20:40:18 -04:00
Kevin Risden
6222abf448
SOLR-9079: Remove commons-lang as a dependency
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-20 19:37:19 -04:00
Andrzej Bialecki
6f2b7bf5c0
SOLR-11127: REINDEXCOLLECTION command for re-indexing of existing collections.
2019-03-19 13:42:59 +01:00
Chris Hostetter
76babf876a
SOLR-12923: Fix some issues w/concurrency and exception swallowing in SimClusterStateProvider/SimCloudManager
...
There are 3 tightly related bug fixes in these changes:
1) ConcurrentModificationExceptions were being thrown by some SimClusterStateProvider methods when
creating collections/replicas due to the use of ArrayLists nodeReplicaMap. These ArrayLists were changed
to use synchronizedList wrappers.
2) The Exceptions from #1 were being swallowed/hidden by code using SimCloudManager.submit() w/o checking
the result of the resulting Future object. (As a result, tests waiting for a particular ClusterShape
would timeout regardless of how long they waited.) To protect against "silent" failures like this,
this SimCloudManager.submit() has been updated to wrap all input Callables such that any uncaught errors
will be logged and "counted." SimSolrCloudTestCase will ensure a suite level failure if any such failures
are counted.
3) The changes in #2 exposed additional concurrency problems with the Callables involved in leader election:
These would frequently throw IllegalStateExceptions due to assumptions about the state/existence of
replicas when the Callables were created vs when they were later run -- notably a Callable may have been
created that held a reference to a Slice, but by the time that Callable was run the collection (or a
node, etc...) refered to by that Slice may have been deleted. While fixing this, the leader election
logic was also cleaned up such that adding a replica only triggers leader election for that shard, not
every shard in the collection.
While auditing this code, cleanup was also done to ensure all usage of SimClusterStateProvider.lock was
also cleaned up to remove all risky points where an exception may have been possible after aquiring the
lock but before the try/finally that ensured it would be unlocked.
2019-03-14 22:27:48 -07:00
Gus Heck
d8f2a02fdb
SOLR-13131 Category Routed Aliases
2019-03-13 01:32:23 -04:00
Gus Heck
cf88f54a29
Remove inadvertently included println
2019-03-12 16:09:04 -04:00
Gus Heck
9edc557f45
SOLR-12891 MacroExpander will no longer will expand URL parameters by
...
default inside of the 'expr' parameter, add InjectionDefense class
for safer handling of untrusted data in streaming expressions and add
-DStreamingExpressionMacros system property to revert to legacy behavior
2019-03-12 10:46:30 -04:00
erick
9272c29539
SOLR-13268: Clean up any test failures resulting from defaulting to async logging
2019-03-10 11:05:00 -07:00
Andrzej Bialecki
27df824a4b
SOLR-13292: Provide extended per-segment status of a collection.
2019-03-09 14:08:01 +01:00
Christine Poerschke
683aa3d3e9
SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke)
2019-03-07 20:17:31 +00:00
Joel Bernstein
38005350d1
SOLR-13287: Remove System.out debugging
2019-03-06 13:56:02 -05:00
Andrzej Bialecki
0bc26d07ad
SOLR-13271: Read-only mode for SolrCloud collections.
2019-03-05 17:16:25 +01:00
Joel Bernstein
c34c56b7b2
SOLR-13287: Allow zplot to visualize probability distributions in Apache Zeppelin
2019-03-05 09:19:14 -05:00
Noble Paul
7771d7bb84
SOLR-13285: Updates with enum fields and javabin cause ClassCastException
2019-03-05 06:11:50 +11:00
Cao Manh Dat
e99934b240
SOLR-13276: Adding Http2 equivalent classes of CloudSolrClient and HttpClusterStateProvider
2019-03-04 09:41:45 +00:00
Noble Paul
3ae52e1fe6
SOLR-13282: JDBCStreamTest should use assertEquals(double, double, delta) instead of '==' to compare 2 double values
2019-03-01 10:13:14 +11:00
Joel Bernstein
dcb022bc67
SOLR-10436: Add hashRollup Streaming Expression
2019-02-28 09:20:08 -05:00
Cao Manh Dat
00c02290d5
SOLR-12297: Remove debugging System.out line
2019-02-27 09:50:59 +00:00
Noble Paul
a89b065c1f
SOLR-13255 : ClasscastException when URPs try to read a String field which returns a ByteArrayUTF8CHarSequence . This is a regression in release 7.7
2019-02-20 22:19:18 +11:00
shalinmangar
7e2d40197c
SOLR-13248: Autoscaling based replica placement is broken out of the box.
...
Solr 7.5 enabled autoscaling based replica placement by default but in the absence of default cluster policies, autoscaling can place more than 1 replica of the same shard on the same node. Also, the maxShardsPerNode and createNodeSet was not respected. Due to these reasons, this issue reverts the default replica placement policy to the 'legacy' assignment policy that was the default until Solr 7.4.
2019-02-18 13:46:05 -08:00
Erick Erickson
3235c61e77
SOLR-12028: BadApple and AwaitsFix annotations usage.
2019-02-17 10:40:58 -08:00
Noble Paul
cfefdade5f
SOLR-13171 : A true streaming parser for javabin payload/stream without creating any objects
2019-02-13 18:23:43 +11:00