Plugins installed in a cluster of ES

Hello all,

My question is about clusters and plugins. I have ES in cluster (a master
with two slaves) with a plugin in order to load data in it. Doing testing I
have installed this plugin into the three ES instances. Is it the right way
?? Can I indicate that only one instance executes the plugin (master or
slave) ???

Thanks for all.

Regards,

Carlos Soria.

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

Hey,

this is the right way, if you are using plugins, which load java code, you
should enable it on all of your nodes. Apart from that, the plugin should
make sure, that its functionality is only executed once. This depends
highly on the plugin, but it is quite simple to make sure, that some code
is only executed on the master node for example.

Can you talk about your plugin, so we might be able to help you more
specific.

--Alex

On Thu, May 23, 2013 at 3:39 PM, Carlos Soria soriacorado@gmail.com wrote:

Hello all,

My question is about clusters and plugins. I have ES in cluster (a master
with two slaves) with a plugin in order to load data in it. Doing testing I
have installed this plugin into the three ES instances. Is it the right way
?? Can I indicate that only one instance executes the plugin (master or
slave) ???

Thanks for all.

Regards,****

Carlos Soria.

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

Hello again,

It's a java plugin that loads data from an Informix data base to ES, in an
incremental way, based in a timestamp stored into ES also, very similar to
the JDBC river example. ES is a great solution that is bringing me much too
good at my job, thanks.

Thank you very much for responding so quickly...

Regards,

Carlos Soria.

El jueves, 23 de mayo de 2013 15:39:21 UTC+2, Carlos Soria escribió:

Hello all,

My question is about clusters and plugins. I have ES in cluster (a master
with two slaves) with a plugin in order to load data in it. Doing testing I
have installed this plugin into the three ES instances. Is it the right way
?? Can I indicate that only one instance executes the plugin (master or
slave) ???

Thanks for all.

Regards,

Carlos Soria.

--
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 Carlos,

its right... plugins should be there, I recon you to use ES documents
directly to save plugins configuration file to have all sync, otherwise a
change in one has to be done in the others... maybe there is some
notification between nodes... I have to dig more in the source code but to
save this situation I had to use es to save the plugin configuration

El jueves, 23 de mayo de 2013 15:39:21 UTC+2, Carlos Soria escribió:

Hello all,

My question is about clusters and plugins. I have ES in cluster (a master
with two slaves) with a plugin in order to load data in it. Doing testing I
have installed this plugin into the three ES instances. Is it the right way
?? Can I indicate that only one instance executes the plugin (master or
slave) ???

Thanks for all.

Regards,

Carlos Soria.

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

Muchas gracias/Th

El jueves, 23 de mayo de 2013 15:39:21 UTC+2, Carlos Soria escribió:

Hello all,

My question is about clusters and plugins. I have ES in cluster (a master
with two slaves) with a plugin in order to load data in it. Doing testing I
have installed this plugin into the three ES instances. Is it the right way
?? Can I indicate that only one instance executes the plugin (master or
slave) ???

Thanks for all.

Regards,

Carlos Soria.

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

A river plugin is meant to be run only on one node in the cluster. If that
node leaves the cluster, the cluster will start on another node.

As long as your plugin is a river plugin, you should be fine.

--
Ivan

On Fri, May 24, 2013 at 7:28 AM, Carlos Soria soriacorado@gmail.com wrote:

Muchas gracias/Th

El jueves, 23 de mayo de 2013 15:39:21 UTC+2, Carlos Soria escribió:

Hello all,

My question is about clusters and plugins. I have ES in cluster (a master
with two slaves) with a plugin in order to load data in it. Doing testing I
have installed this plugin into the three ES instances. Is it the right way
?? Can I indicate that only one instance executes the plugin (master or
slave) ???

Thanks for all.

Regards,

Carlos Soria.

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