Elasticsearch-引导检查失败

我正在尝试使用Flink 5.x Elasticsearch接收器连接器将数据插入到微型VM上托管的ES 5.2.1实例。

由于这是处于开发模式的微型VM,因此我无法使其启动以接受9300上的TransportClient远程客户端连接,而不会失败引导检查。

[2017-02-17T09:02:48,581][INFO ][o.e.n.Node               ] [Z_fiBnl] starting ...

[2017-02-17T09:02:48,866][INFO ][o.e.t.TransportService ] [Z_fiBnl] publish_address {xxxxxx:9300}, bound_addresses {127.0.0.1:9300}

[2017-02-17T09:02:48,878][INFO ][o.e.b.BootstrapChecks ] [Z_fiBnl] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks

ERROR: bootstrap checks failed

max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

max number of threads [1024] for user [xxx] is too low, increase to at least [2048]

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk

我已经尝试了以下设置,但无法启动(9200上的http客户端工作正常)

transport.publish_host: 0.0.0.0

transport.bind_host: 0.0.0.0

http.host: "xxx"

http.host: 169.117.72.167

network.host: 0.0.0.0

network.publish_host: 0.0.0.0

请注意,ES仅出于开发目的而在小型VM上运行,而我无权进行更改。此框上的文件描述符限制。

回答:

我能够通过使用以下自ES 5.2

Discovery.type以来可用的设置来做到这一点:单节点(https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-

checks.html)

使用该设置启动ES节点后,便能够使用传输客户端从非localhost客户端进行连接,这以前是一个问题。

以上是 Elasticsearch-引导检查失败 的全部内容, 来源链接: utcz.com/qa/414631.html

回到顶部