REST API | Cluster Admin | Get master


(Pablo Borges) #1

Hey guys,

Would it be too much trouble to query a node and ask it who is its master ?
I've been running elastic search for some time now and I'd really like to
write some admin tools to deal with the cluster. This is one of the problems
I run into quite often and it's always a pain to debug. :smiley:

I think maybe a new field /_cluster/state will help too. :slight_smile:

Cheers,


(Shay Banon) #2

There is one, its in cluster state since 0.9.

On Thu, Aug 19, 2010 at 10:51 PM, Pablo Borges pablort@gmail.com wrote:

Hey guys,

Would it be too much trouble to query a node and ask it who is its master ?
I've been running elastic search for some time now and I'd really like to
write some admin tools to deal with the cluster. This is one of the problems
I run into quite often and it's always a pain to debug. :smiley:

I think maybe a new field /_cluster/state will help too. :slight_smile:

Cheers,


(system) #3