13299 Commits

Author SHA1 Message Date
Uwe Schindler
0bd21a7958 SOLR-12461: Remove obsolete license files 2019-04-19 23:38:14 +02:00
Uwe Schindler
c87b78cdf7 SOLR-12461: Remove obsolete checksum file 2019-04-19 23:33:14 +02:00
Chris Hostetter
449dc4438b SOLR-13336: fix CloudInspectUtil to use filter to eliminate risk of TooManyClausesException
(cherry picked from commit 1c3d23e58a987e60a0af08b9fca2211908cf49d3)
2019-04-19 11:00:20 -07:00
Tomas Fernandez Lobbe
92f5d8298c SOLR-13281: Fix NPE in DocExpirationUpdateProcessor 2019-04-18 22:23:34 -07:00
Erick Erickson
249a03d4f5 SOLR-11035: (at least) 2 distinct failures possible when clients attempt searches during SolrCore reload bandaid for DocValuesNotIndexedTest
(cherry picked from commit 2a3bd8e8648e85963a668d46a239cc48db777f5b)
2019-04-18 21:38:56 -07:00
Andrzej Bialecki
7fd49c3228 SOLR-12461: Upgrade Dropwizard Metrics to 4.0.5 release. 2019-04-18 19:09:06 +02:00
Andrzej Bialecki
667ccbc16f SOLR-13407: Reject update requests sent to non-routed multi collection aliases. 2019-04-18 14:55:00 +02:00
erick
ca1cc248e0 SOLR-13408: Cannot start/stop DaemonStream repeatedly, other API improvements
(cherry picked from commit a9771a58495b319b36b32381c786d9d9801e64ea)
2019-04-17 16:08:39 -07:00
Uwe Schindler
e1901aaabb SOLR-13409: Disable HTML directory listings in admin interface to prevent possible security issues 2019-04-17 11:05:24 +02:00
Uwe Schindler
16243311ba SOLR-12121: Fix precommit failure 2019-04-16 08:37:51 +02:00
Simon Willnauer
651f41e21b LUCENE-8671: Introduce Reader attributes (#640)
Reader attributes allows a per IndexReader configuration of codec internals.
For instance this allows a per reader configuration if FSTs are loaded into memory or are left
on disk.
2019-04-15 22:24:31 +02:00
Jan Høydahl
7f51292156 SOLR-12371: Editing authorization config via REST API now works in standalone mode
(cherry picked from commit 9707bb6fa91ea3062a404690aa7d041771f22746)
2019-04-15 21:34:28 +02:00
Chris Hostetter
4c9311e8bf Merge remote-tracking branch 'refs/remotes/origin/branch_8x' into branch_8x
Conflicts:
	solr/CHANGES.txt
2019-04-15 11:40:42 -07:00
markrmiller
fe37e18d10 SOLR-13386: OverseerTaskQueue#remove should not throw an exception when no node exists after an exists check and the Overseer work loop should not allow free spinning the loop when it hits a KeeperException. 2019-04-15 12:54:35 -05:00
Chris Hostetter
59a3c45d9c SOLR-13336: add maxBooleanClauses (default to 1024) setting to solr.xml, reverting previous effective value of Integer.MAX_VALUE-1, to restrict risk of pathalogical query expansion.
(cherry picked from commit d90034f0d61cd1525e10d07cf064a8647dc08cc9)
2019-04-15 10:27:29 -07:00
Noble Paul
d7e3953ada SOLR-13395: make DebugComponent.getRequestId() public 2019-04-15 11:14:56 +10:00
Christine Poerschke
cae323629e SOLR-13366: Clarify 'Invalid stage name' warning logging in AutoScalingConfig 2019-04-12 16:15:34 +01:00
Joel Bernstein
9d6c4cb986 SOLR-13391: Update CHANGES.txt 2019-04-12 10:07:31 -04:00
Joel Bernstein
4f6e78282f SOLR-13391: Add variance and standard deviation stream evaluators
Squashed commit of the following:

commit 406d4b959a42e4830ac1c52836ccbcfc1b614b46
Author: Nazerke <seinaz1997@gmail.com>
Date:   Fri Apr 12 14:03:34 2019 +0200

    added missing package

commit 32c239687c39c5da3e4f2d0f25df73127331fa99
Author: Nazerke <seinaz1997@gmail.com>
Date:   Fri Apr 12 14:03:14 2019 +0200

    added package

commit 7b3f9bd415002969a4ec5d87a9ffbfd6fcff6e92
Author: Nazerke <seinaz1997@gmail.com>
Date:   Fri Apr 12 14:02:28 2019 +0200

    added var and stddev functions

commit 77c4f9fdd9f111862a55b645aad960457291414c
Author: Nazerke <seinaz1997@gmail.com>
Date:   Fri Apr 12 14:00:59 2019 +0200

    added test for the variance and standard deviation stream evaluators

commit 2d9692c178590b65e46cfd9e04ca0384c7d39ec5
Author: naz <nazerke.seidan@cloudera.com>
Date:   Wed Apr 10 19:50:30 2019 +0200

    added var and stddev new evaluators

commit d265225747bce9a0eabd713994ddd4990dbbbfa2
Author: naz <nazerke.seidan@cloudera.com>
Date:   Wed Apr 10 19:49:23 2019 +0200

    variance streaming evaluator

commit a3330064bb62b5723b9125334ef1d61fc3b098d3
Author: naz <nazerke.seidan@cloudera.com>
Date:   Wed Apr 10 19:49:02 2019 +0200

    standard deviation streaming evaluator
2019-04-12 09:58:16 -04:00
Jan Høydahl
d05e7b3df4 SOLR-13398: Move log "Processing SSL Credential Provider chain" from INFO to DEBUG to prevent leaking into bin/solr printout
(cherry picked from commit 03f5a5e7a1d75d6502087dbcc1ca86450875a233)
2019-04-12 11:55:22 +02:00
Jan Høydahl
de432003a7 SOLR-12860: MetricsHistoryHandler now uses PKI Auth for metrics collection in background thread
(cherry picked from commit f2c59db2736ecdded9601acf0549094769781a4a)
2019-04-12 10:23:08 +02:00
Jan Høydahl
43f5e6170c SOLR-12121: Refresh JWK from IdP on invalid sig. Some logging improvements. Minor test fixes
(cherry picked from commit 3b3879d8809685ef611101e1b61295982bd2db23)
2019-04-12 09:51:21 +02:00
Chris Hostetter
c58787d045 SOLR-13393: Fixed ZkClientClusterStateProvider to prevent risk of leaking ZkStateReader/threads when processing concurrent requests during shutdown.
This primarily affected tests, but may have also caused odd errors/delays when restart/shutting down solr nodes.

(cherry picked from commit 980fd7d5c56349570b2202dedcf7b454216a61b8)
2019-04-11 14:23:14 -07:00
Cao Manh Dat
5691f87ecc SOLR-13339: Prevent recovery, fetching index being kicked off after SolrCores already closed 2019-04-11 09:22:35 +01:00
Andrzej Bialecki
f83098752c SOLR-13262: Add collection RENAME command and support using aliases in most collection admin commands. 2019-04-10 18:57:16 +02:00
Uwe Schindler
4fe1f410f4 SOLR-13388: Fix FileExchangeRateProvider to be a public class, as it appears in schema.xml 2019-04-10 18:55:42 +02:00
Andrzej Bialecki
a81d2c4a45 Release static solrClient after the test is done (occasionally caused failures on jenkins). 2019-04-10 12:26:33 +02:00
Moshe
d01b13c8ed SOLR-12638: Partial/Atomic updates of nested docs.
and [child] now works in RTG.

(cherry picked from commit 8527ec11af8099f86953ffad1182ad43c752f95b)
2019-04-10 03:03:58 -04:00
Jan Høydahl
77a4604c39 SOLR-12120: Do not fail the main request if synchronous auditing fails, log ERROR
Document that sub classes should call super.close() or a new waitForQueueToDrain() before closing itself

(cherry picked from commit 3e628b562cb57349503e8ccdfe4909aedcbe78b2)
2019-04-09 15:39:19 +02:00
Chris Hostetter
90ae5c1956 SOLR-13369: disable TriLevelCompositeIdRoutingTest until someone who actually understands how the /bits option is *suppose* to work can assess it to determine if the test is flawed or it there is a bug in the underlying CompositeIdRouter
(cherry picked from commit 2533fd1edeb5cccfd835d9999adcd288f98722b5)
2019-04-08 18:17:39 -07:00
Chris Hostetter
deb7987272 SOLR-13376: Disable test until it can be re-written to reflect actual expected behavior of how/when node markers will be cleaned up
(cherry picked from commit ab55b6386b701ec91afb92b269decd081f398ca8)
2019-04-08 18:06:21 -07:00
Chris Hostetter
ea2a91ef1f BlockCacheTest uses BlockCache which uses the common ForkJoinPool so we need to ensure the SolrIgnoredThreadsFilter is used
(cherry picked from commit 6bc360ee67582e42c0211ac1767a9c0ed8bfaad3)
2019-04-08 10:57:23 -07:00
Andrzej Bialecki
f3cdd326bd SOLR-13368: Tentative fix for a race condition in managed schema initialization. 2019-04-08 11:30:36 +02:00
Cassandra Targett
cef83b3f86 Ref Guide: fix numbered list to resolve build warnings 2019-04-06 08:11:15 -05:00
Chris Hostetter
afe1df1c22 set the lastmod of the files to be deleted to be 1 day ago so that '-remove_old_solr_logs 0' doesn't run afoul of coarse granularity timestamps on windows jenkins machines if the test starts and runs quickly
(cherry picked from commit 0b7421eca6715602c6233106a7501eaa29a91eb5)
2019-04-05 16:46:01 -07:00
Chris Hostetter
fe1a994fe2 Use FSDirectory for TestDocTermOrdsUninvertLimit to reduce the amount of RAM the test needs.
This lowers the risk of OOM, w/o needing to sacrifice testing of how the randomized merging/segments might impact the uninversion

(cherry picked from commit 37166ce4e9c4b9595f4c39be9b7b6d0947819f85)
2019-04-05 15:07:23 -07:00
Erick Erickson
37863e2d09 SOLR-12809: Document recommended Java/Solr combinations
(cherry picked from commit 7602f3c78eecc04f3b7beb511c43b6f276166874)
2019-04-05 10:22:44 -07:00
Erick Erickson
18dc7a5c96 SOLR-13075: Harden SaslZkACLProviderTest. Put AwaitsFix back
(cherry picked from commit 03d76c611b2ebe368edd4e3245d5be2a36cd73b0)
2019-04-05 08:49:43 -07:00
Joel Bernstein
bb596caecb SOLR-13374: Update CHANGES.txt 2019-04-05 09:09:11 -04:00
Joel Bernstein
e87514909b SOLR-13374: Add fetchSize parameter to the jdbc Streaming Expression 2019-04-05 08:54:00 -04:00
Jan Høydahl
4d95746b01 SOLR-12120: Harden AuditLoggerIntegrationTest, timing issues
(cherry picked from commit aadc94a6e3887955ed08439d32e29fe31b622a45)
2019-04-05 11:35:26 +02:00
Jan Høydahl
b0f4b5dc75 SOLR-12120: New AuditLoggerPlugin type allowing custom Audit logger plugins
(cherry picked from commit 361502da8ade7dbb4516da9816e8bafe22eb79a3)
2019-04-05 11:34:03 +02:00
Simon Willnauer
28e8a30b53 LUCENE-8671: Expose FST off/on-heap options on Lucene50PostingsFormat (#613)
Before we can expose options to configure this postings format
on a per-reader basis we need to expose the option to load the terms
index FST off or on heap on the postings format. This already allows to
change the default in a per-field posting format if an expert user
wants to change the defaults. This essentially provides the ability to change
defaults globally while still involving some glue code.
2019-04-04 17:00:32 +02:00
Jan Høydahl
9dd51915fa SOLR-13344: Admin UI inaccessible with RuleBasedAuthorizationPlugin
(cherry picked from commit 96ef35cd2cac71b8cc282e85419ca9846f3580e3)
2019-04-04 16:26:19 +02:00
Jason Gerlowski
4b86a39680 SOLR-13331: Fix AtomicUpdate 'remove' ops in SolrJ
The racent change introducing ByteArrayUtf8CharSequence altered the
NamedLists produced by atomic-update requests so that they include
instances of this class for requests coming in as javabin.  This is a
problem for 'remove' atomic-updates, which need to be able to compare
these ByteArrayUtf8CharSequence instances with existing field values
represented as Strings.  equals() would always return false, and
'remove' operations would have no effect.

This commit converts items as necessary to allow atomic-update
operations to work as expected.
2019-04-04 06:53:01 -04:00
Chris Hostetter
de1f62e52f Fix test to use solr.disable.shardsWhitelist=true rather then trying to whitelist the set of servers
The previous version of this test had a chicken/egg problem (needed to init the servers w/the whitelist but didn't know the port nums until after init)

that caused it to require 'restarting' the servers -- leading to the possibility of 'Address already in use' errors from jenkins machines if the OS reclaimed the port between the stop/start of the jetty instance

(cherry picked from commit 3fe4d0a30aab2fbe979c5d42014ac7d78260d0a4)
2019-04-03 15:15:36 -07:00
Kevin Risden
9f2e04b3f2
SOLR-13075: Harden SaslZkACLProviderTest (Kevin Risden, Hrishikesh Gadre, Peter Cseh)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-04-03 11:09:24 -04:00
Jason Gerlowski
fdeedce21f SOLR-13355: Add missing CHANGES.txt entry 2019-04-03 07:41:28 -04:00
Jason Gerlowski
d5b9fbee37 SOLR-13355: Obey 'ALL' for handlers with other predefined perms
Prior to this commit, RuleBasedAuthorizationPlugin would check for the
predefined 'ALL' permission only when the endpoint being hit wasn't
associated with another predefined-permission.

This resulted in some very unintuitive behavior. For example, the
permission {name:all, role:admin} would correctly prevent a
role:foo user from accessing /admin/info/properties, but would allow
write access to /admin/authorization because of the SECURITY_EDIT
predefined perm associated with that endpoint.

This commit fixes this bug so that the 'all' permission is always
consulted whether or not the endpoint is associated with other predefined
permissions.
2019-04-03 07:34:49 -04:00
Jason Gerlowski
68918206f5 SOLR-13355: Small refactors to RuleBasedAuthorizationPlugin 2019-04-03 07:34:37 -04:00