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.
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.
Le 15 septembre 2014 à 15:58:29, Jack Park (jackpark@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!
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 david@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.
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!
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 david@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.
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.
But, this is all "topic map" based, which means that there are background
agents running which are mostly Java/Scala/Clojure based. Those agents
receive TCP-sent messages from the node-based server when a new topic is
created; they then set about to study that new document and perform various
processes on the index in the background.
Right now, my java ES client is giving me fits mostly associated with a
migration from 0.90 to 1.2.2 , which Ill mention in a different thread.
On Mon, Sep 15, 2014 at 7:56 AM, David Pilato david@pilato.fr wrote:
Why not using the JavaScript client?
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
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 david@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.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.