-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run CI on JDK 8 #302
Run CI on JDK 8 #302
Conversation
Build for JDK8 is failing both locally and in CI with following problem:
this is true for opensearch 1.2.0 and 1.30 SNAPSHOT versions. |
Seems this issue is blocked unless we'll be able to define dependency on opensearch artifact that has been built with JDK8. I've created a new issue for OpenSearch - opensearch-project/OpenSearch#2319 |
@martin-gaievski This should work now, rebase and try again? Also fix DCO. |
ab9d359
to
f6581ab
Compare
Codecov Report
@@ Coverage Diff @@
## 1.x #302 +/- ##
=========================================
Coverage 83.38% 83.38%
Complexity 885 885
=========================================
Files 127 127
Lines 3834 3834
Branches 361 361
=========================================
Hits 3197 3197
Misses 475 475
Partials 162 162 Continue to review full report at Codecov.
|
Include code coverage as badge. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: John Mazanec <jmazane@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Include release notes. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
remove rc1 qualifier. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Including rc1 release notes and features that are merged after latest odfe release to 1.0.0.0 Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: John Mazanec <jmazane@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Include release notes. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Including rc1 release notes and features that are merged after latest odfe release to 1.0.0.0 Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Add integtest automation Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * correct the credential option param here Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
update ci to build against 1.x branch and use snapshot. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Use 1.1.0.0 as default value instead of local. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: dblock <dblock@dblock.org> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
main tracks 1.x and builds on 1.x from upstream. Update version to 1.2.0-SNAPSHOT since next 1.x release is 1.2. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Fetch dependencies from published locations in the following order maven local, aws sonatype, central. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Include workflow to check whether commits are signed. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Since feature branch will have "feature/" as prefix, updated branch pattern to include feature branch as well. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: Jack Mazanec <jmazane1@nd.edu> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: Jack Mazanec <jmazane1@nd.edu> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: Jack Mazanec <jmazane1@nd.edu> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…ject#256) Signed-off-by: John Mazanec <jmazane@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…lection of floats (opensearch-project#253) * Changing serialization for knn vector from single array object to collection of floats rev2: * Addressing PR comments: - added getDefaultSerializer to Factory - moved SerializationMode enum to a separate file - added javadocs and comments - adjust format, added missing endline characters rev3: * Addressing multiple review comments: - replace Vector by KNNVector in class names and variables - fixed method names in Serializer interface - replace number of bytes in float from number to constant rev4: * Moving new classes under index.codec.util rev5: * Addressing multiple review comments: - rework factory method getSerializerByStreamContent - added test case for stream of unsupported content - removed exceptions from Serializer interface method's signatures, changed it to unchecked runtime exception - simplify license header in new classes Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…ject#261) Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Add Recall Tests Signed-off-by: Naveen Tatikonda <navtat@amazon.com> * Calculate Recall using document ids and other minor changes Signed-off-by: Naveen Tatikonda <navtat@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…pensearch-project#265) Signed-off-by: John Mazanec <jmazane@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…rch-project#266) * Adding gradle task for running integ tests in remote cluster Signed-off-by: Martin Gaievski <gaievski@amazon.com>
This change adds L2 space type fall back during query. This prevents backwards compatibility issues for clusters upgrading from ES 7.1 and 7.4. In those versions, space type was not introduced as a field attribute yet. Signed-off-by: John Mazanec <jmazane@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…#268) Measuring total took time will give a better picture of how long it will take to make a particular set of documents searchable. Signed-off-by: John Mazanec <jmazane@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…t#270) Makes the document and query count configurable in the benchmarking tool. With this functionality, users can now specify to only index or search a subset of the vectors in the data set. This is useful for indices that require training that may only need a subset of the data set for training. Signed-off-by: John Mazanec <jmazane@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Adding JDK 11 to CI matrix of java versions, replacing as minimum prerequisite in Dev readme guide. Main reason for change - JDK 11 is the latest supported LTS. Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Removes collecting ingest results from the benchmarking tool. On big data sets, this will prevent the process from going out of memory. Signed-off-by: John Mazanec <jmazane@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…pensearch-project#279) Sets the default value of space type to L2 in KNNIndexShard. KNNIndexShard is used during warmup to load segments into memory. For indices created in ES 7.1 and 7.4, they will not have this value set because the only space we supported was l2. So, we need to hardcode the defaults here. For nmslib, the ef_search parameter is configurable at load time. So, it needs to be passed as a parameter in both the search load phase as well as warmup. This commit adds it to the warmup phase and abstracts load parameters to a helper function so that it can be consistent for both search and warmup. Signed-off-by: John Mazanec <jmazane@amazon.com> (cherry picked from commit 2fb2ad1) Signed-off-by: Martin Gaievski <gaievski@amazon.com>
… (opensearch-project#286) Closes resource monitor at the end of the Codec tests so that there are no unparked threads. Signed-off-by: John Mazanec <jmazane@amazon.com> (cherry picked from commit 18e6e35) Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…#289) (opensearch-project#291) Signed-off-by: Vacha Shah <vachshah@amazon.com> (cherry picked from commit cb1a7d8) Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…earch-project#295) Updates direct Guava dependency to 30.0. Also, updates check style to 9.3 to inherent Guava fix. Remove deprecated features from check style xml config file. Signed-off-by: John Mazanec <jmazane@amazon.com> Signed-off-by: Martin Gaievski <gaievski@amazon.com>
…-project#298) Switches checkstyle functionality to spotless. Sets ratchetFrom to origin/1.x. This will mean it will only fail on files recently changed. Pull formatting from OpenSearch. Signed-off-by: John Mazanec <jmazane@amazon.com> (cherry picked from commit 0db9b2e) Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
45003c2
to
0535672
Compare
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Description
Adding JDK8 to CI matrix
Issues Resolved
100
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.