Elasticsearch Master Node

Where does master node store data nodes information.

Thanks
Gaurav

On disk. In the data dir.

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

Under nodes/_state IIRC.

Anyway, why do you need this?

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.

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.

Yes, i have three master node.

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

That should work