Number_of_nodes doesn't match number of nodes

This may be a silly question, but what does number_of_nodes in
_cluster/health represent? I'm getting 16 nodes from _cluster/health, but I
see only 14 nodes on _cluster/state.
number_of_data_nodes does match the number of data noes, which is 9.

I this normal? What's the explanation for the discrepancy?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Israel,

It number_of_nodes should be the same as the ones in cluster state.
Internally it points to the same structure. Can you gist your output of
both requests?

Cheers,
Boaz

On Sunday, May 12, 2013 7:59:12 AM UTC+2, Israel Tsadok wrote:

This may be a silly question, but what does number_of_nodes in
_cluster/health represent? I'm getting 16 nodes from _cluster/health, but I
see only 14 nodes on _cluster/state.
number_of_data_nodes does match the number of data noes, which is 9.

I this normal? What's the explanation for the discrepancy?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Unfortunately, I'm not able to reproduce it. After restarting a couple of
clients, number_of_nodes went down to 14 which matched the number reported
by _cluster/state, and also the number of nodes I was expecting.
It's possible that I had some services that were starting and crashing in a
loop, which would explain getting different results from consecutive
requests.

If I see it again I'll investigate further.

On Thu, May 16, 2013 at 6:22 PM, Boaz Leskes b.leskes@gmail.com wrote:

Hi Israel,

It number_of_nodes should be the same as the ones in cluster state.
Internally it points to the same structure. Can you gist your output of
both requests?

Cheers,
Boaz

On Sunday, May 12, 2013 7:59:12 AM UTC+2, Israel Tsadok wrote:

This may be a silly question, but what does number_of_nodes in
_cluster/health represent? I'm getting 16 nodes from _cluster/health, but I
see only 14 nodes on _cluster/state.
number_of_data_nodes does match the number of data noes, which is 9.

I this normal? What's the explanation for the discrepancy?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.