57e20f3 | Jason Tedor | 22 September 2017, 15:57:06 UTC | Upgrade to Log4j 2.9.1 This commit upgrades the Log4j dependency, picking up a fix for an issue with handling stack traces on JDK 9. Relates #26750 | 22 September 2017, 18:34:44 UTC |
8e83bfa | Ryan Ernst | 22 September 2017, 09:26:32 UTC | Plugins: Add backcompat for sha1 checksums (#26748) With 6.0 rc1 we now publish sha512 checksums for official plugins. However, in order to ease the pain for plugin authors, this commit adds backcompat to still allow sha1 checksums. Also added tests for checksums. Closes #26746 | 22 September 2017, 18:18:15 UTC |
eab7b25 | Christoph Büscher | 22 September 2017, 08:03:32 UTC | [Tests] Prevent test errors cause by empty field names (#26740) When random document sources are generated and the field name is empty or a whitespace-only name we can get MapperParsingExceptions in tests. This has been fixed in master by using RandomStrings.randomAsciiAlphanumOfLengthBetween() for the lead field name, but this method doesn't seem to be available on 5.x so this change excludes whitespace-only fieldnames. Closes #26736 | 22 September 2017, 08:03:32 UTC |
e297c53 | Martijn van Groningen | 22 September 2017, 05:22:05 UTC | aggs: Do not delegate a null scorer to LeafBucketCollectors Closes #26611 | 22 September 2017, 07:28:35 UTC |
7634d0c | Rik | 21 September 2017, 16:32:54 UTC | [Docs] Added link to Reindex API page (#26735) | 21 September 2017, 16:32:54 UTC |
5873f37 | Catherine Snow | 21 September 2017, 16:18:07 UTC | [Docs] Grammar fix (#26737) | 21 September 2017, 16:18:07 UTC |
1c3ce36 | Colin Goodheart-Smithe | 21 September 2017, 15:48:09 UTC | Adds 5.6.2 release notes | 21 September 2017, 15:48:09 UTC |
985320f | James Baiera | 21 September 2017, 15:31:51 UTC | Fix permission errors when using Read Only HDFS Repository (#26714) Listing the available snapshots under a readonly HDFDS repository before any other repository actions are performed is met with a security exception. Certain methods within the RPC layer are yet to be set accessible for usage in HDFS's dynamic-proxy-based RPC client. These methods would be set accessible during a privileged call in the validation step, but some validation steps are skipped for readonly repositories. This backports the relevant parts of HDFSPrivilegedInputStream to allow for initializing steps that would otherwise not be allowed by the codesources found on the stack trace. | 21 September 2017, 15:31:51 UTC |
18c58d9 | wasserman | 21 September 2017, 14:49:00 UTC | [Docs] Fixed typo of *configuration* (#25058) | 21 September 2017, 14:49:29 UTC |
5db3250 | Catherine Snow | 21 September 2017, 11:19:32 UTC | [Docs] Remove what appears to be merge conflict leftovers (#26731) | 21 September 2017, 11:19:32 UTC |
de2b2e6 | Jay Modi | 20 September 2017, 16:19:42 UTC | BulkProcessor flush runnable preserves the thread context from creation time (#26718) When using a bulk processor, the thread context was not preserved for the flush runnable which is executed in another thread in the thread pool. This change wraps the flush runnable in a context preserving runnable so that the headers and transients from the creation time of the bulk processor are available during the execution of the flush. Closes #26596 | 20 September 2017, 18:20:27 UTC |
3b0e119 | lcawley | 20 September 2017, 18:15:52 UTC | [DOCS] Added index-shared4 and index-shared5.asciidoc | 20 September 2017, 18:15:52 UTC |
6e9a2cc | Simon Willnauer | 20 September 2017, 15:53:12 UTC | Catch exceptions and inform handler in RemoteClusterConnection#collectNodes (#26725) This adds a missing catch block to invoke the action listener instead of bubbeling up the exception. Closes #26700 | 20 September 2017, 15:55:13 UTC |
73c9315 | Tahmim Ahmed Shibli | 20 September 2017, 15:07:19 UTC | [Docs] Fix name of character filter in example. (#26724) | 20 September 2017, 15:07:19 UTC |
3c21acc | Tanguy Leroux | 20 September 2017, 09:36:10 UTC | Make RestHighLevelClient's Request class public (#26627) Request class is currently package protected, making it difficult for the users to extend the RestHighLevelClient and to use its protected methods to execute requests. This commit makes the Request class public and changes few methods of RestHighLevelClient to be protected. | 20 September 2017, 10:06:47 UTC |
eeb573f | Igor Motov | 19 September 2017, 20:32:17 UTC | Upgrade API: fix excessive logging and unnecessary template updates (#26698) TemplateUpgradeService might get stuck in repeatedly upgrading templates after upgrade to 5.6.0. This is caused by shuffling mappings definition in the template during template serialization. This commit makes the template serialization consistent. Closes #26673 | 20 September 2017, 00:06:47 UTC |
3209bcd | Michael Basnight | 19 September 2017, 23:15:32 UTC | Add setup and teardown for old cluster tests (#26713) The tests recently got refactored to add a few tests depending on the version the tests are run against. But since the tests are not run in order, the writes that were in one test caused failures in others if run out of order. The indices that this test use are also important as they are validated post upgrade, so we cannot simply add a setup/teardown to clean up. The best way to keep these tests going was to duplicate the test so that it can be run fully depending on the version, and the downstream tests that depend on these upgrade indices do not have to be refactored. | 19 September 2017, 23:15:32 UTC |
c42eade | James Baiera | 12 June 2017, 13:41:35 UTC | Backporting "Sense for VirtualBox and $HOME when deciding to turn on vagrant testing. (#24636)" | 19 September 2017, 14:48:04 UTC |
46667e5 | Martijn van Groningen | 19 September 2017, 13:13:45 UTC | test: Use a single primary shard so that the exception can caught in the same way | 19 September 2017, 13:14:59 UTC |
e7509fa | Armin Braun | 19 September 2017, 10:02:05 UTC | Invalid JSON request body caused endless loop (#26680) Request bodys that only consists of a String value can lead to endless loops in the parser of several rest requests like e.g. `_count`. Up to 5.2 this seems to have been caught in the logic guessing the content type of the request, but since then it causes the node to block. This change introduces checks for receiving a valid xContent object before starting the parsing in RestActions#parseTopLevelQueryBuilder(). Closes #26083 | 19 September 2017, 11:03:35 UTC |
66f0fa8 | Martijn van Groningen | 17 July 2017, 13:24:43 UTC | inner hits: Do not allow inner hits to be specified on a nested that has a object field as parent field and that parent field is defined as an array field in the _source of the document inner hits are being computed for. Closes #25315 | 19 September 2017, 09:38:09 UTC |
72c334f | Nicolás Bevacqua | 19 September 2017, 08:41:23 UTC | Fix code example indentation (#26697) | 19 September 2017, 08:41:23 UTC |
fbfc6d8 | Jack Conradson | 19 September 2017, 00:51:56 UTC | Add missing script contexts and types allowed settings. (#26703) | 19 September 2017, 00:51:56 UTC |
ff43813 | Michael Basnight | 18 September 2017, 21:11:47 UTC | Add skip version to rolling upgrade test (#26632) The stored search template API became deprecated in 5.6.0 so the version max should be added. | 18 September 2017, 21:11:47 UTC |
1979598 | Nik Everett | 18 September 2017, 18:00:55 UTC | Handle release of 5.6.1 * bump version to 5.6.2 * add bwc index for 5.6.1 | 18 September 2017, 18:02:07 UTC |
310b8f3 | Deb Adair | 18 September 2017, 16:10:20 UTC | [DOCS] Bumped version for 5.6.1 | 18 September 2017, 16:10:20 UTC |
a6cdfd5 | lcawley | 14 September 2017, 23:18:29 UTC | [DOCS] Remove edit link from ML node | 15 September 2017, 15:47:50 UTC |
b5fc5ba | Bernd | 14 September 2017, 13:34:07 UTC | [Docs] Correct typo in removal_of_types.asciidoc (#26646) | 15 September 2017, 14:10:49 UTC |
99c2e47 | Claudio Bley | 15 September 2017, 10:25:09 UTC | Fix kuromoji default stoptags (#26600) Initialize the default stop-tags in `KuromojiPartOfSpeechFilterFactory` if the `stoptags` are not given in the config. Also adding a test which checks that part-of-speech tokens are removed when using the kuromoji_part_of_speech filter. | 15 September 2017, 14:00:35 UTC |
fc49997 | Dimitrios Liappis | 15 September 2017, 13:14:47 UTC | Docs: Use single-node discovery.type for dev example For the single node, dev example, the `discovery.type=single-node`[1],[2] is a perfect fit and makes the example shorter and more self explanatory. Also expose the transport port, to help with dev use-cases using the transport client. [1] https://github.com/elastic/elasticsearch/pull/23595 [2] https://github.com/elastic/elasticsearch/pull/23598 Relates #26289 | 15 September 2017, 13:22:18 UTC |
fde220f | markwalkom | 15 September 2017, 09:11:55 UTC | [Docs] Update ingest.asciidoc (#26599) Added a brief note to clarify where configured pipelines are stored (cluster state). | 15 September 2017, 09:11:55 UTC |
667b497 | Michael Basnight | 14 September 2017, 16:05:46 UTC | Add missing catch arguments to the rest api spec (#26536) | 14 September 2017, 16:11:21 UTC |
62b8e10 | Colin Goodheart-Smithe | 14 September 2017, 14:25:51 UTC | Fixes broken release notes | 14 September 2017, 14:25:51 UTC |
566f3f1 | Jim Ferenczi | 14 September 2017, 07:31:14 UTC | Fix percolator highlight sub fetch phase to not highlight query twice (#26622) * Fix percolator highlight sub fetch phase to not highlight query twice The PercolatorHighlightSubFetchPhase does not override hitExecute and since it extends HighlightPhase the search hits are highlighted twice (by the highlight phase and then by the percolator). This does not alter the results, the second highlighting just overrides the first one but this slow down the request because it duplicates the work. | 14 September 2017, 13:09:37 UTC |
4507e30 | Colin Goodheart-Smithe | 14 September 2017, 11:00:07 UTC | Adds release notes for 5.6.1 | 14 September 2017, 11:00:07 UTC |
ed5852b | Daniel A. Ochoa | 14 September 2017, 08:10:34 UTC | [Docs] Update link in removal_of_types.asciidoc (#26614) Fix link to [parent-child relationship]. | 14 September 2017, 08:10:34 UTC |
661a304 | Boaz Leskes | 15 July 2017, 07:28:17 UTC | testMockFailToSendNoConnectRule should wait for connection close to bubble up and disconnect the node calling `connection.close()` and the node being removed from the `connectedNodes` list (but the connection is immediately unusuable). Fixes #25686 | 13 September 2017, 17:08:20 UTC |
9d53bed | Tanguy Leroux | 13 September 2017, 15:28:31 UTC | [Docs] Clarify size parameter in Completion Suggester doc (#26617) | 13 September 2017, 15:38:02 UTC |
b8f2f46 | Jim Ferenczi | 13 September 2017, 14:09:00 UTC | Fix incomplete sentences in parent-join docs (#26623) * Fix incomplete sentences in parent-join docs Closes #26590 | 13 September 2017, 14:12:15 UTC |
f26ef69 | Ivan Brusic | 13 September 2017, 11:58:30 UTC | Add boolean similarity to built in similarity types (#26613) | 13 September 2017, 13:04:13 UTC |
efb06bc | Jim Ferenczi | 13 September 2017, 09:37:34 UTC | Fix unmapped_type creation for indices created in 2.x (#26602) Setting unmapped_type to `keyword` to sort an index created in 2.x throws an UnsupportedOperationException Fixes #26162 | 13 September 2017, 09:37:34 UTC |
3cc396b | Russ Cam | 13 September 2017, 03:31:01 UTC | Add MSI breaking change to release notes (#26593) | 13 September 2017, 03:31:01 UTC |
59f1d55 | Russ Cam | 13 September 2017, 03:23:12 UTC | Add beta tag to MSI Windows Installer (#26616) (cherry picked from commit 62a7205577b6e462c27681135b97ce4af051b58e) | 13 September 2017, 03:27:38 UTC |
d39ac99 | Michael Basnight | 12 September 2017, 14:49:34 UTC | Bump ES version to 5.6.1 (#26586) Minor modifications from the _UNRELEASED changes. | 12 September 2017, 14:49:34 UTC |
854ef6b | Adrien Grand | 12 September 2017, 08:16:06 UTC | Upgrade to Lucene-6.6.1. (#26535) Here is the 6.6.1 changelog: Bug Fixes * LUCENE-7869: Changed MemoryIndex to sort 1d points. In case of 1d points, the PointInSetQuery.MergePointVisitor expects that these points are visited in ascending order. The memory index doesn't do this and this can result in document with multiple points that should match to not match. (Martijn van Groningen) * LUCENE-7878: Fix query builder to keep the SHOULD clause that wraps multi-word synonyms. (Jim Ferenczi) | 12 September 2017, 08:16:06 UTC |
5a32d0e | Deb Adair | 11 September 2017, 14:28:20 UTC | [DOCS] Set release-state to released. | 11 September 2017, 14:28:20 UTC |
cf1e7a1 | Jason Tedor | 11 September 2017, 12:08:16 UTC | Fix compilation in Build.java The compilation error arose from a backport from another branch where the method in question does exist. This commit fixes the compilation error by using another method that achieves the same. | 11 September 2017, 12:11:49 UTC |
b067831 | Jason Tedor | 11 September 2017, 11:42:11 UTC | Snapshot fallback should consider build.snapshot When determining if a build is a snapshot build, we look for a field in the JAR manifest. However, when running tests, we are not running with a compiled core Elasticsearch JAR, we are running with the compiled core classes on the classpath. We have a fallback for this, we always assume such a situation is a snapshot build. However, when running builds with -Dbuild.snapshot=false, this is not the case. As such, we need to fallback to the value of build.snapshot. However, there are cases where we are not running with a compiled core Elasticsearch JAR (e.g., when the transport client is embedded in a web container) so we should only do this fallback if we are in tests. To verify we are in tests, we check if randomized runner is on the classpath. Relates #26554 | 11 September 2017, 11:44:23 UTC |
0267a0e | jiangzhuolin | 11 September 2017, 08:06:14 UTC | [Docs] Update method setSource(byte[] source) (#26561) The method setSource(byte[]) from the type IndexRequestBuilder is deprecated, use the method setSource(byte[] source, XContentType xContentType). * add a whitespace after the comma add a whitespace after the comma for better readability. | 11 September 2017, 08:07:07 UTC |
26285f8 | Md.Abdulla-Al-Sun | 09 September 2017, 20:25:31 UTC | [Docs] Fix typo in javadocs (#26556) | 09 September 2017, 20:28:34 UTC |
c41407d | Jason Tedor | 09 September 2017, 19:28:26 UTC | Allow multiple digits in Vagrant 2.x minor versions This commit allows the minor version in Vagrant 2.x versions to have two digits when we perform the Vagrant version check. | 09 September 2017, 19:39:53 UTC |
d579ce6 | Kevin Risden | 09 September 2017, 19:27:21 UTC | Support Vagrant 2.x This commit adds support for Vagrant 2.x by allowing these versions to pass the Vagrant version check. Relates #26563 | 09 September 2017, 19:39:22 UTC |
fbecfd8 | Jason Tedor | 08 September 2017, 01:47:50 UTC | Remove maybe-stale norelease pattern This commit removes an old norelease pattern that has been in the codebase since late 2015. Given its age, and that it is failing a new CI job that we added, I am electing to remove it. | 08 September 2017, 01:47:50 UTC |
781a835 | Ryan Ernst | 07 September 2017, 01:57:10 UTC | Internal: Add versionless alias for rest client codebase in policy files (#26521) Security manager policy files contains grants for specific codebases, where a codebase is a jar file. We use a system property containing the name of the jar file to resolve the jar file location when parsing the policy file. However, this means the version of the jars must be modified when versions of dependencies change. This is particularly messy for elasticsearch, where we now have a dependency on the rest client, and need to support both a snapshot version for testing and non snapshot for release. This commit adds an alias for the elasticsearch rest client without a version to be used in policy files. That allows the policy files to not care whether the rest client is a snapshot or release. | 07 September 2017, 02:07:43 UTC |
47cd516 | Jason Tedor | 06 September 2017, 17:44:20 UTC | Fix cache compute if absent for expired entries When a cache entry expires, it remains in the cache (both the segment that it belongs to, and the LRU list) until an eviction occurs. The problem here is that the compute if absent implementation relies on there not being an association to a key that we are trying to put because it internally uses put if absent on the underlying segment. If we try to put an association for a key that has expired but not been evicted, then compute if absent will return as if there is nothing in the cache for the given key, yet no call to compute if absent will succeed in putting a new association for the key. To remedy this, we modify the internal get method for the cache to let the caller take action if the entry they are retrieving is expired. This allows the compute if absent method to take the action of evicting the entry from the cache, thus allowing the put if absent method used by compute if absent to succeed for one of the callers trying to compute if absent a new association. Relates #26516 | 06 September 2017, 17:45:18 UTC |
adab020 | Tanguy Leroux | 06 September 2017, 12:18:13 UTC | [Docs] Add "Using Java Builders" section (#26517) The current "Building Queries" and "Building Aggregations" pages are located under the "Supported Apis" section because they are linked to the "Search API" page. It should instead be in a dedicated section: this commit adds a new "Using Java Builders" section and renames few filenames in favor of more meaningful names. | 06 September 2017, 12:18:13 UTC |
8323bdf | Tanguy Leroux | 06 September 2017, 07:58:46 UTC | Forbid direct usage of ContentType.create() methods (#26457) It's easy to create a wrong Content-Type header when converting a XContentType to a Apache HTTP ContentType instance. This commit the direct usages of ContentType.create() methods in favor of a Request.createContentType(XContentType) method that does the right thing. Closes #26438 | 06 September 2017, 08:20:59 UTC |
34958af | Jason Tedor | 05 September 2017, 23:38:17 UTC | Add Log4j to SLF4J binding for repository-hdfs This commit adds the Log4j to SLF4J binding JAR to the repository-hdfs plugin so that SLF4J can detect Log4j at runtime and therefore use the server Log4j implementation for logging (and the usual Elasticsearch APIs can be used for setting logging levels). Relates #26514 | 05 September 2017, 23:40:08 UTC |
8a73898 | marcocova | 05 September 2017, 08:42:58 UTC | [Docs] Fix wrong indent in gateway documentation (#26501) This changeset fixes a spurious indent that causes a code block to be generated instead of a regular paragraph. | 05 September 2017, 08:44:50 UTC |
91cb238 | shaulzorea | 04 September 2017, 04:39:39 UTC | fixing typo in nested-aggregation.asciidoc (#26481) | 04 September 2017, 04:42:07 UTC |
0d1f1b8 | Jason Tedor | 02 September 2017, 13:47:39 UTC | Clarify development vs. production mode The definition of development vs. production mode has evolved slightly over time (with the introduction of single-node) discovery. This commit clarifies the documentation to better account for this adjustment. Relates #26460 | 02 September 2017, 13:49:37 UTC |
f1ed9a7 | Jason Tedor | 01 September 2017, 23:25:06 UTC | Prettify primary response in assertion message We are getting the default Object#toString implementation here, we need more than this. This commit instead formats the primary response to JSON so we can see into its soul. | 01 September 2017, 23:29:33 UTC |
f9c09b2 | Jason Tedor | 01 September 2017, 17:16:25 UTC | Remove inadvertently added line from test method This commit adds a line that was accidentally copied and pasted from one test into another. | 01 September 2017, 17:16:25 UTC |
c04eead | Jason Tedor | 01 September 2017, 17:15:38 UTC | Skip another logging test on JDK 9 This commit adds another skip on JDK 9 for a broken logging test due to an upstream bug in Log4j on JDK 9. | 01 September 2017, 17:15:38 UTC |
7678413 | Jason Tedor | 01 September 2017, 16:38:22 UTC | Skip some logging tests on JDK 9 There is a bug in Log4j on JDK 9 for walking the stack to find where a log line is coming from. This bug is impacting some of our testing, so this commit marks these tests as skippable only on JDK 9 until the bug is fixed upstream. Relates #26467 | 01 September 2017, 16:43:02 UTC |
31f8331 | Michael Basnight | 01 September 2017, 13:57:16 UTC | Add a shading example to the rest client docs This adds a maven and gradle example for shading as well as the caveat about shading and commons logging. Ref #26449 | 01 September 2017, 14:23:12 UTC |
b1a513d | Jason Tedor | 31 August 2017, 22:22:53 UTC | Reenable BWC tests after backport This commit reenables the BWC tests after they were disabled for backporting a change that had broad BWC implications. | 01 September 2017, 04:47:01 UTC |
ad374be | Ryan Ernst | 31 August 2017, 23:04:18 UTC | Test: Quiet failing java 9 test due to log4j upgrade See https://github.com/elastic/elasticsearch/issues/26464 | 01 September 2017, 03:46:34 UTC |
e95cb29 | Jason Tedor | 31 August 2017, 18:37:02 UTC | Allow double aborts on bulk item requests In some cases a request can already be aborted and retried. This means the condition that aborting a request should only happen when an item has not been processed yet is too strict. This commit allows for a double abort. If we attempt to abort an operation that was previously processed but not aborted, we treat that as a hard failure. Relates #26434 | 31 August 2017, 18:41:38 UTC |
ad10f48 | Tim Vernum | 31 August 2017, 11:23:14 UTC | Allow abort of bulk items before processing (#26434) Adds support for bulk items to be aborted before they are processed by the TransportShardBulkAction. This can be used by an ActionFilter to reject a subset of the items in a bulk action without rejecting the whole action (or all the items for a shard). | 31 August 2017, 16:47:01 UTC |
5a8bba4 | Jason Tedor | 31 August 2017, 13:54:35 UTC | Upgrade to Log4j 2.9.0 This commit upgrades the Log4j dependency from version 2.8.2 to version 2.9.0. Relates #26450 | 31 August 2017, 13:58:13 UTC |
1c703ca | Jason Tedor | 30 August 2017, 17:00:32 UTC | Use short name for invoking wrapper script When starting a node in standalone tests, we sometimes use a wrapper script as opposed to starting Elasticsearch directly (this is used for backgrounding). On Windows, the path to this wrapper script can be exceptionally long, exceeding the length of a batch script that cmd.exe will invoke without whining. This commit replaces using the full path name for this wrapper script by the short name for the wrapper script. Additionally, the data, configuration, and jvm.options paths can also end up being too long so we shorten those too. Care has to be taken with the data directory because we usually rely on the node creating it on startup but doing that will not be compatible with getting the short name as that requires the directory already existing. Therefore, we create that directory on-demand immediately before actually resolving the short name. Relates #26444 | 30 August 2017, 17:00:32 UTC |
fbef063 | Ryan Ernst | 28 August 2017, 21:10:06 UTC | Build: Add git hashes used as build metadata (#26397) This commit adds files to the build output called build_metadata which contain key/value pairs of metadata associated with the build. The first use of this metadata are the git hashes associated with bwc checkouts. These metadata files will be picked up by CI intake jobs and stored along with last-good-commit, and then passed back in throug the BUILD_METADATA env var on periodic jobs. | 29 August 2017, 20:33:28 UTC |
2fa6a4f | Jason Tedor | 29 August 2017, 20:30:13 UTC | Fix missing imports for MockTcpTransport These were dropped on a backport so this commit returns them. | 29 August 2017, 20:30:13 UTC |
aa8252f | Jason Tedor | 29 August 2017, 20:22:38 UTC | Adapt Netty 3 to avoid blocking on channel close This commit adapts the Netty 3 transport implementation to changes to avoid blocking on channel close on a network thread. These changes were backported from master yet not adapted for Netty 3 during the backport so this handles that. Relates #25521 | 29 August 2017, 20:22:38 UTC |
43d193a | Tim Brooks | 10 July 2017, 15:50:51 UTC | Avoid blocking on channel close on network thread (#25521) Currently when we close a channel in Netty4Utils.closeChannels we block until the closing is complete. This introduces the possibility that a network selector thread will block while waiting until a separate network selector thread closes a channel. For instance: T1 closes channel 1 (which is assigned to a T1 selector). Channel 1's close listener executes the closing of the node. That means that T1 now tries to close channel 2. However, channel 2 is assigned to a selector that is running on T2. T1 now must wait until T2 closes that channel at some point in the future. This commit addresses this by adding a boolean to closeChannels indicating if we should block on close. We only set this boolean to true if we are closing down the server channels at shutdown. This call is never made from a network thread. When we call the closeChannels method with that boolean set to false, we do not block on close. | 29 August 2017, 19:03:13 UTC |
5d638a4 | Alexander Reelsen | 29 August 2017, 15:16:18 UTC | Scripting: Deprecate scripts.max_compilation_per_minute setting (#26420) This setting will be replaced with script.max_compilation_rate in Elasticsearch 6.0, thus it can be marked as deprecated in 5.6. The REST tests that delete a setting, ensure that this setting exists before, as otherwise a bug is hit, that the required header is not returned (see #26419). | 29 August 2017, 15:16:18 UTC |
1550e66 | Michael Basnight | 29 August 2017, 14:30:52 UTC | Revert "[Docs] Update Java Low-Level documentation to reflect shaded deps (#25882)" This reverts commit 48d027b8c87c667ef0846aec1ba7fb154660bbeb. Ref #26328 | 29 August 2017, 14:30:52 UTC |
1353f42 | Colin Goodheart-Smithe | 29 August 2017, 10:30:46 UTC | [DOCS] Updates 5.6.0 release notes | 29 August 2017, 10:30:46 UTC |
0ad4e7b | Colin Goodheart-Smithe | 29 August 2017, 10:21:36 UTC | [DOCS] Updates 5.5.3 release notes | 29 August 2017, 10:22:34 UTC |
a410ca7 | Alexander Reelsen | 29 August 2017, 09:07:17 UTC | Revert "Scripting: Deprecate scripts.max_compilation_per_minute setting (#26402)" This reverts commit 4fc899d07cf04bfc7d37795e289c051cddaca62d. The order of tests in the REST tests decides about failures, this needs to be fixed first. | 29 August 2017, 09:07:17 UTC |
4fc899d | Alexander Reelsen | 29 August 2017, 07:38:22 UTC | Scripting: Deprecate scripts.max_compilation_per_minute setting (#26402) This setting will be replaced with script.max_compilation_rate in Elasticsearch 6.0, thus it can be marked as deprecated in 5.6. | 29 August 2017, 07:38:22 UTC |
00aeaf5 | Jason Tedor | 29 August 2017, 00:47:42 UTC | setgid on /etc/elasticearch on package install When creating the keystore explicitly (from executing elasticsearch-keystore create) or implicitly (for plugins that require the keystore to be created on install) on an Elasticsearch package installation, we are running as the root user. This leaves /etc/elasticsearch/elasticsearch.keystore having the wrong ownership (root:root) so that the elasticsearch user can not read the keystore on startup. This commit adds setgid to /etc/elasticsearch on package installation so that when executing this directory (as we would when creating the keystore), we will end up with the correct ownership (root:elasticsearch). Additionally, we set the permissions on the keystore to be 660 so that the elasticsearch user via its group can read this file on startup. Relates #26412 | 29 August 2017, 00:51:33 UTC |
230de00 | shaulzorea | 28 August 2017, 08:23:56 UTC | [Docs] Fixing phrasing in has-parent-query.asciidoc (#26396) | 28 August 2017, 08:25:02 UTC |
50ef7ef | Nik Everett | 07 June 2017, 15:36:29 UTC | Fix compilation in eclipse (#25107) It looks like eclipse blows up when you take a method reference to varargs method in a finally method: https://bugs.eclipse.org/bugs/show_bug.cgi?id=517951 | 25 August 2017, 15:20:53 UTC |
3c970b8 | Christoph Büscher | 25 August 2017, 11:10:03 UTC | Register ip_range aggregation with the high level client (#26383) The parser for the `ip_range` aggregation response is currently missing from the NamedXContentRegistry in the high level rest client. Also changes the testing around the expected number of parsers so we at least check that we register all the parsers that we also test in InternalAggregationTestCase. | 25 August 2017, 12:09:57 UTC |
5cf3ac5 | Marco Monaco | 25 August 2017, 09:18:16 UTC | Register ParsedTopHits aggregation with the rest high level client (#26370) | 25 August 2017, 09:34:30 UTC |
b546d5d | Matt Bargar | 25 August 2017, 08:55:54 UTC | Fix the mention of split_on_whitespace's default value in QSQ docs (#26372) | 25 August 2017, 08:55:54 UTC |
f41942c | Colin Goodheart-Smithe | 25 August 2017, 08:15:24 UTC | [DOCS] Adds release notes for 5.5.3 | 25 August 2017, 08:16:47 UTC |
42adf14 | Ryan Ernst | 25 August 2017, 05:46:30 UTC | Build: Allow build to configure which license/notice to embed in jars (#26373) We currently add the apache license/notice for elasticsearch to any plugin that uses our ES plugin gradle plugin. However, each plugin should be able to use their own license. This commit adds a licenseFile and noticeFile property to the root of project's using BuildPlugin, which is added to jar files for that project. | 25 August 2017, 06:55:54 UTC |
e997ec9 | Michael Basnight | 24 August 2017, 21:09:12 UTC | Revert shading for the low level rest client At current, we do not feel there is enough of a reason to shade the low level rest client. It caused problems with commons logging and IDE's during the brief time it was used. We did not know exactly how many users will need this, and decided that leaving shading out until we gather more information is best. Users can still shade the jar themselves. For information and feeback, see issue #26366. Ref #26328 This reverts commit d7d8300b143fe8f5456fbc20d9e869e5bd68a98f. This reverts commit 8a4b33e30e491c26bdda08eb37aab2dd472bb5cb. This reverts commit 236d2e5bae9ba06c901e39f91719c36e43be84a3. This reverts commit 8c29155aa8b45c106be873e14961832704a200ef. | 25 August 2017, 00:03:43 UTC |
f49feb8 | Jason Tedor | 24 August 2017, 22:46:49 UTC | Handle long paths on Windows for standalone tests In some cases our Windows builds fail due to long path names that arise from a combination of long build job names plus long sub-project names. While newer versions of Windows can handle long paths, invoking batch scripts longer than 260 characters via cmd.exe is still problematic. This leads to failing integration tests because we can not run the commands to install plugins, create the keystore, and start the node. This commit handles this by converting all paths on Windows used to start an Elasticsearch node to short path names. Relates #26365 | 24 August 2017, 22:56:22 UTC |
8822637 | Colin Goodheart-Smithe | 24 August 2017, 13:43:11 UTC | Updates 5.6.0 release notes | 24 August 2017, 13:43:11 UTC |
9ab7a58 | Colin Goodheart-Smithe | 24 August 2017, 09:45:53 UTC | [TEST] Fixes docs tests https://github.com/elastic/elasticsearch/commit/587409e893858dac5ca2dd3a78584bacbb424708 introduced a bug where an example of the format of a request which contained placeholder values was attempted to be tested. This change adds `NOTCONSOLE` to that snippet as the immediately following snippet tests a concrete example. | 24 August 2017, 11:36:55 UTC |
fa0d19b | Jason Tedor | 24 August 2017, 01:21:56 UTC | Fix logging level docs This commit fixes an issue with the logging level docs reported as unconverted snippets. | 24 August 2017, 01:24:16 UTC |
e05d6e6 | Jason Tedor | 23 August 2017, 17:21:44 UTC | Add docs regarding setting logging levels This commit clarifies the various ways of setting logging levels and in what circumstances they are appropriate. Relates #26344 | 23 August 2017, 17:25:14 UTC |
1d48d5b | Yannick Welsch | 23 August 2017, 05:15:15 UTC | Set classpath on Painless apiJavadoc task so it also works on JDK 9 | 23 August 2017, 05:16:30 UTC |
1f871e9 | Yannick Welsch | 23 August 2017, 00:48:27 UTC | Use Javadoc tool from JAVA_HOME (#26330) We currently run the javadoc executable from the JDK that runs Gradle, not the JDK from JAVA_HOME. Relates to #24733 | 23 August 2017, 00:49:45 UTC |
d27e9d9 | Yannick Welsch | 23 August 2017, 00:40:05 UTC | Add workaround for Javadoc generation issues on JDK 9 b181 The javadoc tool on JDK 9 has issues with the combination of anonymous classes and varargs parameters. This commit simply refactors a few anonymous classes to private inner classes. | 23 August 2017, 00:47:42 UTC |
ea053e8 | Jim Ferenczi | 22 August 2017, 13:29:15 UTC | #26305: fix tests after backport | 22 August 2017, 13:29:39 UTC |