Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the common problems in using Elasticsearch

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of "how to solve common problems in the use of Elasticsearch". The editor shows you the operation process through an actual case. The operation method is simple, fast and practical. I hope this article "how to solve common problems in the use of Elasticsearch" can help you solve the problem.

1. Using redis together will cause netty startup conflicts, so you need to add a method in the * application entry file:

2. Nonodeavailableexception [none of the configured nodes are available: [{# transport#-1} {v4jttt-tqqqulcnjsnsfgg} {192.168.116.128} {192.168.116.128 transport#-1 9300}]

Solution:

Change the elasticsearch version that corresponds to your spring-boot-starter-data-elasticsearch.

3. Openjdk 64-bit server vm warning: $option useconcmarksweepgc was deprecated in version 9.0 and will likely be removed in a future release.

Solution:

Modify the contents of the jvm.options file to:

-xx:+useconcmarksweepgc changed to-xx:+useg1gc

4. Delete users

You need to kill the user's process before deleting the user.

Pkill or kill-9

Example: delete user user

Userdel user

Example: delete user user and delete his working directory at the same time

Userdel-r user

This is the end of the content on "how to solve common problems in the use of Elasticsearch". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report