7485 Commits

Author SHA1 Message Date
Kevin Risden
129de3f5e9
SOLR-13060: Improve HdfsAutoAddReplicasIntegrationTest and HdfsCollectionsAPIDistributedZkTest
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-25 11:29:38 -05:00
Kevin Risden
e0231fddba
SOLR-9763: Remove the workaround implemented for HADOOP-12767 (Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-24 14:24:21 -05:00
erick
a108b4f730 SOLR-13268: Clean up any test failures resulting from SOLR-12055 (async logging). Kevin's upgrades
(cherry picked from commit fe5a96a)
2019-02-24 10:05:57 -08:00
Mikhail Khludnev
d68e992d03 SOLR-11883: reporting syntax errors as Bad Request instead of 500. 2019-02-24 16:39:40 +03:00
erick
07cc2d98ef SOLR-12055: Enable async logging by default SOLR-12753: Async logging ring buffer and OOM error
(cherry picked from commit 0de3905)
2019-02-22 12:47:29 -08:00
Erick Erickson
cf1e3c4603 SOLR-13261: Make SortableTextField work with export/streaming
(cherry picked from commit 6b4e90617ddb5a9897070bc60e2c6e78d8488f12)
2019-02-22 11:06:04 -08:00
Tomas Fernandez Lobbe
7e7047a225 Fix TestTlogReplica
At some point got broken and nobody noticed since it's not running
2019-02-21 21:39:44 -08:00
Jason Gerlowski
97d8fac87b Minor cleanup to ExportWriter 2019-02-21 16:06:20 -05:00
Tomas Fernandez Lobbe
4c0ecedf2b Fix TestPullReplica.testKillLeader
Somewhere along the way, this was broken and since the test is being excluded, nobody noticed
2019-02-20 21:16:39 -08:00
Tomas Fernandez Lobbe
128da043df SOLR-12708: CREATE collection request doesn't fail or cleanup when the request fails (#568)
When performing an async CREATE requests, responses to internal requests are also included inside the "success" or "failed" elements of the general response. This will make the operation cleanup in case of failure, the same way as we do when the request is synchronous.
2019-02-20 14:06:10 -08:00
Kevin Risden
5d71e90b17
SOLR-13222: Improve logging in StreamingSolrClients (Peter Cseh via Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-20 11:10:01 -05:00
Noble Paul
7a33ba3323 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:20:35 +11:00
Kevin Risden
cdabcb88d3
SOLR-11763: Upgrade Guava to 25.1-jre (Markus Jelsma, Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-19 17:29:06 -05:00
shalinmangar
7ede4e2b43 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.

(cherry picked from commit 7e2d40197cb096fe0519652c2ebbbf38a70d0d65)
2019-02-18 14:26:20 -08:00
Ishan Chattopadhyaya
a1efe97931 SOLR-11876: In-place updates fail during resolution if required fields are present 2019-02-18 14:34:49 +05:30
Erick Erickson
4428f53c91 SOLR-12028: BadApple and AwaitsFix annotations usage.
(cherry picked from commit 3235c61e7775728eb3d1c014e5e3a5d1ea3a55eb)
2019-02-17 10:41:36 -08:00
Tomas Fernandez Lobbe
3f0dd8a70f SOLR-13229: Cleanup replicasMetTragicEvent after all exceptions 2019-02-15 14:52:06 -08:00
Simon Willnauer
8dfbbec892 LUCENE-8292: Make TermsEnum fully abstract (#574) 2019-02-15 17:33:44 +01:00
Alan Woodward
249dfdae01 SOLR-13126: Correctly combine multiplicative query boosts 2019-02-15 11:20:35 +00:00
Andrzej Bialecki
18a48934b5 SOLR-13252: Fix an NPE when setting a "policy" property for an existing collection. 2019-02-14 21:38:58 +01:00
Andrzej Bialecki
b6ebc748c9 SOLR-13155: Minor addition to the "stats" section to make it easier to
estimate the distribution of cores across nodes.
2019-02-14 11:39:41 +01:00
Noble Paul
93288d7e28 SOLR-13171 : A true streaming parser for javabin payload/stream without creating any objects 2019-02-13 18:25:09 +11:00
Bruno P. Kinoshita
a1b2913049 Fix some spell check issues 2019-02-12 21:36:48 -08:00
Andrzej Bialecki
98cea5440f SOLR-13155: Add command-line option for testing autoscaling configurations. 2019-02-12 11:53:57 +01:00
Alan Woodward
83f8d14226 Add next minor release version 8.1.0
This reverts commit b20afd322daa0ded3a890bb01a6497124c1187c6.
2019-02-12 09:15:58 +00:00
Mikhail Khludnev
b63b8756b7 SOLR-12330: rethow NPEs and other json.facet syntax errors properly as 400 2019-02-10 00:02:06 +03:00
yyuan2
d60b1e4ee0 LUCENE-8662: Change TermsEnum.seekExact(BytesRef) to abstract 2019-02-08 15:16:50 -08:00
Tomas Fernandez Lobbe
e8b7700ba9 Set types in ZkController callables 2019-02-07 22:27:20 -08:00
Chris Hostetter
2d48bde21b disable TestInjection in RestartWhileUpdatingTest
work around for SOLR-13189 and SOLR-13212

(cherry picked from commit 956772b7ef6849ba701ecde8610cc0cc523676ff)
2019-02-07 18:27:47 -07:00
Kevin Risden
fd061bddf2
SOLR-9515 - Remove pom dependency kerby-kerb
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-07 11:47:42 -05:00
Chris Hostetter
69b5a04a4d SOLR-13210: Fix TriLevelCompositeIdRoutingTest to actually make sense
(cherry picked from commit 87ad59f826d3ea5ea0e6239397c1d9a8acf59323)
2019-02-06 14:45:07 -07:00
Chris Hostetter
a38336285d Harden OrderedExecutorTest to use concurrent latches/barriers for testing parallelism instead of making assumpions about how milliseconds something should take in another thread
(cherry picked from commit ea2956fda3c23695daa43c6cb6f1c7b2a345ce27)
2019-02-06 14:45:02 -07:00
Tomas Fernandez Lobbe
9bafc4912f Removed some unused variables from DistributedUpdateProcessor 2019-02-06 11:32:51 -08:00
Jan Høydahl
d28ec13b9a SOLR-12121: Use a different JSON parser for JWTAuthPluginTest after upgrade to Hadoop3 2019-02-06 09:02:24 +01:00
Jan Høydahl
0b3ebdd290 SOLR-12121: Fix test fails in JWTAuthPluginIntegrationTest.testMetrics
(cherry picked from commit d09c724a0eaca3666dcb3fbc931bb64eb5f5b72f)
2019-02-06 08:39:27 +01:00
Jan Høydahl
ceb73803a6 SOLR-12121: JWT Token authentication plugin with OpenID Connect implicit flow login through Admin UI
(cherry picked from commit ea2c8ba38e32a9f1e7d11cf3687c5469bfd6414c)
2019-02-06 08:39:03 +01:00
Dawid Weiss
a552be9a1e SOLR-13193: LeaderTragicEventTest doesn't catch NoSuchFileException when corrupting files 2019-02-05 11:27:16 +01:00
Kevin Risden
dfa3ea349a
SOLR-10199: Solr's Kerberos functionality does not work in Java9 due to dependency on hadoop's AuthenticationFilter which attempt access to JVM protected classes
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-02 12:04:22 -05:00
Kevin Risden
52b1c580ac
SOLR-8182: Update TestSolrCloudWithKerberosAlt to work with JDK9+
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-02 12:04:13 -05:00
markrmiller
f20d2d0154
SOLR-9515: Update to Hadoop 3 (Mark Miller, Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-02 09:33:36 -05:00
Noble Paul
d3c686aa24 SOLR-12999: Index replication could delete segments before downloading segments from master if there is not enough disk space 2019-02-01 08:15:22 +11:00
Chris Hostetter
2c6d666eda reduce number of nodes/shards used in TriLevelCompositeIdRoutingTest to prevent (incredibly frequent) OOM in nightly
(cherry picked from commit 806744b0f1563c5145c494976f2d8800050a1ab6)
2019-01-31 10:46:07 -07:00
Chris Hostetter
73cfa810c7 disable TestInjection in TestStressCloudBlindAtomicUpdates
work around for SOLR-13189

(cherry picked from commit 0a01b9e12787e56604aab3a0c3792d2aa060ae74)
2019-01-29 21:23:21 -07:00
jimczi
b20afd322d Revert "Add next minor release version 8.1.0"
This reverts commit df4fabb3dfd5c3957b830a4e129291a3d8588f33.
2019-01-29 17:02:40 +01:00
jimczi
df4fabb3df Add next minor release version 8.1.0 2019-01-29 14:15:32 +01:00
Chris Hostetter
d7cab5f7a3 Add logging and impoved cleanup to TestStressCloudBlindAtomicUpdates setup/teardown codepaths that occasionally cause suite level failures in jenkins
The use of closeQuietly should hopefully prevent failures closing one HttpClient from resulting in other client objects being leaked

The setup changes are unlikey to improve test reliability, but will hopefully help diagnose where/how NPEs are coming from that currently cause some suite failures.

(cherry picked from commit 8bee03f49033007102a32449bac0c2ba257443c1)
2019-01-28 16:22:44 -07:00
David Smiley
8413b105c2 SOLR-12768: added _nest_path_ to the default schema (thereby enabling nested docs)
* new NestPathField encapsulating details for how _nest_path_ is indexed
** tweaked the analysis to index 1 token instead of variable
* TokenizerChain has new CustomAnalyzer copy-constructor

(cherry picked from commit 381a30b26ca1737123b65aefc685367d1aa038b9)
2019-01-28 13:26:56 -05:00
Andrzej Bialecki
5e1b08878f SOLR-13072: Make sure the new overseer leader is present. 2019-01-28 18:28:45 +01:00
Mikhail Khludnev
513ba75f3f SOLR-13156: support facet.sort for facet.field={!terms=foo,bar}field 2019-01-28 15:37:39 +03:00
Noble Paul
745db5f000 SOLR-13130: during the ResponseBuilder.STAGE_GET_FIELDS directly copy string bytes and avoid creating String Objects 2019-01-27 16:03:16 +11:00