一、和redis一起使用会造成netty启动冲突问题,所以需要在***Application入口文件中添加方法:

@PostConstruct
public void init() {
    // see Netty4Utils.setAvailableProcessors()
    System.setProperty("es.set.netty.runtime.available.processors", "false");
}

 二、NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{V4jtTT-tQQqULCNjSNSfgg}{192.168.116.128}{192.168.116.128:9300}]

解决方法:

更换和你的spring-boot-starter-data-elasticsearch对应的elasticsearch版本。

三、OpenJDK 64-Bit Server VM warning: $ Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

解决方法:

将jvm.options文件里的内容修改为:

-XX:+UseConcMarkSweepGC 改为 -XX:+UseG1GC

 四、删除用户

删除用户前需要把该用户的进程kill掉
pkill 或 kill -9 <pid>
例:删除用户user
userdel user
例:删除用户 user,同时删除他的工作目录
userdel –r user

相关文章:

  • 2021-12-04
  • 2021-10-05
  • 2021-06-11
  • 2022-02-28
  • 2021-08-02
  • 2021-09-28
  • 2021-06-05
猜你喜欢
  • 2021-10-09
  • 2021-11-24
  • 2021-04-06
  • 2021-06-18
  • 2022-01-19
  • 2022-12-23
相关资源
相似解决方案