【发布时间】:2019-07-24 21:44:20
【问题描述】:
我正在尝试使用 Flink 5.x Elasticsearch sink 连接器将数据插入到托管在微型 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 上运行,我无权更改 ex。此框的文件描述符限制。
【问题讨论】:
标签: elasticsearch