7462 Commits

Author SHA1 Message Date
yyuan2
a3a4ecd80b LUCENE-8662: Change TermsEnum.seekExact(BytesRef) to abstract 2019-02-08 15:10:38 -08:00
Tomas Fernandez Lobbe
f2b84577a2 Set types in ZkController callables 2019-02-07 22:26:39 -08:00
Chris Hostetter
956772b7ef disable TestInjection in RestartWhileUpdatingTest
work around for SOLR-13189 and SOLR-13212
2019-02-07 18:27:32 -07:00
Kevin Risden
475f2fd36b
SOLR-9515 - Remove pom dependency kerby-kerb
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-07 11:38:18 -05:00
Chris Hostetter
87ad59f826 SOLR-13210: Fix TriLevelCompositeIdRoutingTest to actually make sense 2019-02-06 14:42:30 -07:00
Chris Hostetter
ea2956fda3 Harden OrderedExecutorTest to use concurrent latches/barriers for testing parallelism instead of making assumpions about how milliseconds something should take in another thread 2019-02-06 14:32:12 -07:00
Tomas Fernandez Lobbe
0add3bb0ac Removed some unused variables from DistributedUpdateProcessor 2019-02-06 11:31:55 -08:00
Noble Paul
b061947e91 SOLR-12999: Index replication could delete segments before downloading segments from master if there is not enough disk space 2019-02-06 23:15:07 +11:00
Kevin Risden
1a23ab005b
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:03:20 -05:00
Kevin Risden
e8a24bc1c9
SOLR-8182: Update TestSolrCloudWithKerberosAlt to work with JDK9+
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-02 12:03:00 -05:00
Kevin Risden
429481bc82
Fix precommit - unused import
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-01 15:32:07 -05:00
markrmiller
4a3ddc94d8
SOLR-9515: Update to Hadoop 3 (Mark Miller, Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-01 15:04:56 -05:00
Kevin Risden
e4f202c1e3
Revert "SOLR-9515: Update to Hadoop 3"
This reverts commit 6bb24673f422a4e4267bc22361bc9258809d5f60.
2019-01-31 19:46:02 -05:00
markrmiller
6bb24673f4
SOLR-9515: Update to Hadoop 3
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-01-31 13:00:20 -05:00
Chris Hostetter
806744b0f1 reduce number of nodes/shards used in TriLevelCompositeIdRoutingTest to prevent (incredibly frequent) OOM in nightly 2019-01-31 10:45:12 -07:00
Dawid Weiss
4fc218e74e SOLR-13193: LeaderTragicEventTest doesn't catch NoSuchFileException when corrupting files 2019-01-31 11:55:05 +01:00
Chris Hostetter
0a01b9e127 disable TestInjection in TestStressCloudBlindAtomicUpdates
work around for SOLR-13189
2019-01-29 21:23:04 -07:00
Andrzej Bialecki
1cfbd3e1c8 SOLR-13072: Make sure the new overseer leader is present. 2019-01-29 11:22:28 +01:00
Chris Hostetter
8bee03f490 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.
2019-01-28 16:22:28 -07:00
David Smiley
381a30b26c 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
2019-01-28 13:25:06 -05:00
Dawid Weiss
d7dc53ff7c LUCENE-8474: Remove deprecated RAMDirectory. 2019-01-28 13:49:03 +01:00
Mikhail Khludnev
43f2723213 SOLR-13156: support facet.sort for facet.field={!terms=foo,bar}field 2019-01-28 15:27:09 +03:00
Noble Paul
250d21da94 SOLR-13130: during the ResponseBuilder.STAGE_GET_FIELDS directly copy string bytes and avoid creating String Objects 2019-01-27 16:02:11 +11:00
Chris Hostetter
ec68359065 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)
2019-01-25 15:50:46 -07:00
Tomas Fernandez Lobbe
ef81dadc7d SOLR-12373: Remove deprecated constructor 2019-01-25 13:48:40 -08:00
Tomas Fernandez Lobbe
0bd1911db6 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:38:18 -08:00
Chris Hostetter
e2b8b0e5b1 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)
2019-01-25 10:18:55 -07:00
Mikhail Khludnev
c317119654 SOLR-13029: configure buffer size in HdfsBackupRepository. 2019-01-24 18:06:09 +03:00
Jan Høydahl
d09c724a0e SOLR-12121: Fix test fails in JWTAuthPluginIntegrationTest.testMetrics 2019-01-24 12:43:27 +01:00
Andrzej Bialecki
84819c8379 SOLR-13072: Fix precommit. 2019-01-24 10:47:44 +01:00
Andrzej Bialecki
72a99e9c5c SOLR-13072: Enable this test again. 2019-01-23 15:46:25 +01:00
Jan Høydahl
ea2c8ba38e SOLR-12121: JWT Token authentication plugin with OpenID Connect implicit flow login through Admin UI 2019-01-23 13:03:01 +01:00
Chris Hostetter
15e5ca999f 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
2019-01-22 11:47:11 -07:00
Erick Erickson
60aef389cf SOLR-11998:RebalanceLeaders API broken response format with wt=JSON 2019-01-20 23:13:19 -06:00
Jimmy Casey
8b1c7296b7 Fixed Spelling. 2019-01-20 11:50:16 -08:00
Erick Erickson
a692d05a90 SOLR-13091: REBALANCELEADERS is broken 2019-01-19 19:20:39 -08:00
Toke Eskildsen
c13645bd4c LUCENE-8585: Create jump-tables for DocValues at index-time 2019-01-18 22:42:04 +01:00
fabric8-cd
63268000fb SOLR-13053: Adding test for assert that times nodes were removed and added was actually restored 2019-01-18 11:00:15 +00:00
Tomas Fernandez Lobbe
8b54b20fc4 SOLR-12770: Make it possible to configure a host whitelist for distributed search 2019-01-15 11:44:57 -08:00
Jan Høydahl
b7f99fe55a SOLR-13137: NPE when /admin/zookeeper/status endpoint hit in standalone mode 2019-01-15 16:17:10 +01:00
Chris Hostetter
d970375cd2 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
2019-01-14 18:16:40 -07:00
Gus Heck
dcc9ffe186 SOLR-13051 improve TRA update processor test
- remove some timeouts
  - better async mechanism linked to SolrCore lifecycle
  - add some additional tests to be a bit more thorough
2019-01-11 14:47:57 -05:00
Noble Paul
0635c657c1 SOLR-13016: precommit errors 2019-01-10 11:58:53 +11:00
Noble Paul
3ffc9099bf SOLR-13016: test errors fixed 2019-01-10 11:57:58 +11:00
David Smiley
df119573db SOLR-12888: Run URP now auto-registers NestedUpdateProcessor before it. 2019-01-08 23:23:02 -05:00
Noble Paul
d814d862b0 SOLR-12983: Create DocValues fields directly from byte[] 2019-01-09 13:44:41 +11:00
Andrzej Bialecki
7db4121b45 SOLR-13072: Use the same wait in other simulated tests where the same race condition may occur. 2019-01-08 19:12:38 +01:00
Andrzej Bialecki
a37e2c609c SOLR-13072: Wait for autoscaling config refresh to finish before modifying the cluster
and enable the tests for now.
2019-01-08 16:16:55 +01:00
Noble Paul
825e63c00b SOLR-12983: tests don't need to use the optimization 2019-01-08 17:26:19 +11:00
Noble Paul
3932a4cc6c SOLR-12983: JavabinLoader should avoid creating String Objects and create UTF8CharSequence fields from byte[] 2019-01-08 15:27:48 +11:00