OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will l

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will l

查看es的状态的时候,看到如下警告:

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

经过查资料,解决办法是修改jvm.options文件配置vim /etc/elasticsearch/jvm.options,将

-XX:+UseConcMarkSweepGC 改为 -XX:+UseG1GC
posted @ 2020-08-31 20:44  agang_19  阅读(13113)  评论(1编辑  收藏  举报