No node available and cluster/nodes/info] request_id [0] timed out


#1

Hi,

I am using elasticsearch-1.6.0. When I am using TransportClient then continuously i am getting error:
Below are Java code and error -

([inet[/127.0.0.1:9200]][cluster/nodes/info] request_id [0] timed out
after [100003ms] and No node available) -

Does anybody had this problem? Or could someone give some ideas how to fix this?

Code:-

CsvToJson jsonDocument = new CsvToJson();

Settings settings = ImmutableSettings.settingsBuilder()
        .put("cluster.name", "tempcluster")
        .put("client.transport.ping_timeout", "100s").build();

Client client = new TransportClient(settings)
        .addTransportAddress(new InetSocketTransportAddress(
                "127.0.0.1", 9200));

client.prepareIndex("location", "article", "1")
        .setSource(jsonDocument.readfile()).execute().actionGet();

Error:-

2015-06-19 12:55:20 INFO plugins:104 - [Jones, Gabe] loaded [], sites []

2015-06-19 12:57:01 INFO transport:109 - [Jones, Gabe] failed to get
node info for [#transport#-1][inet[/127.0.0.1:9200]], disconnecting...

org.elasticsearch.transport.ReceiveTimeoutTransportException:
[][inet[/127.0.0.1:9200]][cluster/nodes/info] request_id [0] timed out
after [100003ms]

at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:342)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Exception in thread "main" org.elasticsearch.client.transport.NoNodeAvailableException: No node available

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

at org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)

at org.elasticsearch.client.support.AbstractClient.index(AbstractClient.java:80)

at org.elasticsearch.client.transport.TransportClient.index(TransportClient.java:308)

at org.elasticsearch.action.index.IndexRequestBuilder.doExecute(IndexRequestBuilder.java:315)

at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:62)

at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:57)

#2

Does anybody had this problem? Or could someone give some ideas how to fix this?


(Jason Wee) #3

is your transport client reachable to the es node via port 9200? is your es cluster named tempcluster too?


(Preet) #4

I am having similar issue. Were you able to resolve it?


(Norberto Meijome) #5

Zayn, I am pretty sure transport protocol is , normally, TCP/9300. Http is
on 9200.

Easy way to test, curl localthost:9200 . if u get json back , u r using
defaults and 9200 is the http interface.


#6

Thanks for your reply.

I tried with IP/9200, IP/9300 and localhost/9200 but still getting same issue "No node available".
I don't know how I can fix this issue.

With Node Client its working fine.


#7

Still getting same issue. If you found some solution then please post.


(David Pilato) #8

Use port 9300


#9

Hi David,

Below is my setting and client configuration. I tried client with 4 different ways but still same issue.

Settings settings = ImmutableSettings.settingsBuilder()
.put("cluster.name", "tempcluster")
.put("client.transport.sniff", true)
.put("client.transport.ping_timeout", "25s").build();

Used 1 -----------------------------------------------------------------------------------------------

Client client = new TransportClient(settings)
.addTransportAddress(new InetSocketTransportAddress(
"56.X.X.X", 9300));

Used 2 -----------------------------------------------------------------------------------------------

Client client = new TransportClient(settings)
.addTransportAddress(new InetSocketTransportAddress(
"56.X.X.X", 9200));

Used 3-----------------------------------------------------------------------------------------------

Client client = new TransportClient(settings)
.addTransportAddress(new InetSocketTransportAddress(
"127.0.0.1", 9300));

Used 4-----------------------------------------------------------------------------------------------

Client client = new TransportClient(settings)
.addTransportAddress(new InetSocketTransportAddress(
"127.0.0.1", 9200));


(David Pilato) #10

What are the server logs ?


#11

Elastic Search log-

[2015-07-02 11:59:45,303][DEBUG][bootstrap ] windows/Kernel32 library loaded
[2015-07-02 11:59:45,305][DEBUG][bootstrap ] console ctrl handler correctly set
[2015-07-02 11:59:45,373][INFO ][node ] [Random] version[1.6.0], pid[10892], build[cdd3ac4/2015-06-09T13:36:34Z]
[2015-07-02 11:59:45,374][INFO ][node ] [Random] initializing ...
[2015-07-02 11:59:45,374][DEBUG][node ] [Random] using home [C:\dev_envionment\elasticsearch-1.6.0], config [C:\dev_envionment\elasticsearch-1.6.0\config], data [[C:\dev_envionment\elasticsearch-1.6.0\data]], logs [C:\dev_envionment\elasticsearch-1.6.0\logs], work [C:\dev_envionment\elasticsearch-1.6.0\work], plugins [C:\dev_envionment\elasticsearch-1.6.0\plugins]
[2015-07-02 11:59:45,379][INFO ][plugins ] [Random] loaded [], sites []
[2015-07-02 11:59:45,396][DEBUG][common.compress.lzf ] using encoder [VanillaChunkDecoder] and decoder[{}]
[2015-07-02 11:59:45,464][DEBUG][env ] [Random] using node location [[org.elasticsearch.env.NodeEnvironment$NodePath@78e67e0a]], local_node_id [0]
[2015-07-02 11:59:45,477][DEBUG][env ] [Random] node data locations details:
-> C:\dev_envionment\elasticsearch-1.6.0\data\locationservice\nodes\0, free_space [101.1gb], usable_space [101.1gb], total_space [166.7gb], mount [OSDisk (C:)], type [NTFS]
[2015-07-02 11:59:45,498][DEBUG][threadpool ] [Random] creating thread_pool [generic], type [cached], keep_alive [30s]
[2015-07-02 11:59:45,517][DEBUG][threadpool ] [Random] creating thread_pool [index], type [fixed], size [4], queue_size [200]
[2015-07-02 11:59:45,520][DEBUG][threadpool ] [Random] creating thread_pool [bulk], type [fixed], size [4], queue_size [50]
[2015-07-02 11:59:45,520][DEBUG][threadpool ] [Random] creating thread_pool [get], type [fixed], size [4], queue_size [1k]
[2015-07-02 11:59:45,521][DEBUG][threadpool ] [Random] creating thread_pool [search], type [fixed], size [7], queue_size [1k]
[2015-07-02 11:59:45,521][DEBUG][threadpool ] [Random] creating thread_pool [suggest], type [fixed], size [4], queue_size [1k]
[2015-07-02 11:59:45,522][DEBUG][threadpool ] [Random] creating thread_pool [percolate], type [fixed], size [4], queue_size [1k]
[2015-07-02 11:59:45,522][DEBUG][threadpool ] [Random] creating thread_pool [management], type [scaling], min [1], size [5], keep_alive [5m]
[2015-07-02 11:59:45,523][DEBUG][threadpool ] [Random] creating thread_pool [listener], type [fixed], size [2], queue_size [null]
[2015-07-02 11:59:45,524][DEBUG][threadpool ] [Random] creating thread_pool [flush], type [scaling], min [1], size [2], keep_alive [5m]
[2015-07-02 11:59:45,524][DEBUG][threadpool ] [Random] creating thread_pool [merge], type [scaling], min [1], size [2], keep_alive [5m]
[2015-07-02 11:59:45,525][DEBUG][threadpool ] [Random] creating thread_pool [refresh], type [scaling], min [1], size [2], keep_alive [5m]
[2015-07-02 11:59:45,525][DEBUG][threadpool ] [Random] creating thread_pool [warmer], type [scaling], min [1], size [2], keep_alive [5m]
[2015-07-02 11:59:45,526][DEBUG][threadpool ] [Random] creating thread_pool [snapshot], type [scaling], min [1], size [2], keep_alive [5m]
[2015-07-02 11:59:45,526][DEBUG][threadpool ] [Random] creating thread_pool [optimize], type [fixed], size [1], queue_size [null]
[2015-07-02 11:59:45,527][DEBUG][threadpool ] [Random] creating thread_pool [fetch_shard_started], type [scaling], min [1], size [8], keep_alive [5m]
[2015-07-02 11:59:45,527][DEBUG][threadpool ] [Random] creating thread_pool [fetch_shard_store], type [scaling], min [1], size [8], keep_alive [5m]
[2015-07-02 11:59:46,961][DEBUG][monitor.jvm ] [Random] enabled [true], last_gc_enabled [false], interval [1s], gc_threshold [{default=GcThreshold{name='default', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}, young=GcThreshold{name='young', warnThreshold=1000, infoThreshold=700, debugThreshold=400}, old=GcThreshold{name='old', warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}}]
[2015-07-02 11:59:47,497][DEBUG][monitor.os ] [Random] Using probe [org.elasticsearch.monitor.os.SigarOsProbe@5a67e962] with refresh_interval [1s]
[2015-07-02 11:59:47,534][DEBUG][monitor.process ] [Random] Using probe [org.elasticsearch.monitor.process.SigarProcessProbe@6dcd5639] with refresh_interval [1s]
[2015-07-02 11:59:47,540][DEBUG][monitor.jvm ] [Random] Using refresh_interval [1s]
[2015-07-02 11:59:47,541][DEBUG][monitor.network ] [Random] Using probe [org.elasticsearch.monitor.network.SigarNetworkProbe@1931d99] with refresh_interval [5s]
[2015-07-02 11:59:47,804][DEBUG][monitor.network ] [Random] net_info
host [LAP-PC04WY8C]
lo display_name [Software Loopback Interface 1]
address [/127.0.0.1] [/0:0:0:0:0:0:0:1]
mtu [-1] multicast [true] ptp [false] loopback [true] up [true] virtual [false]
net0 display_name [WAN Miniport (SSTP)]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
net1 display_name [WAN Miniport (L2TP)]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
net2 display_name [WAN Miniport (PPTP)]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
ppp0 display_name [WAN Miniport (PPPOE)]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
eth0 display_name [WAN Miniport (IPv6)]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
eth1 display_name [WAN Miniport (Network Monitor)]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
eth2 display_name [WAN Miniport (IP)]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
ppp1 display_name [RAS Async Adapter]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
net3 display_name [WAN Miniport (IKEv2)]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
net4 display_name [Microsoft 6to4 Adapter]
address [/2002:988c:411f:0:0:0:988c:411f] [/2002:988c:9cce:0:0:0:988c:9cce]
mtu [1280] multicast [false] ptp [true] loopback [false] up [true] virtual [false]
net5 display_name [Microsoft Teredo Tunneling Adapter]
address [/fe80:0:0:0:e0:0:0:0%net5]
mtu [1280] multicast [false] ptp [true] loopback [false] up [false] virtual [false]
eth3 display_name [Intel(R) Ethernet Connection (3) I218-LM]
address [/<IP_ADDRESS>] [/fe80:0:0:0:a065:e5a8:d344:bd76%eth3]
mtu [1500] multicast [true] ptp [false] loopback [false] up [true] virtual [false]
net6 display_name [Microsoft ISATAP Adapter]
address [/fe80:0:0:0:200:5efe:988c:411f%net6] [/fe80:0:0:0:200:5efe:988c:9cce%net6]
mtu [1280] multicast [false] ptp [true] loopback [false] up [false] virtual [false]
wlan0 display_name [Intel(R) Dual Band Wireless-AC 7265]
address [/<IP_ADDRESS>] [/fe80:0:0:0:5423:8d1f:48a8:3ca3%wlan0]
mtu [1500] multicast [true] ptp [false] loopback [false] up [true] virtual [false]
net7 display_name [Bluetooth Device (RFCOMM Protocol TDI)]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
eth4 display_name [Bluetooth Device (Personal Area Network)]
address [/fe80:0:0:0:f9d6:49d4:1406:9a6c%eth4]
mtu [1500] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
net8 display_name [Microsoft ISATAP Adapter #2]
address
mtu [1280] multicast [false] ptp [true] loopback [false] up [false] virtual [false]
net9 display_name [Microsoft ISATAP Adapter #3]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
eth5 display_name [Cisco AnyConnect Secure Mobility Client Virtual Miniport Adapter for Windows x64]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
net10 display_name [Microsoft ISATAP Adapter #4]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
eth6 display_name [Intel(R) Ethernet Connection (3) I218-LM-QoS Packet Scheduler-0000]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
eth7 display_name [Intel(R) Ethernet Connection (3) I218-LM-WFP LightWeight Filter-0000]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
wlan1 display_name [Intel(R) Dual Band Wireless-AC 7265-Virtual WiFi Filter Driver-0000]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
wlan2 display_name [Intel(R) Dual Band Wireless-AC 7265-QoS Packet Scheduler-0000]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
eth8 display_name [WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
eth9 display_name [WAN Miniport (IP)-QoS Packet Scheduler-0000]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
eth10 display_name [WAN Miniport (IPv6)-QoS Packet Scheduler-0000]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
wlan3 display_name [Intel(R) Dual Band Wireless-AC 7265-Native WiFi Filter Driver-0000]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]
wlan4 display_name [Intel(R) Dual Band Wireless-AC 7265-WFP LightWeight Filter-0000]
address
mtu [-1] multicast [true] ptp [false] loopback [false] up [false] virtual [false]

[2015-07-02 11:59:48,821][DEBUG][monitor.fs ] [Random] Using probe [org.elasticsearch.monitor.fs.SigarFsProbe@de18f63] with refresh_interval [1s]
[2015-07-02 11:59:48,835][DEBUG][common.netty ] using gathering [true]
[2015-07-02 11:59:48,880][DEBUG][discovery.zen.elect ] [Random] using minimum_master_nodes [-1]
[2015-07-02 11:59:48,882][DEBUG][discovery.zen.ping.multicast] [Random] using group [224.2.2.4], with port [54328], ttl [3], and address [null]
[2015-07-02 11:59:48,886][DEBUG][discovery.zen.ping.unicast] [Random] using initial hosts [], with concurrent_connects [10]
[2015-07-02 11:59:48,887][DEBUG][discovery.zen ] [Random] using ping.timeout [3s], join.timeout [1m], master_election.filter_client [true], master_election.filter_data [false]
[2015-07-02 11:59:48,889][DEBUG][discovery.zen.fd ] [Random] [master] uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
[2015-07-02 11:59:48,892][DEBUG][discovery.zen.fd ] [Random] [node ] uses ping_interval [1s], ping_timeout [30s], ping_retries [3]
[2015-07-02 11:59:49,249][DEBUG][script ] [Random] using script cache with max_size [100], expire [null]
[2015-07-02 11:59:49,260][DEBUG][cluster.routing.allocation.decider] [Random] using node_concurrent_recoveries [2], node_initial_primaries_recoveries [4]
[2015-07-02 11:59:49,262][DEBUG][cluster.routing.allocation.decider] [Random] using [cluster.routing.allocation.allow_rebalance] with [indices_all_active]
[2015-07-02 11:59:49,263][DEBUG][cluster.routing.allocation.decider] [Random] using [cluster_concurrent_rebalance] with [2]
[2015-07-02 11:59:49,266][DEBUG][indices.recovery ] [Random] using max_bytes_per_sec[40mb], concurrent_streams [3], file_chunk_size [512kb], translog_size [512kb], translog_ops [1000], and compress [true]
[2015-07-02 11:59:49,300][DEBUG][gateway.local ] [Random] using initial_shards [quorum]
[2015-07-02 11:59:49,427][DEBUG][http.netty ] [Random] using max_chunk_size[8kb], max_header_size[8kb], max_initial_line_length[4kb], max_content_length[100mb], receive_predictor[512kb->512kb], pipelining[true], pipelining_max_events[10000]
[2015-07-02 11:59:49,447][DEBUG][indices.store ] [Random] using indices.store.throttle.type [MERGE], with index.store.throttle.max_bytes_per_sec [20mb]
[2015-07-02 11:59:49,449][DEBUG][indices.memory ] [Random] using index_buffer_size [99mb], with min_shard_index_buffer_size [4mb], max_shard_index_buffer_size [512mb], shard_inactive_time [5m]
[2015-07-02 11:59:49,451][DEBUG][indices.cache.filter ] [Random] using [node] weighted filter cache with size [10%], actual_size [99mb], expire [null], clean_interval [1m]
[2015-07-02 11:59:49,453][DEBUG][indices.fielddata.cache ] [Random] using size [-1] [-1b], expire [null]
[2015-07-02 11:59:49,473][DEBUG][gateway.local.state.shards] [Random] took 0s to load started shards state
[2015-07-02 11:59:49,476][DEBUG][gateway.local.state.meta ] [Random] using gateway.local.auto_import_dangled [YES], gateway.local.delete_timeout [30s], with gateway.local.dangling_timeout [2h]
[2015-07-02 11:59:49,508][DEBUG][gateway.local.state.meta ] [Random] took 27ms to load state
[2015-07-02 11:59:49,514][DEBUG][bulk.udp ] [Random] using enabled [false], host [null], port [9700-9800], bulk_actions [1000], bulk_size [5mb], flush_interval [5s], concurrent_requests [4]
[2015-07-02 11:59:49,527][INFO ][node ] [Random] initialized
[2015-07-02 11:59:49,527][INFO ][node ] [Random] starting ...
[2015-07-02 11:59:49,544][DEBUG][netty.channel.socket.nio.SelectorUtil] Using select timeout of 500
[2015-07-02 11:59:49,544][DEBUG][netty.channel.socket.nio.SelectorUtil] Epoll-bug workaround enabled = false
[2015-07-02 11:59:49,699][DEBUG][transport.netty ] [Random] using profile[default], worker_count[8], port[9300-9400], bind_host[null], publish_host[null], compress[false], connect_timeout[30s], connections_per_node[2/3/6/1/1], receive_predictor[512kb->512kb]
[2015-07-02 11:59:49,748][DEBUG][transport.netty ] [Random] Bound profile [default] to address [/127.0.0.1:9300]
[2015-07-02 11:59:49,749][INFO ][transport ] [Random] bound_address {inet[/127.0.0.1:9300]}, publish_address {inet[/127.0.0.1:9300]}
[2015-07-02 11:59:49,926][INFO ][discovery ] [Random] locationservice/3Qn5Z60ASwKBIttAL5-z0Q
[2015-07-02 11:59:49,927][DEBUG][cluster.service ] [Random] processing [initial_join]: execute
[2015-07-02 11:59:49,930][DEBUG][cluster.service ] [Random] processing [initial_join]: took 0s no change in cluster_state
[2015-07-02 11:59:50,018][DEBUG][transport.netty ] [Random] connected to node [[Random][3Qn5Z60ASwKBIttAL5-z0Q][LAP-PC04WY8C][inet[/127.0.0.1:9300]]]
[2015-07-02 11:59:53,706][DEBUG][discovery.zen ] [Random] filtered ping responses: (filter_client[true], filter_data[false]) {none}
[2015-07-02 11:59:53,708][DEBUG][cluster.service ] [Random] processing [zen-disco-join (elected_as_master)]: execute
[2015-07-02 11:59:53,730][DEBUG][cluster.service ] [Random] cluster state updated, version [1], source [zen-disco-join (elected_as_master)]
[2015-07-02 11:59:53,733][INFO ][cluster.service ] [Random] new_master [Random][3Qn5Z60ASwKBIttAL5-z0Q][LAP-PC04WY8C][inet[/127.0.0.1:9300]], reason: zen-disco-join (elected_as_master)
[2015-07-02 11:59:53,734][DEBUG][cluster.service ] [Random] publishing cluster state version 1
[2015-07-02 11:59:53,735][DEBUG][cluster.service ] [Random] set local cluster state to version 1
[2015-07-02 11:59:53,741][DEBUG][river.cluster ] [Random] processing [reroute_rivers_node_changed]: execute
[2015-07-02 11:59:53,742][DEBUG][river.cluster ] [Random] processing [reroute_rivers_node_changed]: no change in cluster_state
[2015-07-02 11:59:53,743][DEBUG][cluster.service ] [Random] processing [zen-disco-join (elected_as_master)]: took 33ms done applying updated cluster_state (version: 1)
[2015-07-02 11:59:53,763][DEBUG][cluster.service ] [Random] processing [local-gateway-elected-state]: execute
[2015-07-02 11:59:53,764][DEBUG][cluster.service ] [Random] cluster state updated, version [2], source [local-gateway-elected-state]
[2015-07-02 11:59:53,769][DEBUG][cluster.service ] [Random] publishing cluster state version 2
[2015-07-02 11:59:53,771][DEBUG][cluster.service ] [Random] set local cluster state to version 2
[2015-07-02 11:59:53,786][DEBUG][river.cluster ] [Random] processing [reroute_rivers_node_changed]: execute
[2015-07-02 11:59:53,787][DEBUG][river.cluster ] [Random] processing [reroute_rivers_node_changed]: no change in cluster_state
[2015-07-02 11:59:53,787][INFO ][http ] [Random] bound_address {inet[/127.0.0.1:9200]}, publish_address {inet[/127.0.0.1:9200]}
[2015-07-02 11:59:53,788][INFO ][node ] [Random] started
[2015-07-02 11:59:53,802][INFO ][gateway ] [Random] recovered [0] indices into cluster_state
[2015-07-02 11:59:53,803][DEBUG][cluster.service ] [Random] processing [local-gateway-elected-state]: took 39ms done applying updated cluster_state (version: 2)
[2015-07-02 11:59:58,218][WARN ][transport.netty ] [Random] Message not fully read (request) for requestId [0], action [], readerIndex [20] vs expected [51]; resetting
[2015-07-02 12:00:03,739][DEBUG][cluster.service ] [Random] processing [routing-table-updater]: execute
[2015-07-02 12:00:03,740][DEBUG][cluster.service ] [Random] processing [routing-table-updater]: took 0s no change in cluster_state

Stack Trace

2015-07-02 11:56:52 INFO plugins:104 - [Lobo, Carlos] loaded [], sites []
2015-07-02 11:56:53 INFO transport:109 - [Lobo, Carlos] failed to get local cluster state for [#transport#-1][inet[/127.0.0.1:9300]], disconnecting...
org.elasticsearch.transport.RemoteTransportException: Failed to deserialize exception response from stream
Caused by: org.elasticsearch.transport.TransportSerializationException: Failed to deserialize exception response from stream
at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:171)
at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:125)
at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:787)
at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)
at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:555)
at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:107)
at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)
at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:88)
at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.InvalidClassException: failed to read class descriptor
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1604)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:169)
... 23 more
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.ElasticsearchException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.elasticsearch.common.io.ThrowableObjectInputStream.loadClass(ThrowableObjectInputStream.java:93)
at org.elasticsearch.common.io.ThrowableObjectInputStream.readClassDescriptor(ThrowableObjectInputStream.java:67)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1602)
... 34 more
2015-07-02 11:56:53 WARN netty:114 - [Lobo, Carlos] Message not fully read (response) for [0] handler org.elasticsearch.client.transport.TransportClientNodesService$SniffNodesSampler$1$1@594a7e0, error [true], resetting
Exception in thread "main" org.elasticsearch.client.transport.NoNodeAvailableException: No node available
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:202)
at org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)
at org.elasticsearch.client.support.AbstractClient.index(AbstractClient.java:80)
at org.elasticsearch.client.transport.TransportClient.index(TransportClient.java:308)
at org.elasticsearch.action.index.IndexRequestBuilder.doExecute(IndexRequestBuilder.java:315)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:62)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:57)
at com.mcd.global.location.elasticsearch.service.CreateIndexImpl.main(CreateIndexImpl.java:47)


(system) #12