How to avoid index.store.hybrid.mmap.extensions deprecation warning?

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

OpenSearch: 2.15.0
Dashboard: 2.15.0
Server OS: CentOS 7.8
Browser: Vivaldi 6.5.3206.63/Edge 126.0.2592.68

Describe the issue:

I installed OpenSearch from the 2.15.0 tar ball and I added via the DevTools Console my first record to a new index. :smile:

The record gets added, but in resposne I see a index.store.hybrid.mmap.extensions deprecation comment. (For whole message see below in the Log section).

Where and how do I have to change the index.store.hybrid.mmap.extensions setting to avoid this warning?

Configuration:

OpenSearch Test install with security and security plugin removed.

Relevant Logs or Screenshots:

#! Deprecation: [index.store.hybrid.mmap.extensions] setting was deprecated in OpenSearch and will be removed in a future release!

Hi @halloleo , it seems like some plugins like [1] still use this setting at the moment, you could uninstall these plugins if you don’t need them. Thank you.

[1] GitHub - opensearch-project/k-NN: πŸ†• Find the k-nearest neighbors (k-NN) for your vector data

1 Like

Thanks @reta.

Is the k-NN plugin installed by default when I run OpenSearch from the TAR ball?

Yes, you could see it in the log as well:

[2024-07-30T08:22:17,436][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-alerting]
[2024-07-30T08:22:17,436][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-anomaly-detection]
[2024-07-30T08:22:17,436][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-asynchronous-search]
[2024-07-30T08:22:17,436][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-cross-cluster-replication]
[2024-07-30T08:22:17,436][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-custom-codecs]
[2024-07-30T08:22:17,436][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-flow-framework]
[2024-07-30T08:22:17,436][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-geospatial]
[2024-07-30T08:22:17,437][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-index-management]
[2024-07-30T08:22:17,437][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-job-scheduler]
[2024-07-30T08:22:17,437][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-knn]
[2024-07-30T08:22:17,437][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-ml]
[2024-07-30T08:22:17,437][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-neural-search]
[2024-07-30T08:22:17,437][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-notifications]
[2024-07-30T08:22:17,437][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-notifications-core]
[2024-07-30T08:22:17,438][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-observability]
[2024-07-30T08:22:17,438][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-performance-analyzer]
[2024-07-30T08:22:17,438][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-reports-scheduler]
[2024-07-30T08:22:17,438][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-security]
[2024-07-30T08:22:17,438][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-security-analytics]
[2024-07-30T08:22:17,438][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-skills]
[2024-07-30T08:22:17,438][INFO ][o.o.p.PluginsService     ] [host] loaded plugin [opensearch-sql]