ElasticSearch 安装注意问题
1 如果系统配置 JAVA_HOME ,那么使用系统默认的 JDK ,如果没有配置使用自带的 JDK。
2 若启动失败,排查是否内存问题
config/jvm.options:
1 |
|
3 出现max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]
1 |
|
4 出现max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
1 |
|
5 出现max number of threads [1024] for user [hadoop] is too low, increase to at least [2048]
1 |
|
6 ERROR: [1] bootstrap checks failed
[]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
1 |
|
7 补:启动异常:ERROR: bootstrap checks failed
system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
1 |
|