7458 Commits

Author SHA1 Message Date
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
Chris Hostetter
fa22ab8956 SOLR-13168: Fixed a bug in TestInjection that caused test only code to be invoked when TLOG replicas recieved commits if java assertions were enabled
(see also: SOLR-12313)

(cherry picked from commit ec6835906518b97ea03bbdb3b01442711cf9f943)
2019-01-25 15:50:59 -07:00
Tomas Fernandez Lobbe
4070f56a56 SOLR-12373: Remove deprecated constructor 2019-01-25 13:49:33 -08:00
Tomas Fernandez Lobbe
45bf00bf05 SOLR-12373: Let DocBasedVersionConstraintsProcessor define fields to use in tombstones
A new config option, "tombstoneConfig" allows the DocBasedVersionConstraintsProcessor
to add extra fields to the tombstone generated when a document is deleted. This can
be useful when the schema has required fields.
2019-01-25 13:41:35 -08:00
Chris Hostetter
0ba2233eea SOLR-12801: completely prevent tlog replicas from being used.
This follows the spirit of the change Mark intended in his previous commit to this test, but his solution wasn't covering all cases on backcompat to branch_7x

(see also: SOLR-12313)

(cherry picked from commit e2b8b0e5b1f36e6ecedbeca50263cc6c263d7909)
2019-01-25 10:19:09 -07:00
Mikhail Khludnev
5a54c624ca SOLR-13029: configure buffer size in HdfsBackupRepository. 2019-01-24 19:23:18 +03:00
Andrzej Bialecki
6f3d8a9770 SOLR-13072: Fix precommit. 2019-01-24 10:46:49 +01:00
Andrzej Bialecki
6489c5ad43 SOLR-13072: Enable this test again. 2019-01-23 15:49:02 +01:00
Chris Hostetter
4d9c835376 SOLR-13140: harden SearchRateTriggerIntegrationTest by using more absolute rate thresholds and latches to track when all events have been processed so we don't need to 'guess' about sleep calls
This commit also disables testDeleteNode pending an AwaitsFix on SOLR-13163

(cherry picked from commit 15e5ca999ff7e912653db897781b21642d5307f0)
2019-01-22 11:47:44 -07:00
Toke Eskildsen
5bb6a5b42c LUCENE-8585: Create jump-tables for DocValues at index-time
(cherry picked from c13645bd4c65f052e7f35df8e33d3dbfe6d7cd58)
2019-01-21 11:44:36 +01:00
Erick Erickson
83f9835a47 SOLR-11998:RebalanceLeaders API broken response format with wt=JSON
(cherry picked from commit 60aef389cfbe708701c50fc3a68a4082b69ec4d0)
2019-01-20 23:16:09 -06:00
Jimmy Casey
c91507f4b9 Fixed Spelling. 2019-01-20 11:50:48 -08:00
Erick Erickson
571ae2670a SOLR-13091: REBALANCELEADERS is broken
(cherry picked from commit a692d05a909e1ce385c56c087cb62911c27b5f5b)
2019-01-19 19:30:04 -08:00
fabric8-cd
54d64345f6 SOLR-13053: Adding test for assert that times nodes were removed and added was actually restored 2019-01-18 11:01:46 +00:00
Tomas Fernandez Lobbe
e9db95831b SOLR-12770: Make it possible to configure a host whitelist for distributed search 2019-01-15 11:49:11 -08:00
Jan Høydahl
5a5a84c7ad SOLR-13137: NPE when /admin/zookeeper/status endpoint hit in standalone mode
(cherry picked from commit b7f99fe55a6fb6e7b38828676750b3512d6899a1)
2019-01-15 16:22:36 +01:00
Chris Hostetter
62e9ff436a SOLR-12923: add a latch to TestTriggerListener to harden test that use it so they can deterministically know when all events have been proceeded
This hardens several flakey tests, and allows the removal of a several arbitrary sleep calls

(cherry picked from commit d970375cd2f2357b88886a8da5ac67ef994f8d43)
2019-01-14 18:16:59 -07:00
Andrzej Bialecki
b33df8dc0f SOLR-13072: Use the same wait in other simulated tests where the same race condition may occur. 2019-01-14 10:54:11 +01:00
Andrzej Bialecki
229a0894fb SOLR-13072: Wait for autoscaling config refresh to finish before modifying the cluster
and enable the tests for now.
2019-01-14 10:54:10 +01:00
Gus Heck
0f1da2bc14 SOLR-13051 improve TRA update processor test
- remove need to Thread.sleep()
  - better async mechanism linked to SolrCore lifecycle
  - add some additional tests to be a bit more thorough
2019-01-11 15:00:35 -05:00
Noble Paul
f48fca15fc SOLR-13016: test errors fixed 2019-01-10 00:58:08 +11:00
Noble Paul
8bb21f90e1 SOLR-13016: precommit errors 2019-01-09 23:58:04 +11:00
David Smiley
e5c7bb4ddf SOLR-12888: Run URP now auto-registers NestedUpdateProcessor before it.
(cherry picked from commit df119573dbc5781b2eed357821856b44bd7af5fd)
2019-01-08 23:26:19 -05:00
Noble Paul
0d4c81f2f9 SOLR-12983: Create DocValues fields directly from byte[] 2019-01-09 13:49:36 +11:00
Noble Paul
6f6a35d8f7 SOLR-12983: tests don't need to use the optimization 2019-01-09 13:49:25 +11:00
Noble Paul
507a96e418 SOLR-12983: JavabinLoader should avoid creating String Objects and create UTF8CharSequence fields from byte[] 2019-01-09 13:49:05 +11:00
Chris Hostetter
5a60c3e0db SOLR-13118: Fix various nodeAdded/nodeLost trigger (integration) tests related to restoriung state
This includes some cleanup and refactoring of unrelated test methods in the same classes to use new helper methods

(cherry picked from commit 5a513fab8345cd0397435e7ce830268cd3763651)
2019-01-08 10:18:27 -07:00
Andrzej Bialecki
a5972cedf8 SOLR-12730: Implement staggered SPLITSHARD requests in IndexSizeTrigger. 2019-01-07 19:15:44 +01:00