Dawid Weiss
5cbbdae793
SOLR-14055: LegacyCloudClusterPropTest fails on Windows (requires SuppressSSL).
2019-12-11 16:40:31 +01:00
Dawid Weiss
9e236a4835
SOLR-14053: Don't start hdfs when native libraries can't be loaded. Remove tests.disableHdfs. ( #1072 )
2019-12-11 15:01:24 +01:00
Jason Gerlowski
d8aa04575f
SOLR-13972: Warn about insecure settings on startup ( #1058 )
2019-12-11 07:16:09 -05:00
Ishan Chattopadhyaya
34f11c9f57
SOLR-13822: Fix Eclipse project
2019-12-11 05:55:30 +05:30
Thomas Wöckinger
9e84da95a2
SOLR-13966: forgot to test empty list
2019-12-10 16:29:19 -05:00
Kevin Risden
48775ea18e
SOLR-14033: Fix Hadoop tests with security manager
...
This removes the Solr security manager hacks
for Hadoop. It does so by:
* Using a fake group mapping class instead of ShellGroupMapping
* Copies a few Hadoop classes and modifies them for tests with no Shell
* Nulls out some of the static variables in the tests
The Hadoop files were copied from Apache Hadoop 3.2.0
and copied to the test package to be only picked up
during tests. They were modified to remove the need to
shell out for access. The assumption is that these
HDFS integration tests only run on Unix based systems
and therefore Windows compatibility was removed in some
of the modified classes. The long term goal is to remove
these custom Hadoop classes. All the copied classes are
in the org.apache.hadoop package.
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-10 16:15:24 -05:00
Andrzej Bialecki
c4f0c33638
SOLR-13975, SOLR-13896: ConcurrentUpdateSolrClient connection stall prevention.
2019-12-10 21:45:43 +01:00
Andrzej Bialecki
fed199df7b
SOLR-13563: SPLITSHARD using LINK method fails on disk usage checks.
2019-12-10 14:21:37 +01:00
Christine Poerschke
b97afd79ca
Fix 5 javac warnings: 'yield' may become a restricted identifier in a future release.
2019-12-10 12:32:34 +00:00
Thomas Wöckinger
e250f3e82c
SOLR-13966: LatLonPointSpatialField fix for RealTimeGetComponent
...
used in atomic/partial updates.
Closes #1035
2019-12-09 22:51:18 -05:00
Houston Putman
1c78d2c637
SOLR-12217: Support shards.preference in SolrJ for individual shard requests ( #984 )
2019-12-09 17:11:58 -05:00
Andrzej Bialecki
86cab79730
SOLR-13979: Expose separate metrics for distributed and non-distributed requests.
2019-12-09 13:46:33 +01:00
Munendra S N
df508ffe01
SOLR-11706: fix for multivalued trie date in min/max and more tests
...
* selecting single value for multivalued trie date field is not
supported.
* add additional tests for variance, unique, hll aggregations
2019-12-08 10:49:37 +05:30
Michael Gibney
8e9876f516
SOLR-7798: robust support for expand when used w/o collapsing ( #325 )
...
There are applications of ExpandComponent that intentionally do not
involve prior collapsing of results on the expand field, which can lead
to an NPE in expand component when expand.field (for matched docs) has
fewer unique values than the number of matched docs.
This commit refines the approach taken in SOLR-13877, which addressed
the same underlying issue.
2019-12-08 09:59:33 +05:30
Kevin Risden
7c8635d600
SOLR-14028: Fix test permissions for TestSolrCLIRunExample
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-07 16:32:11 -05:00
Munendra S N
a1e51cd777
SOLR-11706: minor refactors
...
* rename stdDev, variance methods to reflect the functionality
* add util functions to compute corrected stdDev and variance
* use DocValuesIterator#advanceExact to check if values exists for the doc
2019-12-07 11:16:25 +05:30
Erick Erickson
7d5d44a3c4
SOLR-13988: Harden CreateCollectionCleanupTest. Incorporate Dawid Weiss' suggestion for windows
2019-12-06 19:10:27 -05:00
Mike
155ab116a2
Revert "SOLR-13990: Switch out woodstox-core-asl with aalto-xml and upgrade woodstox stax-2 API ( #1050 )" ( #1063 )
...
This reverts commit 2387bb9d60
.
2019-12-06 17:08:40 -06:00
Erick Erickson
106b9d6866
SOLR-13988: Harden CreateCollectionCleanupTest
2019-12-06 11:59:53 -05:00
Andrzej Bialecki
d2b01ef28f
SOLR-13831: Context property _loop_iter_ should be a string in order to support
...
variable expansion.
2019-12-05 18:27:12 +01:00
Anshum Gupta
2387bb9d60
SOLR-13990: Switch out woodstox-core-asl with aalto-xml and upgrade woodstox stax-2 API ( #1050 )
2019-12-05 18:37:53 +05:30
Munendra S N
12e8cca644
SOLR-11706: add support for aggregation on multivalued fields
...
* min, max, sum, sumsq, avg, stddev, variance, percentile aggregations
in JSON facets now supports multivalued fields
2019-12-05 10:48:22 +05:30
Robert Muir
c4126ef858
SOLR-14015: remove blanket filesystem read access from solr-tests.policy
...
Restrict this to only minimal paths like lucene. It is the defense for directory traversal attacks.
It will also help find bad bugs where things are reading filesystem in the wrong locations.
2019-12-04 23:16:19 -05:00
Robert Muir
becc16fb28
SOLR-14002: fix another static leak in test
2019-12-03 22:43:11 -05:00
Robert Muir
165529767b
SOLR-14000: clean up more static field leaks in tests
...
On windows, these objects can't be inspected due to security restrictions. So the test runner fails the tests since it does not know how big the leak is.
2019-12-03 18:51:00 -05:00
Dawid Weiss
0f61aa9516
Forbidden APIs: add missing root locale.
2019-12-03 13:07:23 +01:00
noble
a51c7b89f2
SOLR-13995: Move ZkShardTerms.Terms to SolrJ
2019-12-03 15:16:34 +11:00
Noble Paul
d8f9f47ca0
SOLR-13992: Refactor code to have collection, shard name in Replica,Slice ( #1051 )
...
* SOLR-13992: Refactor code to have collection name shard name in Replica,Slice
2019-12-03 13:10:19 +11:00
Shalin Shekhar Mangar
5a697344ed
SOLR-13805: NPE when calling /solr/admin/info/health on standalone solr
2019-11-30 10:04:00 +05:30
David Smiley
6a72b81ed3
SOLR-13971: Revert changes to the default configset.
...
* clarified these are Java system properties
* trivial dead code change; Boolean.getBoolean returns a primitive
2019-11-28 10:45:58 -05:00
Bruno Roustant
b4cc3c6ad2
SOLR-13968: Support postingsFormat and docValuesFormat in schema fields.
...
Closes #1039
2019-11-28 16:13:10 +01:00
Jan Høydahl
9f78482295
SOLR-13969: Clean up and document AuditEvent API ( #1041 )
2019-11-28 09:55:11 +01:00
Ishan Chattopadhyaya
50e8cea918
SOLR-13971: Removing velocity from _default and disabling custom template support by default
2019-11-28 07:52:43 +05:30
noble
6c7a095f33
SOLR-13963: JavaBinCodec has concurrent modification of CharArr resulting in corrupt internode updates
2019-11-26 08:12:23 +11:00
Dawid Weiss
063c82ebd6
SOLR-13952: reverting Erick's commit (with permission).
2019-11-25 17:56:20 +01:00
Thomas Wöckinger
b5fd6d7b22
SOLR-13961: Allow null/empty for removal of child doc in atomic update
...
Closes #1030
2019-11-25 09:57:07 -05:00
Erick Erickson
4b34d726ab
SOLR-13952: Separate out Gradle-specific code from other (mostly test) changes and commit separately
2019-11-24 13:24:40 -05:00
Jan Høydahl
592ea19eff
SOLR-12193: reverting one line back to trace
2019-11-24 00:06:07 +01:00
Jan Høydahl
d809bc27f1
SOLR-12193: Move some log messages to TRACE level, remove some dead code
2019-11-23 23:57:59 +01:00
Jan Høydahl
312431b182
SOLR-13465 CoreContainer.auditloggerPlugin should be volatile ( #672 )
2019-11-23 01:21:47 +01:00
Jan Høydahl
e45c5ce9b9
SOLR-13905 Make findRequestType in AuditEvent more robust ( #1014 )
2019-11-22 23:34:20 +01:00
Eric Pugh
537862d5bb
Document how to load your own streaming plugins ( #1025 )
2019-11-22 11:16:57 -08:00
Munendra S N
2740d90dee
SOLR-13912: add support for countvals aggregation in JSON facet module
...
* This aggregation is equivalent to StatsComponent's count
2019-11-22 18:16:20 +05:30
Chris Hostetter
8f30f6436c
SOLR-13946: Fix SpellCheckCollatorTest.testEstimatedHitCounts lower/upper bounds to match computable values based on random merge policies
2019-11-21 11:46:35 -07:00
noble
f98555854c
SOLR-13822: Bug fixs and tests for URP loading
2019-11-21 11:25:16 +11:00
Jan Høydahl
f00bcd5609
SOLR-13941: Configure JettySolrRunner same as in web.xml ( #1018 )
2019-11-20 10:20:54 +01:00
noble
a593d3050c
Revert "SOLR-13942: /api/cluster/zk/* to fetch raw ZK data"
...
This reverts commit 935a2987f8
.
this was accidentally pushed to master.
2019-11-20 06:08:06 +11:00
noble
935a2987f8
SOLR-13942: /api/cluster/zk/* to fetch raw ZK data
2019-11-19 18:05:18 +11:00
Chris Hostetter
59465c20c4
SOLR-13943: AwaitsFix TimeRoutedAliasUpdateProcessorTest.testDateMathInStart
2019-11-18 16:32:21 -07:00
Mikhail Khludnev
51b1c5a023
LUCENE-9036: ExitableDirectoryReader checks timeout on DocValues access.
2019-11-18 23:34:43 +03:00
Chris Hostetter
1411aaee94
HdfsRecoveryZkTest & HdfsNNFailoverTest: Remove @BadApple anotation
...
These tests were originally anotated @BadApple in early 2018 as pat of SOLR-12028.
Neither test has failed since 2018-12-28.
Since we no longer have logs from those older jenkins builds, it's hard to be certain how/why this
test was failing, or why exactly it stopped failing – but it's possible the underlying issues were
addressed by general hardening of SolrCloud and the associated base test classes around the same time.
2019-11-18 12:22:12 -07:00
Adrien Grand
7755cdf03f
LUCENE-9027: Use SIMD instructions to decode postings. ( #973 )
2019-11-18 19:08:32 +01:00
Chris Hostetter
f9076d85cf
SOLR-13924: AwaitsFix: MoveReplicaHDFSTest
2019-11-18 09:58:00 -07:00
Ishan Chattopadhyaya
0857bb60d3
SOLR-13662, SOLR-13822: Fixing bug with refresh API, un-ignoring the test and new reference guide on Package Management
2019-11-18 04:00:00 +05:30
Ishan Chattopadhyaya
5200ee0ef9
SOLR-13662: Ignoring the PackageManagerCLITest until further investigation of failures
2019-11-17 06:06:02 +05:30
Munendra S N
0602956a44
SOLR-13911: add support for missing aggregation in JSON facet module
...
* This missing aggregation is equivalent to StatsComponent's missing
2019-11-16 12:12:11 +05:30
Chris Hostetter
3fb39b2960
TestDistributedStatsComponentCardinality: Remove @BadApple anotation
...
This test was originally anotated @BadApple ~2018-10-14 as pat of SOLR-12028.
So far in 2019, it has failed in 62 jenkins-BadApple builds, but all prior to 2019-06-14.
Since we no longer have logs from those older jenkins builds, it's hard to be certain how/why
this test was failing, or why exactly it *stopped* failing -- but a likely suspect is that
the root cause of the problem may have been fixed as part of the Jetty upgrade in SOLR-13541.
2019-11-15 22:25:39 -07:00
Andrzej Bialecki
66e78ba7c5
SOLR-13898: Allow inexact double comparison. Close resources.
2019-11-15 20:38:20 +01:00
Chris Hostetter
805305c410
SOLR-13909: ReplicationHandler testing: Replace the completely broken CheckBackupStatus with a new BackupStatusChecker helper class
2019-11-15 10:17:26 -07:00
Tomas Fernandez Lobbe
4931c0989d
SOLR-13860: Ignore testKillTlogReplica
2019-11-14 15:16:35 -08:00
Ishan Chattopadhyaya
e59563f189
SOLR-13662: Renaming the test jars to .tmp to avoid precommit failures. Adding timeout for test failure fix.
2019-11-15 00:55:44 +02:00
Andrzej Bialecki
b4fe911cc8
SOLR-13817: Remove legacy SolrCache implementations.
2019-11-14 21:21:44 +01:00
Ishan Chattopadhyaya
d9f41f8a5a
SOLR-13662: Package manager (CLI)
2019-11-14 18:21:35 +05:30
Istvan Farkas
21a54c4bc7
SOLR-13921: Processing UpdateRequest with delegation token throws NullPointerException
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-11-13 11:11:45 -05:00
Chris Hostetter
30e55e2b6e
SOLR-13872: Fixed Backup failures due to race conditions in saving/reserving commit points
2019-11-13 08:58:52 -07:00
Andrzej Bialecki
0c3233877b
SOLR-13898: Non-atomic use of SolrCache get / put.
2019-11-13 14:43:09 +01:00
noble
59cc299c7e
SOLR-13821: Return the size of the file
2019-11-13 18:58:34 +11:00
noble
550c7296b6
SOLR-13822: Added a testcase and a bug fix
2019-11-13 17:42:37 +11:00
noble
11fd8d630a
SOLR-13841: Added 'JsonProperty' to forbidden APIs
2019-11-13 15:51:49 +11:00
Chris Hostetter
367fe2f341
SOLR-13870: SolrJmxReporterTest no longer depends on (buggy) getNextAvailablePort()
2019-11-12 09:42:05 -07:00
Noble Paul
40661489cd
SOLR-13822: Ref guide and error handling
...
SOLR-13822: Ref guide and error handling for package loader, package store
2019-11-12 16:45:04 +11:00
noble
7a207a9353
SOLR-13822: Missing package-info files
2019-11-08 14:46:53 +11:00
Houston Putman
5c7215fabf
SOLR-13844: Fixing tests related to ShardTerms recovery removal ( #995 )
2019-11-06 17:24:55 +00:00
Andrzej Bialecki
720fb94113
SOLR-13882: Collections API COLSTATUS does not check live_nodes when reporting replica's status.
2019-11-05 14:06:05 +01:00
Andrzej Bialecki
e58a90f18d
SOLR-13858: Clean up SolrInfoBean / SolrMetricProducer API.
2019-11-04 15:31:43 +01:00
Jason Gerlowski
de28c67627
SOLR-13762: Allow BinaryField use with non-binary wt's.
...
Closes #883
2019-11-04 08:43:04 -05:00
Noble Paul
b5f5b0f2bc
SOLR-13841: removed jackson dependencies from SolrJ and provided a mapping to our annotation ( #992 )
...
Provide mappings for jackson annotation @JsonProperty to use Jackson deserializer
2019-11-04 16:38:21 +11:00
Tomas Fernandez Lobbe
5c6a299eff
SOLR-13207: Fix tests
2019-11-01 15:53:38 -07:00
Chris Hennick
b17d630e50
SOLR-13207: Handle query errors in calculateMinShouldMatch ( #978 )
...
Traps error that arises when the < operator is used at the end of a query field.
Also handles NumberFormatException when the operand isn't a number.
2019-11-01 10:40:56 -07:00
Houston Putman
6e1ecd1218
SOLR-13844: Remove replica recovery terms with the replica term ( #951 )
2019-11-01 14:34:53 +00:00
noble
53b002f59d
SOLR-13822: FIle leakes fixed
2019-11-01 16:33:20 +11:00
noble
22b681755c
SOLR-13822: Disbaled on windows till further investigation
2019-10-30 08:27:23 +11:00
Munendra S N
24134cf9b1
SOLR-13823: fix ClassCastEx in group.query when score is requested
...
* This makes sures score computed for standalone and distributed
is same for group.query. This is done by using mainQuery to compute
scores
2019-10-29 13:56:03 +05:30
Munendra S N
0a4f6c566e
SOLR-13877: fix NPE in expand component
...
* This could happen when expand component is not used with collapse
and matched docs have fewer unique values
2019-10-29 13:56:03 +05:30
Munendra S N
b82b7725e1
SOLR-13783: fix failing tests due to NamedList.toString() change
2019-10-29 13:35:31 +05:30
Houston Putman
fa27e476f7
SOLR-13865: Migrate replica routing code to SolrJ ( #974 )
...
* [SOLR-13865] Migrate replica routing code to solrJ
* Added a CommonTestInjection class.
* Fixing imports.
* Reverted extraneous streaming changes.
* Fix precommit errors.
* Changing name of the RLTManager.
* Splitting up existing tests.
* Updated documentation.
* Added solr/CHANGES.txt entry
2019-10-28 15:49:21 -07:00
noble
3af4e6adc6
SOLR-13822: Adressing Windows test failures
2019-10-29 06:12:52 +11:00
Chris Hostetter
b17a4cb5a9
SOLR-13822: AwaitsFix this test until the file leaks are addressed
2019-10-25 14:44:25 -07:00
Munendra S N
3ef54e4516
SOLR-12393:fix score not returned if expanded docs sorted by non-score
2019-10-24 19:41:14 +05:30
Munendra S N
f71e4b210d
SOLR-13403: test terms component with point fields on empty index
2019-10-24 10:06:16 +05:30
Tomas Fernandez Lobbe
dc9dbd266b
SOLR-13866: Override getSolrMetricsContext in DirectUpdateHandler2 ( #971 )
2019-10-23 16:13:26 -07:00
Noble Paul
98f08d39aa
SOLR-13822: Isolated Classloading from packages ( #957 )
...
SOLR-13822: A Package management system with the following features. A packages.json in ZK to store
the configuration, APIs to read/edit them and isolated classloaders to load the classes from
those packages if the 'class' attribute is prefixed with `<package-name>:`
2019-10-24 08:55:11 +11:00
David Smiley
3ae8204248
SOLR-13855: DistributedZkUpdateProcessor needs to propagate URP.finish()
...
Important since Run URP finish() propagates to updateLog to fsync()!
Closes #969
2019-10-23 17:49:01 -04:00
Andrzej Bialecki
c1174dc0d6
SOLR-13831: Support defining arbitrary autoscaling simulation scenarios.
2019-10-23 20:48:10 +02:00
Tomas Fernandez Lobbe
98cdac82a1
SOLR-13860: Enable back TestTlogReplica ( #965 )
...
* Wait for leader in testBasicLeaderElection
It can take some time (>4 seconds) to elect a new leader, and if the update is attempted immediately it'll fail. Need to either wait for the leader or retry the udpate in case of failure (which is what clients would do)
* Wait for leader to be active in testKillTlogReplica
* Add hack to prevent unrelated failure
* Reduce the time wait time for replica state change
* A more robust attempt to add replicas in the tests
* Wait for replication for 2 times the replication time
2019-10-23 10:46:36 -07:00
Andrzej Bialecki
1d7cd61575
SOLR-13854: Remove deprecated SolrMetricProducer.initializeMetrics API.
2019-10-22 21:23:48 +02:00
Munendra S N
597241a412
SOLR-13403: disable distrib test for point fields in terms
2019-10-22 10:40:38 +05:30
Mikhail Khludnev
afdb80069c
SOLR-13824: reject prematurely closed curly bracket in JSON.
2019-10-21 23:25:06 +03:00
Munendra S N
80bca5040a
SOLR-9802: fix grouping failure for date fields in solrcloud
...
Closes #221
2019-10-20 15:57:19 +05:30
Noble Paul
831f90fa36
SOLR-13841: Add jackson databind annotations to SolrJ classpath
...
SOLR-13841: Add jackson databind annotations to SolrJ classpath
2019-10-20 10:00:13 +11:00