具体报错如下:Native controller process has stopped - no new native processes can be started
我的elasticsearch版本是7.6.2。
解决方法:
修改config文件夹下的elasticsearch.yml文件:
node.name: node-1
cluster.initial_master_nodes: ["node-1"]
修改之后保存,再次启动elasticsearch,就成功启动elasticsearch了。
这样就解决了Native controller process has stopped - no new native processes can be started的问题了。