mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
This commit ensures that upon reopening a job, the in-memory model size stats are correctly initialized from the ones last persisted in the results index. This fixes the bug that could be seen upon opening a job that has processed data and immediately calling its _stats API only to see the model size stats are zero. In addition, this PR refactors getting the parameters needed to open an autodetect job: - Previously, there was a method chaining together multiple callbacks to the job provider. - These methods were retrieving data via GETs which is not going to work with index rollover. Note, this PR is not eliminating all GETs. More work is needed to fully support index rollover. relates elastic/x-pack-elasticsearch#801 Original commit: elastic/x-pack-elasticsearch@1ef1d44b32
= Elasticsearch X Pack A set of Elastic's commercial plugins: - License - Security - Watcher - Monitoring - Machine Learning = Setup You must checkout x-pack and elasticsearch with a specific directory structure. The elasticsearch checkout will be used when building x-pack. The structure is: - /path/to/elastic/elasticsearch - /path/to/elastic/elasticsearch-extra/x-pack-elasticsearch == Native Code **This is mandatory as tests depend on it** Machine Learning requires platform specific binaries, build from https://github.com/elastic/machine-learning-cpp via CI servers. The native artifacts are stored in S3. To retrieve them infra's team Vault service is utilized, which requires a github token. Please setup a github token as documented: https://github.com/elastic/infra/blob/master/docs/vault.md#github-auth The github token has to be put into ~/.elastic/github.token, while the file rights must be set to 0600. = Build - Run unit tests: + [source, txt] ----- gradle clean test ----- - Run all tests: + [source, txt] ----- gradle clean check ----- - Run integration tests: + [source, txt] ----- gradle clean integTest ----- - Package X-Pack (wihtout running tests) + [source, txt] ----- gradle clean assemble ----- - Install X-Pack (wihtout running tests) + [source, txt] ----- gradle clean install -----
Description
Languages
Java
99.5%
Groovy
0.4%