NoNodeAvailableException: No node available


(ian) #1

Hello
I am using elastic search 0.18.6 for both client and node. When i running application in eclipse ,it works fine. But if i run the jar file(my project) it sows following exception.
2012-01-04 10:57:26 New I/O client worker #1-4/netty [WARN] [Mist Mistress] Message not fully read (response) for [0] handler org.elasticsearch.client.transport.TransportClientNodesService$ScheduledSniffNodesSampler$1$1@112da40, error [false], resetting
2012-01-04 11:09:26 Thread-9/Worker-9 [ERROR] org.elasticsearch.client.transport.NoNodeAvailableException: No node available
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:139)
at org.elasticsearch.client.transport.support.InternalTransportClusterAdminClient.health(InternalTransportClusterAdminClient.java:109)


(Shay Banon) #2

Are you sure your packaged jar does not include an old version of
elasticsearch?

On Wed, Jan 4, 2012 at 8:54 AM, ian simi.ma@algotree.com wrote:

Hello
I am using elastic search 0.18.6 for both client and node. When i running
application in eclipse ,it works fine. But if i run the jar file(my
project)
it sows following exception.
2012-01-04 10:57:26 New I/O client worker #1-4/netty [WARN] [Mist
Mistress]
Message not fully read (response) for [0] handler

org.elasticsearch.client.transport.TransportClientNodesService$ScheduledSniffNodesSampler$1$1@112da40
,
error [false], resetting
2012-01-04 11:09:26 Thread-9/Worker-9 [ERROR]
org.elasticsearch.client.transport.NoNodeAvailableException: No node
available
at

org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:139)
at

org.elasticsearch.client.transport.support.InternalTransportClusterAdminClient.health(InternalTransportClusterAdminClient.java:109)
at

com.algoTree.Commons.ElasticSearchClient.makeRequest(ElasticSearchClient.java:96)
at com.algoTree.DataFetcher.Worker.pushToES(Worker.java:348)
at com.algoTree.DataFetcher.Worker.run(Worker.java:134)

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/NoNodeAvailableException-No-node-available-tp3631184p3631184.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(system) #3