Thank you David! It worked :-)
El martes, 31 de marzo de 2015, 12:13:23 (UTC-4), David Pilato escribió: > > When I want to debug a plugin, I often run the > org.elasticsearch.bootstrap.Bootstrap class. > And I pass something like > > -Des.foreground=true -Des.http.cors.enabled=true > -Dhttp.cors.allow-origin=/.*/ -Dhttp.cors.allow-credentials=true > -Des.path.conf=/path/to/your/config/dir/ > > /path/to/your/config/dir/ contains logging.yml and elasticsearch.yml > > HTH > > -- > *David Pilato* - Developer | Evangelist > *elastic.co <http://elastic.co>* > @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr > <https://twitter.com/elasticsearchfr> | @scrutmydocs > <https://twitter.com/scrutmydocs> > > > > > > Le 31 mars 2015 à 18:10, María Carolina Bessega Lodi <cbes...@gmail.com > <javascript:>> a écrit : > > Hi > > I created a plugin, I'm able to create the zip, install it in my cluster, > etc. > My problem comes if I want to debug from Eclipse having access to the > current data in my cluster. > To do that the easiest way should be make the "debug node" part of my > cluster. > > When I run the java application in Eclipse it launches a new elasticsearch > node but it uses the generic cluster name "elasticsearch", as my cluster > have a different name the discovery functionality is not activated. > > Is there a way to specify elasticsearch config parameters (i.e. the > parameter you usually add in elasticsearch.yml) when you debug the java app > in your ide? > > Thanks!! > > > > -- > 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 elasticsearc...@googlegroups.com <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/0dd66199-336b-4d6d-ad25-68e67fa2f30c%40googlegroups.com > > <https://groups.google.com/d/msgid/elasticsearch/0dd66199-336b-4d6d-ad25-68e67fa2f30c%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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bb8687b3-4d83-47e4-93b3-505b0074eb98%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.