Thanks! I have the system running under nodejs, but want to start a java client against the same cluster (right now, nodejs is talking to it over http: the java client wants to talk to it by way of embedded, though still over the localhost socket.
On Mon, Sep 15, 2014 at 7:22 AM, David Pilato <da...@pilato.fr> wrote: > Yes. You can have many client talking to es cluster at the same time. > Wondering if you are talking about Node Client here. Which is is basically > a node running inside the cluster and which can provide access to Client > features. > > If you use Java Transport Client, I don't think any file is generated. > If you use other language clients (PHP, Python, Perl…), I can't see that > kind of file either. > > About Java, note that it's a good idea to share the same Client across all > threads. Java client is thread safe. > > > Hope this helps > > -- > *David Pilato* | *Technical Advocate* | *Elasticsearch.com* > @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr > <https://twitter.com/elasticsearchfr> > > > Le 15 septembre 2014 à 15:58:29, Jack Park (jackp...@topicquests.org) a > écrit: > > A really simple question is this: can more than one client be talking to > an ES cluster at the same time? I ask because I notice that there is a > lock file in a shard directory. > > 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 elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAH6s0fy%3DgQtfSNRdYxH7SV_Jw%2BJ7VsTMWKt-PfTzKyBuyALT_g%40mail.gmail.com > <https://groups.google.com/d/msgid/elasticsearch/CAH6s0fy%3DgQtfSNRdYxH7SV_Jw%2BJ7VsTMWKt-PfTzKyBuyALT_g%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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/etPan.5416f60e.77465f01.3c6%40MacBook-Air-de-David.local > <https://groups.google.com/d/msgid/elasticsearch/etPan.5416f60e.77465f01.3c6%40MacBook-Air-de-David.local?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/CAH6s0fyFRN2yDA%2B%3DDdUkj5tJqhRSrOP65_eSTeV5QJK5AV1ZcA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.