Skip to content
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

[BUG] starting OS 2.18.0 on Ubuntu 24.04.1 error: Values less than -1 bytes are not supported: -34910208b #2517

Open
kiborg opened this issue Feb 10, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@kiborg
Copy link

kiborg commented Feb 10, 2025

Describe the bug

Hi, I have this error:
/var/log/opensearch$ sudo systemctl start opensearch
Job for opensearch.service failed because a timeout was exceeded.
See "systemctl status opensearch.service" and "journalctl -xeu opensearch.service" for details.

[2025-02-10T01:52:57,356][INFO ][o.o.n.p.NeuralSearch ] [node-1] Registering hybrid query phase searcher with feature flag [plugins.neural_search.hybrid_search_disabled]
[2025-02-10T01:52:58,425][ERROR][o.o.b.Bootstrap ] [node-1] Exception
java.lang.IllegalArgumentException: Values less than -1 bytes are not supported: -34910208b
at org.opensearch.core.common.unit.ByteSizeValue.(ByteSizeValue.java:78) ~[opensearch-core-2.18.0.jar:2.18.0]
at org.opensearch.knn.index.KNNSettings.parseknnMemoryCircuitBreakerValue(KNNSettings.java:609) ~[?:?]
at org.opensearch.knn.index.KNNSettings$1.lambda$new$0(KNNSettings.java:374) ~[?:?]
at org.opensearch.common.settings.Setting.get(Setting.java:483) ~[opensearch-2.18.0.jar:2.18.0]
at org.opensearch.common.settings.Setting.get(Setting.java:477) ~[opensearch-2.18.0.jar:2.18.0]
at org.opensearch.common.settings.Setting.get(Setting.java:623) ~[opensearch-2.18.0.jar:2.18.0]

Any guess how to fix it?

Related component

No response

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Install without error.

Additional Details

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@kiborg kiborg added bug Something isn't working untriaged labels Feb 10, 2025
@andrross
Copy link
Member

@opensearch-project/admin Can this be transferred to https://github.com/opensearch-project/k-NN ?

@gaiksaya gaiksaya transferred this issue from opensearch-project/OpenSearch Feb 11, 2025
@jmazanec15
Copy link
Member

Thanks @kiborg - did you override any settings? Specifically the circuit breaker limit? If not, how much memory did your machine have and how much jvm? It seems like some kind of overflow happening.

@jmazanec15 jmazanec15 self-assigned this Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants