32630 Commits

Author SHA1 Message Date
Chris Hostetter
d1fa6e1e02 SOLR-14099: Fixed @LogLevel annotation in test-framework to correctly 'unset' Loggers after test
(cherry picked from commit cc4262a8ec37b2420e1d80a392c5e8019f43e24c)
2019-12-17 14:59:26 -07:00
Chris Hostetter
35793386b0 Harden (Cloud)ExitableDirectoryReaderTest
Thread.sleep() is "subject to the precision and accuracy of system timers and schedulers."

But tests using DelayingSearchComponent need to ensure that it sleeps *at least* as long as they request, in order to trigger the timeAllowed constraint

(cherry picked from commit 8493cf18cbfcbf020c467737e28c55e4b05c60f9)
2019-12-17 14:48:15 -07:00
tallison
a58269f6a6
SOLR-14054: Upgrade to Tika 1.23 2019-12-17 15:55:21 -05:00
Cassandra Targett
fb6af5e538 Ref Guide: fix typos & standardize spellings 2019-12-17 14:11:25 -06:00
Cassandra Targett
94d98bb134 Ref Guide: make section headings in Headline Case 2019-12-17 13:00:40 -06:00
Chris Hostetter
c9bd7cedc2 SOLR-13696: AwaitsFix RoutedAliasUpdateProcessorTest (and subclasses)
The helper method RoutedAliasUpdateProcessorTest.addDocsAndCommit doesn't garuntee docs have been committed when it returns, causing threading/timing bugs in tests that use it as a gate for making subsequent assertions -- causing a steady stream of jenkins test failures

(cherry picked from commit 33e44b2fd6973aa801d8bad2b64ff1931d885ee3)
2019-12-17 11:10:24 -07:00
Cassandra Targett
95c7b1d925 Ref Guide: Upgrade notes for 8.4 2019-12-17 12:02:58 -06:00
Ignacio Vera
f08a830a6a LUCENE-9055: Fix the detection of lines crossing triangles through edge points (#1020) 2019-12-17 09:40:09 +01:00
Chris Hostetter
10ea628bb6 SOLR-14081: re-implement FullSolrCloudDistribCmdsTest to extend SolrCloudTestCase
(cherry picked from commit db11e9e9a2c07136399ba002f2bbefe8c611b0a0)
2019-12-16 17:32:57 -07:00
Chris Hostetter
be1e6b457b SOLR-14099: work around @LogLevel bug in LoggingHandlerTest
(cherry picked from commit e6b5da5c12c37dce6f3d767bbafb75b28795ab2f)
2019-12-16 12:13:38 -07:00
Robert Muir
cfccbe5af3 LUCENE-9094: Ban ObjectInputStream and ObjectOutputStream in forbidden-apis 2019-12-16 13:41:33 -05:00
Ishan Chattopadhyaya
461317062c SOLR-14096: Stopping -Denable.packages=true from leaking to other tests 2019-12-16 20:20:43 +05:30
Andrzej Bialecki
c8fb1bf74e Fix an occasional test error caused by the maintenance trigger generating events. 2019-12-16 13:55:12 +01:00
Ishan Chattopadhyaya
8aa0103b14 SOLR-14087: Changing the filestore dir name back to filestore from .filestore 2019-12-16 18:19:44 +05:30
Adrien Grand
ed97a36fb4 SOLR-14094: Bad-apple TestSolrCachePerf. 2019-12-16 13:46:44 +01:00
Ishan Chattopadhyaya
d19b54e141 DOAP changes for release 8.3.1 2019-12-16 09:22:58 +01:00
David Smiley
0ea3ffd717 SOLR-14072: Deprecate Blob API and runtimeLib (#1086)
(cherry picked from commit 2db48314f97a6017fe216f77c34cf5b261985cf4)
2019-12-15 23:54:02 -05:00
noble
f433051f5e SOLR-14087: changed the filestore location to .filestore instead of $filestore 2019-12-16 15:51:14 +11:00
Noble Paul
3635a1bcdb SOLR-14087: disable package store API if -Denable.packages not set to true 2019-12-16 08:06:23 +11:00
Kevin Risden
2b775d88eb
SOLR-14086: Tika ClassNotFound error due to commons-compress in solr-core dependency
Introduced in SOLR-14033 by including
commons-compress as a compile time
dependency in Solr core instead of as
as test only dependency.

Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-15 13:41:10 -05:00
Ishan Chattopadhyaya
e7e4959bd9 SOLR-14071: Updating upgrade notice 2019-12-15 11:21:41 +05:30
Ishan Chattopadhyaya
de39472f07 SOLR-13662: Fixes to package manager
* Better logging and error reporting
* Fixing deploy command to handle previously undeployed packages
* Test now uses @LogLevel annotation
* Deploy command had a hard coded collection name by mistake, fix it
2019-12-15 10:54:51 +05:30
David Smiley
7b27fb651b SOLR-14069: Ref guide: overhaul: resources, libs, plugins, config-sets (#1077)
* split "resource-and-plugin-loading.adoc" into "resource-loading.adoc" and "libs.adoc" then overhauled both.
* enhanced "config-sets.adoc", moving some content in from elsewhere; bit of an overhaul.
* solr-plugins.adoc is now top-level; overhauled content
* Move resource-loading.adoc up a level in the TOC to underneath "The Well-Configured Solr Instance.
* Separate out the leading sentence.

(cherry picked from commit 7c048c5070988f35d38d5f592fad5d295ddb380a)
2019-12-14 12:03:28 -05:00
David Smiley
e2ce7d918d SOLR-14069: Ref guide: overhaul: resources, libs, plugins, config-sets (#1077)
* split "resource-and-plugin-loading.adoc" into "resource-loading.adoc" and "libs.adoc" then overhauled both.
* enhanced "config-sets.adoc", moving some content in from elsewhere; bit of an overhaul.
* solr-plugins.adoc is now top-level; overhauled content
* Move resource-loading.adoc up a level in the TOC to underneath "The Well-Configured Solr Instance.
* Separate out the leading sentence.

(cherry picked from commit 7c048c5070988f35d38d5f592fad5d295ddb380a)
2019-12-14 12:00:26 -05:00
Kevin Risden
15f570fc4b
SOLR-14077: Hadoop shouldn't need to look for metrics config in user home
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-13 22:09:28 -05:00
yonik
1be81700be SOLR-14079: fix SPLITSHARD splitByPrefix in async mode 2019-12-13 17:56:20 -05:00
erick
453577cbd5 SOLR-14026: Upgrade Jetty to 9.4.24.v20191120 and dropwizard to 4.1.2, moved to 8.5 in CHANGES.txt 2019-12-13 12:43:49 -05:00
erick
1a48a87f61 SOLR-14026: Upgrade Jetty to 9.4.24.v20191120 and dropwizard to 4.1.2
(cherry picked from commit 8278886966c6da7379cf9c9505f7859b832c4ab3)
2019-12-13 12:15:32 -05:00
Robert Muir
4a3fa721fb SOLR-14076: clean up static fields leak in nightly-only test 2019-12-13 04:06:33 -05:00
Robert Muir
1761e48e53 SOLR-14064: remove some hadoop brain damage from build environment
Some permissions and build hacks were made on behalf of hadoop: hacks on
top of hacks. Now that the major problems such as classpath pollution and
hadoop test code are fixed, so we can remove hacks built on top of them.
2019-12-13 03:54:44 -05:00
noble
9717540b8e SOLR-14013: javabin performance regressions 2019-12-13 17:42:24 +11:00
Kevin Risden
c021a253fe
SOLR-14048: Improve Hadoop test sanity checks
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-12 22:27:17 -05:00
Andrzej Bialecki
640e6fc3c0 SOLR-13975: Make sure the stall time is adjusted up when an unusually long
poll time is configured.
2019-12-12 19:07:36 +01:00
Kevin Risden
85b433e277
SOLR-14047: Make sure tests don't pickup other Hadoop installs
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-12 10:36:54 -05:00
Ishan Chattopadhyaya
8d07ba5c9c SOLR-14065: Deprecate Velocity 2019-12-12 16:13:59 +05:30
Ishan Chattopadhyaya
4c7f5039c7 SOLR-13978: Removed LTR from default configset 2019-12-12 15:09:59 +05:30
Ishan Chattopadhyaya
72b3c54e7d SOLR-14071: Untrusted configsets shouldn't be allowed to use <lib> directive 2019-12-12 15:01:06 +05:30
Adrien Grand
451d5348f4 Add next minor version 8.5 2019-12-12 09:33:20 +01:00
Ishan Chattopadhyaya
08b8d116f8 SOLR-13978: Remove non-essential components from default configset
The default configset no longer has the following:
   - Library inclusions (<lib ../>) for extraction, solr-cell libs, clustering, velocity and language identifier
   - /browse, /tvrh and /update/extract handlers
   - TermVector component (if someone wants it, can be added using config APIs)
   - XSLT response writer
   - Velocity response writer
If you want to use them in your collections, please add them to your configset manually or through the Config APIs.
2019-12-12 10:44:35 +05:30
Munendra S N
576591205c SOLR-13970: disallow using collapse/expand with grouping
* Using collapse with grouping would cause inconsistent behavior.
  This is because grouping calls the same postfilter twice without
  resetting the internal state of the DocValues cache
* Using expand with grouping would cause NPE
2019-12-12 10:22:32 +05:30
Ishan Chattopadhyaya
b52bed0a47 SOLR-14062: Split IndexSizeTriggerTest into three 2019-12-12 10:17:25 +05:30
Ishan Chattopadhyaya
a13b387fb5 SOLR-13945: SPLITSHARD can cause data loss due to rollback when final commit fails 2019-12-12 09:03:07 +05:30
Kevin Risden
5b4266db7d
SOLR-14053: Fix HDFS tests to be ignored if Native I/O isn't available (remove tests.disableHdfs)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-11 22:03:08 -05:00
Dawid Weiss
d6e7898bc9
SOLR-14053: Don't start hdfs when native libraries can't be loaded. Remove tests.disableHdfs. (#1072) 2019-12-11 22:03:01 -05:00
Robert Muir
d151fc871a LUCENE-9090: remove ant runtime pollution from tests classpath
previously, entire classpath of ant (ant itself, plugins, ivy, etc) were
polluting the unit tests classpath. it leads to non-reproducible build
issues because tests classpath is different depending on things outside
of source code control.

for example, solr tests launching hadoop, hadoop launching jetty, jetty
scanning classpath -> boom
2019-12-11 21:05:49 -05:00
Joel Bernstein
c4dce29582 SOLR-14060: Update CHANGES.txt 2019-12-11 21:00:13 -05:00
Joel Bernstein
deea5868ad SOLR-14060: Allow the random Streaming Expression to create the x-axis 2019-12-11 20:38:15 -05:00
Mikhail Khludnev
f914d9aac7 SOLR-13904: Make Analytics component sensitive to timeAllowed. 2019-12-12 00:11:39 +03:00
Robert Muir
715b2151ac SOLR-14050: clean up tests use of network addresses
Solr tests now have a similar policy to Lucene, loopback use only. If a
test tries to resolve or connect to the internet, it will get SecurityException.

Some solr tests explicitly try to talk to dead nodes with real
networking. This is not good and asking for trouble, but use low loopback port numbers instead of
multicast addresses. The idea is that it fails faster. Move these to
constants so that stuff isn't copy-pasted everywhere, in case we have to
do something different later.
2019-12-11 13:27:03 -05:00
Erik Hatcher
9dfee35b9f SOLR-14025: VelocityResponseWriter hardening 2019-12-11 12:38:58 -05:00