32661 Commits

Author SHA1 Message Date
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
Joel Bernstein
9c5284fe0b SOLR-13957: Update CHANGES.txt 2019-12-11 12:03:29 -05:00
Joel Bernstein
a4f2c099ec SOLR-14043: Update CHANGES.txt 2019-12-11 11:58:34 -05:00
Robert Muir
529a555c08 LUCENE-9079: add missing newlines to end of hunspell test files... we aren't trying to test corner cases of LineNumberReader 2019-12-11 08:39:19 -05:00
Jason Gerlowski
e81ebc0312 SOLR-13999: Add missing CHANGES.txt entry 2019-12-11 07:44:56 -05:00
Jason Gerlowski
d1f503290f SOLR-13972: Warn about insecure settings on startup (#1058) 2019-12-11 07:17:23 -05:00
Andrzej Bialecki
783a40a93c SOLR-13975, SOLR-13896: ConcurrentUpdateSolrClient connection stall prevention. 2019-12-11 12:19:25 +01:00
Ignacio Vera
a06a2ea3da LUCENE-8620: Add CONTAINS support for LatLonShape and XYShape (#872) 2019-12-11 09:18:24 +01:00
Erick Erickson
dda88f73bb SOLR-13953: Prometheus exporter in SolrCloud mode limited to 100 nodes
(cherry picked from commit d189520935cab36ae4d86f3822b38348f464d960)
2019-12-10 20:26:04 -05:00
Kevin Risden
d4882891df
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 19:49:33 -05:00
Thomas Wöckinger
f4b208bc4e SOLR-13966: forgot to test empty list
(cherry picked from commit 9e84da95a288c8aa07dec6d4159c51f13ef54860)
2019-12-10 16:29:47 -05:00
Vergil Cheynov
133a99e634 SOLR-13999: Document zkHost 'topic()' stream param 2019-12-10 16:07:45 -05:00
Andrzej Bialecki
7362a76e6e SOLR-13806: SolrJ QueryResponse._explainMap is incorrectly typed. 2019-12-10 20:44:46 +01:00
Joel Bernstein
10cfb08a38 SOLR-14043: Allow the precision Stream Evaluator to operate on matrices 2019-12-10 13:14:19 -05:00
Joel Bernstein
57761f5b53 SOLR-13957: Add sensible defaults for the facet, random, facet2D, timeseries, stats and update Streaming Expressions 2019-12-10 09:47:17 -05:00
Andrzej Bialecki
c9a156e1d8 SOLR-13563: SPLITSHARD using LINK method fails on disk usage checks. 2019-12-10 14:22:04 +01:00
Christine Poerschke
b7fa0171e5 Fix 5 javac warnings: 'yield' may become a restricted identifier in a future release. 2019-12-10 12:49:44 +00:00
Alessandro Benedetti
662c455ab0 SOLR-14029: Solr Ref Guide: clarify requestDispatcher handleSelect=true
(cherry picked from commit e84a23529e3d995803cce3f068172a718e94e24f)
2019-12-09 23:29:30 -05:00
Houston Putman
53345cb1cd SOLR-12217: Support shards.preference in SolrJ for individual shard requests (#984) 2019-12-09 23:13:33 -05:00
Thomas Wöckinger
87aa11baf8 SOLR-13966: LatLonPointSpatialField fix for RealTimeGetComponent
used in atomic/partial updates.
Closes #1035

(cherry picked from commit e250f3e82cb1b07192a9f07326059b01fde2c62c)
2019-12-09 22:53:33 -05:00