Elasticsearch Master Node

(Gaurav Harsola) #1

Where does master node store data nodes information.


(David Pilato) #2

On disk. In the data dir.

(Gaurav Harsola) #3

yeah . i got that but under /data i found only three folders tmp logs and nodes. Where exactly it store

(David Pilato) #4

Under nodes/_state IIRC.

Anyway, why do you need this?

(Gaurav Harsola) #5

Earlier my Master node also acts as data node and now i separated them. So i want to reduce Elastic block storage of 1000Gb to 100GB, before that i want to clean up some files on master which are occupying so much data.

(David Pilato) #6

I guess you have more than one master node, right?
You could stop one of them, set node.data: false, wipe the whole data dir, then restart the master node.

It will join the cluster and ask the other master node to get the configuration.

That should work IMO.

(Gaurav Harsola) #7

Yes, i have three master node.

So i can stop one by one master node and clean data directory and restart master node. right ??

(David Pilato) #8

That should work

(system) #9

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.