Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,12 @@ private void dispatchTaskWithLeastLoad(ActionListener<DiscoveryNode> listener) {
private void dispatchTaskWithRoundRobin(ActionListener<DiscoveryNode> listener) {
DiscoveryNode[] eligibleNodes = nodeHelper.getEligibleNodes();
if (eligibleNodes == null || eligibleNodes.length == 0) {
throw new MLResourceNotFoundException("no eligible node found, ml node is required to run this request");
throw new MLResourceNotFoundException(
"No eligible node found to execute this request. It's best practice to"
+ " provision ML nodes to serve your models. You can disable this setting to serve the model on your data"
+ " node for development purposes by disabling the \"plugins.ml_commons.only_run_on_ml_node\" "
+ "configuration using the _cluster/setting api"
);
}
dispatchTaskWithRoundRobin(eligibleNodes, listener);
}
Expand Down
35 changes: 35 additions & 0 deletions release-notes/opensearch-ml-common.release-notes-2.5.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
## Version 2.5.0.0 Release Notes

Compatible with OpenSearch 2.5.0

### Features
* Add native memory circuit breaker. ([#689](https://github.com/opensearch-project/ml-commons/pull/689))

### Enhancements
* add more parameters for text embedding model ([#640](https://github.com/opensearch-project/ml-commons/pull/640))
* add more pooling method and refactor ([#672](https://github.com/opensearch-project/ml-commons/pull/672))
* add ML task timeout setting and clean up expired tasks from cache ([#662](https://github.com/opensearch-project/ml-commons/pull/662))
* change only run on ml node setting default value to true ([#686](https://github.com/opensearch-project/ml-commons/pull/686))

### Infrastructure
* unit tests coverage for load/unload/syncup ([#592](https://github.com/opensearch-project/ml-commons/pull/592))
* Add .whitesource configuration file ([#626](https://github.com/opensearch-project/ml-commons/pull/626))
* bump djl to 0.20 and add onnxruntime-gpu dependency ([#644](https://github.com/opensearch-project/ml-commons/pull/644))
* Remove jackson-databind and jackson-annotations dependencies now coming from core ([#652](https://github.com/opensearch-project/ml-commons/pull/652))
* Revert "Remove jackson-databind and jackson-annotations dependencies now coming from core" ([#687](https://github.com/opensearch-project/ml-commons/pull/687))
* Adding backwards compatibility test for ml-commons plugin ([#681](https://github.com/opensearch-project/ml-commons/pull/681))
* Change the inheritance of the BWC test file ([#692](https://github.com/opensearch-project/ml-commons/pull/692))

### Documentation

* Updated MAINTAINERS.md format ([#668](https://github.com/opensearch-project/ml-commons/pull/668))
* Updating maintainers list ([#663](https://github.com/opensearch-project/ml-commons/pull/663))
* add doc about how to setup GPU ML node ([#677](https://github.com/opensearch-project/ml-commons/pull/677))

### Maintenance

* Increment version to 2.5.0-SNAPSHOT ([#513](https://github.com/opensearch-project/ml-commons/pull/513))

### Refactoring

* change task worker node to list; add target worker node to cache ([#656](https://github.com/opensearch-project/ml-commons/pull/656))