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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -