Commit Graph

55645 Commits

Author SHA1 Message Date
Rabi Panda acf7da78f9
Add release notes for version 2.0.0 (#3410)
Signed-off-by: Rabi Panda <adnapibar@gmail.com>
2022-05-20 13:48:58 -07:00
Suraj Singh 6699624dde
[Type removal] _type removal from tests of yaml tests (#3406)
* [Type removal] _type removal from tests of yaml tests

Signed-off-by: Suraj Singh <surajrider@gmail.com>

* Fix spotless failures

Signed-off-by: Suraj Singh <surajrider@gmail.com>

* Fix assertion failures

Signed-off-by: Suraj Singh <surajrider@gmail.com>

* Fix assertion failures in DoSectionTests

Signed-off-by: Suraj Singh <surajrider@gmail.com>
2022-05-20 10:29:55 -04:00
Andriy Redko 96b45ca103
[REMOVE] Cleanup deprecated thread pool types (FIXED_AUTO_QUEUE_SIZE) (#3369)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-19 17:20:26 -04:00
Tianli Feng 507f8ccdbd
Replace internal usages of 'master' term in 'server/src/internalClusterTest' directory (#2521)
Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-19 10:23:59 -07:00
Marc Handalian 704600871c
Fix Lucene-snapshots repo for jdk 17. (#3396)
Signed-off-by: Marc Handalian <handalm@amazon.com>
2022-05-19 09:46:03 -05:00
Suraj Singh 7a73fb561e
[Type removal] Remove _type from _bulk yaml test, scripts, unused constants (#3372)
* [Type removal] Remove redundant _type deprecation checks in bulk request

Signed-off-by: Suraj Singh <surajrider@gmail.com>

* [Type removal] bulk yaml tests validating deprecation on _type and removal from scripts

Signed-off-by: Suraj Singh <surajrider@gmail.com>
2022-05-18 17:04:29 -04:00
Suraj Singh daed5c190a
[Type removal] Remove _type deprecation from script and conditional processor (#3239)
* [Type removal] Remove _type deprecation from script and conditional processor

Signed-off-by: Suraj Singh <surajrider@gmail.com>

* Spotless check apply

Signed-off-by: Suraj Singh <surajrider@gmail.com>
2022-05-18 17:01:43 -04:00
Suraj Singh a76b04d014
[Type removal] _type removal from mocked responses of scroll hit tests (#3377)
Signed-off-by: Suraj Singh <surajrider@gmail.com>
2022-05-18 16:54:51 -04:00
dependabot[bot] fb26e179fc
Bump reactor-netty-core from 1.0.16 to 1.0.19 in /plugins/repository-azure (#3360)
* Bump reactor-netty-core in /plugins/repository-azure

Bumps [reactor-netty-core](https://github.com/reactor/reactor-netty) from 1.0.16 to 1.0.19.
- [Release notes](https://github.com/reactor/reactor-netty/releases)
- [Commits](https://github.com/reactor/reactor-netty/compare/v1.0.16...v1.0.19)

---
updated-dependencies:
- dependency-name: io.projectreactor.netty:reactor-netty-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-18 16:51:54 -04:00
Ankit Jain f8b102c565
Removing hard coded value of max concurrent shard requests (#3364)
Signed-off-by: Ankit Jain <jain.ankitk@gmail.com>
2022-05-18 12:51:21 -05:00
Suraj Singh 892e9846b5
[Type removal] Remove redundant _type in pipeline simulate action (#3371)
Signed-off-by: Suraj Singh <surajrider@gmail.com>
2022-05-18 13:43:32 -04:00
dependabot[bot] 76b5ea6309
Bump grpc-context from 1.45.1 to 1.46.0 in /plugins/repository-gcs (#3361)
* Bump grpc-context from 1.45.1 to 1.46.0 in /plugins/repository-gcs

Bumps [grpc-context](https://github.com/grpc/grpc-java) from 1.45.1 to 1.46.0.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.45.1...v1.46.0)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-context
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-18 10:32:47 -07:00
dependabot[bot] 87cb8a5960
Bump com.diffplug.spotless from 6.5.2 to 6.6.1 (#3356)
Bumps com.diffplug.spotless from 6.5.2 to 6.6.1.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-18 10:31:26 -07:00
Andriy Redko f021860a25
[REMOVE] Cleanup deprecated thread pool settings (AutoQueueAdjustingExecutorBuilder) (#3352)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-17 18:02:58 -07:00
Tianli Feng 8f8909fd54
Replace 'whitelist' terminology in Java API (#3350)
Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-17 13:34:05 -07:00
Tianli Feng 00c0bf2dd9
[TEST] Add back necessary tests for deprecated settings that are replaced during applying inclusive naming (#2825)
Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-17 10:37:52 -07:00
dependabot[bot] a8a82db430
Bump gax from 1.54.0 to 2.17.0 in /plugins/repository-gcs (#3336)
* Bump gax from 1.54.0 to 2.17.0 in /plugins/repository-gcs

Bumps [gax](https://github.com/googleapis/gax-java) from 1.54.0 to 2.17.0.
- [Release notes](https://github.com/googleapis/gax-java/releases)
- [Changelog](https://github.com/googleapis/gax-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/gax-java/compare/v1.54.0...v2.17.0)

---
updated-dependencies:
- dependency-name: com.google.api:gax
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Handled missing classes

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owais Kazi <owaiskazi19@gmail.com>
2022-05-17 09:46:51 -07:00
Andriy Redko c4705808e9
Remove deprecated methods from JodaCompatibleZonedDateTime which are called by scripts (#3346)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-16 15:38:17 -07:00
Owais Kazi e73a410139
Used set to make shell scripts more strict (#3278)
* Use set to make shell scripts more strict

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

* Change -o pipefail to -e

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>

* Set scripts to standard rule

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
2022-05-16 14:05:13 -04:00
dependabot[bot] 4886f8e162
Bump commons-collections4 from 4.1 to 4.4 in /plugins/ingest-attachment (#3339)
* Bump commons-collections4 from 4.1 to 4.4 in /plugins/ingest-attachment

Bumps commons-collections4 from 4.1 to 4.4.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-collections4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-16 11:47:08 -04:00
dependabot[bot] 2711d324f6
Bump re2j from 1.1 to 1.6 in /plugins/repository-hdfs (#3337)
* Bump re2j from 1.1 to 1.6 in /plugins/repository-hdfs

Bumps [re2j](https://github.com/google/re2j) from 1.1 to 1.6.
- [Release notes](https://github.com/google/re2j/releases)
- [Commits](https://github.com/google/re2j/compare/re2j-1.1...re2j-1.6)

---
updated-dependencies:
- dependency-name: com.google.re2j:re2j
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-16 11:46:35 -04:00
dependabot[bot] d734a9a783
Bump azure-storage-blob from 12.16.0 to 12.16.1 in /plugins/repository-azure (#3338)
* Bump azure-storage-blob in /plugins/repository-azure

Bumps [azure-storage-blob](https://github.com/Azure/azure-sdk-for-java) from 12.16.0 to 12.16.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-java/compare/azure-storage-blob_12.16.0...azure-storage-blob_12.16.1)

---
updated-dependencies:
- dependency-name: com.azure:azure-storage-blob
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-16 11:46:06 -04:00
dependabot[bot] 085cd70b8a
Bump org.gradle.test-retry from 1.3.2 to 1.4.0 (#3335)
Bumps org.gradle.test-retry from 1.3.2 to 1.4.0.

---
updated-dependencies:
- dependency-name: org.gradle.test-retry
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 11:45:31 -04:00
Tianli Feng 8460bcf2ec
Replace 'master' terminology with 'cluster manager' in 'plugins' directory (#3329)
* Replace 'master' terminology with 'cluster manager' in 'plugins' directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace master_node with cluster_manager_node in cluster.state API test

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-16 08:46:39 -04:00
Tianli Feng 5a02949bbe
Replace 'master' terminology with 'cluster manager' in 'modules' directory (#3328)
* Replace 'master' terminology with 'cluster manager' in modules directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace 'master' with 'cluster_manager' in yaml rest test files

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace master_node with cluster_manager_node in cluster.state API test

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-16 08:46:01 -04:00
Tianli Feng e2ad4ffbe9
Replace 'master' terminology with 'cluster manager' in 'qa' directory (#3330)
* Replace 'master' terminology with 'cluster manager' in 'qa' directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace master_node with cluster_manager_node in cluster.state API test

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-16 08:45:17 -04:00
Andriy Redko 38fb1d9275
Add resizable search queue to OpenSearch (picking up #826) (#3207)
* Make search/write queue resizable

Signed-off-by: Ruizhen <ruizhen@amazon.com>

* Address PR comments

Signed-off-by: Ruizhen <ruizhen@amazon.com>

* Refactoring resizable queue implementation

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Addressing code review comments

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Addressing code review comments

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Addressing code review comments

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Co-authored-by: Ruizhen <ruizhen@amazon.com>
2022-05-16 08:37:41 -04:00
Andriy Redko e074395452
Added Adoptium JDK8 support and updated DistroTestPlugin JDK version used by Gradle (#3324)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-13 16:39:14 -05:00
Andriy Redko 065e3cb80b
Update generated ANTLR lexer/parser to match runtime version (#3297)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-13 11:56:51 -05:00
Nick Knize 3aef125d0d
[Javadocs] add remaining internal classes and reenable missingJavadoc on server (#3296)
Adds the remaining javadocs to internal classes and reenables the missingJavadoc
gradle task on the server module. From here forward if class level javadocs are
missing in the server module, gradle check will fail!

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-12 14:29:58 -05:00
Tianli Feng 10bff0c9f5
Replace internal usages of 'master' term in 'test' directory (#3283)
* Replace internal usages of 'master' terminology in server/src/internalClusterTest directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace 'master' terminology with 'cluster manager' in test directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace 'master' terminology with 'cluster manager' in server/src/internalClusterTest directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Adjust format by spotlessApply task

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Replace 'master' terminology with 'cluster manager' in test directory

Signed-off-by: Tianli Feng <ftianli@amazon.com>

* Adjust format by spotlessApply task

Signed-off-by: Tianli Feng <ftianli@amazon.com>
2022-05-11 19:34:57 -04:00
Andriy Redko 677915dc00
Bootstrap should implement a denylist of Java versions (ranges) (#3164)
* Bootstrap should implement a denylist of Java versions (ranges)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Addressing code review comments

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-11 15:33:48 -07:00
Nick Knize ad7ce4cd44
[Javadocs] add to o.o.common (#3289)
Add javadocs to top level and internal classes in the org.opensearch.common
package.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-11 15:58:10 -05:00
Nick Knize 86f8dd65a4
[Javadocs] add to internal classes in o.o.http, indices, and search (#3288)
Adds javadocs to internal classes in org.opensearch.http, indices, and search
packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-11 13:52:28 -04:00
Nick Knize b78176afef
[Javadocs] add to o.o.action, index, and transport (#3277)
Adds javadocs to internal classes in org.opensearch.action, index, and transport
packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-10 17:18:07 -05:00
Andriy Redko a3030b5606
Update bundled JDK to 17.0.3+7 (#3093)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-10 14:48:36 -04:00
dependabot[bot] 675636fac2
Bump morfologik-stemming from 2.1.8 to 2.1.9 in /plugins/analysis-ukrainian (#3249)
* Bump morfologik-stemming in /plugins/analysis-ukrainian

Bumps [morfologik-stemming](https://github.com/morfologik/morfologik-stemming) from 2.1.8 to 2.1.9.
- [Release notes](https://github.com/morfologik/morfologik-stemming/releases)
- [Changelog](https://github.com/morfologik/morfologik-stemming/blob/master/CHANGES.txt)
- [Commits](https://github.com/morfologik/morfologik-stemming/compare/2.1.8...2.1.9)

---
updated-dependencies:
- dependency-name: org.carrot2:morfologik-stemming
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-10 14:06:16 -04:00
Andriy Redko f5c0b30a8e
Allow to configure POM for ZIP publication (#3252)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-10 12:18:36 -04:00
dependabot[bot] 132eabd675
Bump xz from 1.8 to 1.9 in /plugins/ingest-attachment (#3248)
* Bump xz from 1.8 to 1.9 in /plugins/ingest-attachment

Bumps xz from 1.8 to 1.9.

---
updated-dependencies:
- dependency-name: org.tukaani:xz
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-10 11:01:57 -05:00
Nick Knize 3b71ea6c1e
[Javadocs] add to o.o.search.rescore,searchafter,slice, sort, and suggest (#3264)
Adds class level javadocs to org.opensearch.search, and
org.opensearch.search.rescore, searchAfter, slice, sort, and suggest
subpackages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-09 16:20:56 -07:00
Nick Knize 1118dcf372
[Javadocs] add to o.o.dfs,fetch,internal,lookup,profile, and query packages (#3261)
Adds class level javadocs to org.opensearch.dfs, fetch, internal, lookup,
profile, and query packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-09 14:05:59 -05:00
Nick Knize 625623f932
[Javadocs] add to o.o.search.aggs, builder, and collapse packages (#3254)
Adds class level javadocs to org.opensearch.search.aggregations, builder, and
collapse packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-09 11:20:19 -07:00
dependabot[bot] 7779078e15
Bump google-http-client-appengine from 1.35.0 to 1.41.8 in /plugins/repository-gcs (#3247)
* Bump google-http-client-appengine in /plugins/repository-gcs

Bumps [google-http-client-appengine](https://github.com/googleapis/google-http-java-client) from 1.35.0 to 1.41.8.
- [Release notes](https://github.com/googleapis/google-http-java-client/releases)
- [Changelog](https://github.com/googleapis/google-http-java-client/blob/v1.41.8/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-http-java-client/compare/v1.35.0...v1.41.8)

---
updated-dependencies:
- dependency-name: com.google.http-client:google-http-client-appengine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-09 11:19:30 -07:00
dependabot[bot] 586303c21f
Bump com.diffplug.spotless from 6.5.1 to 6.5.2 (#3244)
Bumps com.diffplug.spotless from 6.5.1 to 6.5.2.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 14:16:33 -04:00
dependabot[bot] 1edcd480c1
Bump zookeeper from 3.7.0 to 3.8.0 in /plugins/repository-hdfs (#3251)
* Bump zookeeper from 3.7.0 to 3.8.0 in /plugins/repository-hdfs

Bumps zookeeper from 3.7.0 to 3.8.0.

---
updated-dependencies:
- dependency-name: org.apache.zookeeper:zookeeper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-09 14:16:14 -04:00
dependabot[bot] 3d8e54810f
Bump reactor-netty from 1.0.17 to 1.0.18 in /plugins/repository-azure (#3246)
* Bump reactor-netty from 1.0.17 to 1.0.18 in /plugins/repository-azure

Bumps [reactor-netty](https://github.com/reactor/reactor-netty) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/reactor/reactor-netty/releases)
- [Commits](https://github.com/reactor/reactor-netty/compare/v1.0.17...v1.0.18)

---
updated-dependencies:
- dependency-name: io.projectreactor.netty:reactor-netty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2022-05-09 14:13:29 -04:00
Andriy Redko e615ac1e07
Fixing PublishTests tests (running against unclean build folders) (#3253)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
2022-05-09 11:03:33 -07:00
Daniel Doubrovkine (dB.) 781fc6eb2e
Adding @Bukhtawar to OpenSearch maintainers. (#3231)
Signed-off-by: dblock <dblock@amazon.com>
2022-05-06 15:49:46 -04:00
Nick Knize 15161a8649
[Javadocs] add to o.o.rest, snapshots, and tasks packages (#3219)
Adds javadocs to org.opensearch.rest, snapshots, and tasks packages.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-06 11:03:01 -07:00
Nick Knize a7715ab6ce
[Javadocs] add to o.o.transport (#3220)
Adds javadocs to the org.opensearch.transport package.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
2022-05-06 08:36:04 -05:00