- java.lang.IllegalArgumentException: unknown setting [node.rack] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
Node level attributes used for allocation filtering, forced awareness or other node identification / grouping must be prefixed with
node.attr. In previous versions it was possible to specify node attributes with the node. prefix. All node attributes except of node.master, node.data and node.ingest must be moved to the new node.attr. namespace.- Unknown setting mlockall
Replace the bootstrap.mlockall with bootstrap.memory_lock
- Unable to lock JVM Memory: error=12, reason=Cannot allocate memory
Edit: /etc/security/limits.conf and add the following lines
elasticsearch soft memlock unlimited
elasticsearch hard memlock unlimited
elasticsearch hard memlock unlimited
Edit: /usr/lib/systemd/system/elasticsearch.service uncomment the line
LimitMEMLOCK=infinity
Execute the following commands:
systemctl daemon-reload
systemctl elasticsearch start
Comments
Post a Comment