Call when shard reallocation occurs

Hi,

Is it possible to have my custom callback function defined and invoked by
ES whenever it moves a shard from one node to another?

Thanks,
Sandeep

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9b792e04-8bd1-4006-93a2-f3d736cd8474%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

AFAIK, there is no way to achieve such functionality.

The only way I have figured out have similar functionality is to write a
plugin with a cluster state listener and have the plugin reach out to some
external service.

Cheers,

Ivan

On Thu, Aug 21, 2014 at 10:02 AM, 'Sandeep Ramesh Khanzode' via
elasticsearch elasticsearch@googlegroups.com wrote:

Hi,

Is it possible to have my custom callback function defined and invoked by
ES whenever it moves a shard from one node to another?

Thanks,
Sandeep

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9b792e04-8bd1-4006-93a2-f3d736cd8474%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9b792e04-8bd1-4006-93a2-f3d736cd8474%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDMCNNsvAv2r0bRsog6a2oow9bYSyQ-CZtcxtcgkUJtRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thanks, Ivan. Appreciate it. I will take a look at 'ClusterStateListener'.
Meanwhile, if you have any ready reference available for this, like doc or
example code, please share. Thanks!

On Fri, Aug 22, 2014 at 6:19 AM, Ivan Brusic ivan@brusic.com wrote:

AFAIK, there is no way to achieve such functionality.

The only way I have figured out have similar functionality is to write a
plugin with a cluster state listener and have the plugin reach out to some
external service.

Cheers,

Ivan

On Thu, Aug 21, 2014 at 10:02 AM, 'Sandeep Ramesh Khanzode' via
elasticsearch elasticsearch@googlegroups.com wrote:

Hi,

Is it possible to have my custom callback function defined and invoked by
ES whenever it moves a shard from one node to another?

Thanks,
Sandeep

--
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.

To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9b792e04-8bd1-4006-93a2-f3d736cd8474%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9b792e04-8bd1-4006-93a2-f3d736cd8474%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/4fEahX9nhL0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDMCNNsvAv2r0bRsog6a2oow9bYSyQ-CZtcxtcgkUJtRQ%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDMCNNsvAv2r0bRsog6a2oow9bYSyQ-CZtcxtcgkUJtRQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKnM90a-CrxeUm4F4q889naxhcwNLrhYoZnsptQYZhi7gHL9pQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.