java - Node name in elastic search config does not work -
i tried set node.name in config of elasticsearch, did not see node created desired name.here elasticsearch.yml file:
cluster.name: mycluster node.name: "mynode" # path directory store index data allocated node. path.data: /path/to/data
can please show me go wrong here?thanks much.
how should - note space indentation of each uncommented setting.
################################### cluster ################################### # cluster name identifies cluster auto-discovery. if you're running # multiple clusters on same network, make sure you're using unique names. # cluster.name: test ################################### cache #################################### indices.cache.filter.expire: 5m #################################### node ##################################### # node names generated dynamically on startup, you're relieved # configuring them manually. can tie node specific name: # node.name: "test"
Comments
Post a Comment