Running ES Client inside ES Plugin

Hmm,

I've just removed everything not related to the problem described, and it
works fine.
So definitely it's not an Elasticsearch but my project setup problem.

Sorry for disturbing.

On Monday, May 7, 2012 4:06:28 PM UTC+2, Vadim Voituk wrote:

Hello, Shay

Here is entire project code
https://github.com/voituk/elasticsearch-test-plugin

and that's what i see in log
[2012-05-07 13:57:06,944][INFO ][node ] [Sludge]
{0.19.3}[19516]: stopping ...
[2012-05-07 13:57:08,105][INFO ][node ] [Sludge]
{0.19.3}[19516]: stopped
[2012-05-07 13:57:08,105][INFO ][node ] [Sludge]
{0.19.3}[19516]: closing ...
[2012-05-07 13:57:08,177][INFO ][node ] [Sludge]
{0.19.3}[19516]: closed
[2012-05-07 13:57:13,942][INFO ][node ] [Cobra]
{0.19.3}[23642]: initializing ...
[2012-05-07 13:57:13,952][INFO ][plugins ] [Cobra] loaded
[Test Plugin], sites

And nothing after that, and no even java process running.

java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

Here is now the ES is started (but don't think that it matters in this
case):
/usr/lib/jvm/java-6-sun/bin/java -Xms1g -Xmx1g -Xss256k -XX:+UseParNewGC
-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError
-Delasticsearch -Des.pidfile=/var/run/elasticsearch.pid
-Des.path.home=/usr/share/elasticsearch -cp
:/usr/share/elasticsearch/lib/:/usr/share/elasticsearch/lib/sigar/
-Des.config=/etc/elasticsearch/elasticsearch.yml
-Des.path.home=/usr/share/elasticsearch
-Des.path.logs=/var/log/elasticsearch -Des.path.data=/var/lib/elasticsearch
-Des.path.work=/tmp/elasticsearch -Des.path.conf=/etc/elasticsearch
org.elasticsearch.bootstrap.Elasticsearch