我在 Windows 上使用非环回 IP(生产模式)运行弹性搜索。
为了运行 ES,我使用 ProcessBuilder 从 Java 应用程序中将它分叉出来(elasticsearch.bat)。
但是,它给了我以下错误:
[2018-09-15T00:04:42,617][INFO ][o.e.b.BootstrapChecks ] [PC-VISHALG] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2018-09-15T00:04:42,632][ERROR][o.e.b.Bootstrap ] [PC-VISHALG] node validation exception
[1] bootstrap checks failed
[1]: granting the all permission effectively disables security
当我以开发模式运行它时,它运行良好。我知道上述问题是作为引导检查的一部分提出的,但是如何纠正/避免这个问题。这对我来说是一个障碍。
这个问题出现在 6.3.1,6.3.0 似乎工作正常。