jprante / elasticsearch-jdbc

JDBC importer for Elasticsearch
Apache License 2.0
2.84k stars 709 forks source link

org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available #642

Open rvijayakumar82 opened 9 years ago

rvijayakumar82 commented 9 years ago

Hi Jorg,

I am getting "org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available" error while bulk indexing data into elasticsearch from oracle db. I am using elasticseach-jdbc 1.7.0.0 with elasticsearch 1.7.0.

As I analyzed the source, it looks the client got shutdown call from the StandardSink class before all the bulk indexing threads complete their action. I believe some threads are consuming more time to push the data into ES but the client got closed by the shutdown call.

I have enabled the debug logging for elasticsearch-jdbc and the same can be found below.

Log Info:

[20:07:18,149][DEBUG][importer.jdbc ][main] prepare started [20:07:18,212][INFO ][importer.jdbc ][main] index name = index_stg, concrete index name = index_stg [20:07:18,213][DEBUG][importer.jdbc ][main] prepare ended [20:07:18,215][DEBUG][importer ][main] executing [20:07:18,244][INFO ][importer.jdbc ][pool-2-thread-1] strategy standard: settings = {}, context = org.xbib.elasticsearch.jdbc.strategy.standard.StandardContext@3ee489aa [20:07:18,245][INFO ][importer.jdbc.context.standard][pool-2-thread-1] metrics thread started [20:07:18,245][DEBUG][importer.jdbc.context.standard][pool-2-thread-1] before fetch [20:07:18,252][INFO ][importer.jdbc.context.standard][pool-2-thread-1] found sink class org.xbib.elasticsearch.jdbc.strategy.standard.StandardSink@74dc0c5d [20:07:18,355][INFO ][importer.jdbc.context.standard][pool-2-thread-1] found source class org.xbib.elasticsearch.jdbc.strategy.standard.StandardSource@24ec87dc [20:07:18,407][INFO ][BaseTransportClient ][pool-2-thread-1] creating transport client, java version 1.7.0_65, effective settings {cluster.name=, host.0=, port=9300, sniff=false, autodiscover=false, name=importer, client.transport.ignore_cluster_name=false, client.transport.ping_timeout=5s, client.transport.nodes_sampler_interval=5s} [20:07:18,487][DEBUG][org.elasticsearch.plugins][pool-2-thread-1] [importer] [/app/elasticsearch-jdbc-1.7.0.0/bin/plugins] directory does not exist. [20:07:18,491][DEBUG][org.elasticsearch.plugins][pool-2-thread-1] [importer] lucene property is not set in plugin es-plugin.properties file. Skipping test. [20:07:18,493][DEBUG][org.elasticsearch.plugins][pool-2-thread-1] [importer] [/app/elasticsearch-jdbc-1.7.0.0/bin/plugins/support-1.7.0.0-8e7ca71/_site] directory does not exist. [20:07:18,494][DEBUG][org.elasticsearch.plugins][pool-2-thread-1] [importer] [/app/elasticsearch-jdbc-1.7.0.0/bin/plugins] directory does not exist. [20:07:18,495][INFO ][org.elasticsearch.plugins][pool-2-thread-1] [importer] loaded [support-1.7.0.0-8e7ca71], sites [] [20:07:18,513][DEBUG][org.elasticsearch.common.compress.lzf][pool-2-thread-1] using encoder [VanillaChunkDecoder] and decoder[{}] [20:07:18,527][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [generic], type [cached], keep_alive [30s] [20:07:18,535][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [index], type [fixed], size [4], queue_size [200] [20:07:18,538][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [bulk], type [fixed], size [4], queue_size [50] [20:07:18,538][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [get], type [fixed], size [4], queue_size [1k] [20:07:18,538][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [search], type [fixed], size [7], queue_size [1k] [20:07:18,539][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [suggest], type [fixed], size [4], queue_size [1k] [20:07:18,539][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [percolate], type [fixed], size [4], queue_size [1k] [20:07:18,539][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [management], type [scaling], min [1], size [5], keep_alive [5m] [20:07:18,540][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [listener], type [fixed], size [2], queue_size [null] [20:07:18,541][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [flush], type [scaling], min [1], size [2], keep_alive [5m] [20:07:18,541][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [merge], type [scaling], min [1], size [2], keep_alive [5m] [20:07:18,541][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [refresh], type [scaling], min [1], size [2], keep_alive [5m] [20:07:18,541][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [warmer], type [scaling], min [1], size [2], keep_alive [5m] [20:07:18,541][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [snapshot], type [scaling], min [1], size [2], keep_alive [5m] [20:07:18,542][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [optimize], type [fixed], size [1], queue_size [null] [20:07:18,542][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [fetch_shard_started], type [scaling], min [1], size [8], keep_alive [5m] [20:07:18,542][DEBUG][org.elasticsearch.threadpool][pool-2-thread-1] [importer] creating thread_pool [fetch_shard_store], type [scaling], min [1], size [8], keep_alive [5m] [20:07:19,305][DEBUG][org.elasticsearch.common.netty][pool-2-thread-1] using gathering [true] [20:07:19,314][DEBUG][org.elasticsearch.client.transport][pool-2-thread-1] [importer] node_sampler_interval[5s] [20:07:19,362][DEBUG][org.elasticsearch.netty.channel.socket.nio.SelectorUtil][pool-2-thread-1] Using select timeout of 500 [20:07:19,362][DEBUG][org.elasticsearch.netty.channel.socket.nio.SelectorUtil][pool-2-thread-1] Epoll-bug workaround enabled = false [20:07:19,410][INFO ][BaseTransportClient ][pool-2-thread-1] trying to connect to [inet[/:9300]] [20:07:19,410][DEBUG][org.elasticsearch.client.transport][pool-2-thread-1] [importer] adding address [[#transport#-1][][inet[/:9300]]] [20:07:19,473][DEBUG][org.elasticsearch.transport.netty][pool-2-thread-1] [importer] connected to node [[#transport#-1][][inet[/:9300]]] [20:07:19,569][DEBUG][org.elasticsearch.transport.netty][pool-2-thread-1] [importer] connected to node [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] [20:07:19,570][INFO ][BaseTransportClient ][pool-2-thread-1] connected to [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] [20:07:19,589][INFO ][importer.jdbc.sink.standard][pool-2-thread-1] creating index index_stg with settings = {analysis.tokenizer.commatokenizer.pattern=,, analysis.analyzer.comma_analyzer.type=custom, analysis.filter.nGram_filter.token_chars.1=digit, analysis.filter.nGram_filter.token_chars.0=letter, analysis.filter.nGram_filter.token_chars.3=symbols, analysis.filter.nGram_filter.token_chars.2=punctuation, analysis.filter.nGram_filter.type=nGram, analysis.analyzer.comma_analyzer.filter.1=asciifolding, analysis.analyzer.comma_analyzer.filter.0=lowercase, analysis.analyzer.nGram_analyzer.filter.2=nGram_filter, analysis.analyzer.nGram_analyzer.filter.1=asciifolding, index.number_of_shards=5, analysis.analyzer.comma_analyzer.tokenizer=commatokenizer, analysis.analyzer.nGram_analyzer.filter.0=lowercase, analysis.analyzer.nGram_analyzer.tokenizer=keyword, index.number_of_replica=1, analysis.filter.nGram_filter.min_gram=2, analysis.tokenizer.commatokenizer.type=pattern, analysis.analyzer.nGram_analyzer.type=custom, analysis.filter.nGram_filter.max_gram=20} and mappings = {} [20:07:19,591][INFO ][BaseIngestTransportClient][pool-2-thread-1] settings = {analysis={filter={nGram_filter={min_gram=2, type=nGram, max_gram=20, token_chars=[letter, digit, punctuation, symbols]}}, analyzer={nGram_analyzer={type=custom, filter=[lowercase, asciifolding, nGram_filter], tokenizer=keyword}, comma_analyzer={type=custom, filter=[lowercase, asciifolding], tokenizer=commatokenizer}}, tokenizer={commatokenizer={type=pattern, pattern=,}}}, index={number_of_replica=1, number_of_shards=5}} [20:07:19,592][INFO ][BaseIngestTransportClient][pool-2-thread-1] found mapping for [20:07:20,262][INFO ][BaseIngestTransportClient][pool-2-thread-1] index index_stg created [20:07:20,352][DEBUG][importer.jdbc.context.standard][pool-2-thread-1] fetch [20:07:59,578][DEBUG][BulkTransportClient ][elasticsearch[importer][bulk_processor][T#1]] before bulk [1] [actions=3899] [bytes=2070168] [concurrent requests=1] [20:08:02,396][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [2] [actions=10000] [bytes=5412963] [concurrent requests=3] [20:08:04,416][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [3] [actions=10000] [bytes=5323264] [concurrent requests=4] [20:08:04,683][DEBUG][BulkTransportClient ][elasticsearch[importer][bulk_processor][T#1]] before bulk [4] [actions=1060] [bytes=554085] [concurrent requests=4] [20:08:06,126][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [5] [actions=10000] [bytes=5185523] [concurrent requests=6] [20:08:07,558][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [6] [actions=10000] [bytes=5160638] [concurrent requests=7] [20:08:08,987][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [7] [actions=10000] [bytes=5196594] [concurrent requests=8] [20:08:09,690][DEBUG][BulkTransportClient ][elasticsearch[importer][bulk_processor][T#1]] before bulk [8] [actions=4454] [bytes=2298793] [concurrent requests=8] [20:08:11,450][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [9] [actions=10000] [bytes=5295231] [concurrent requests=10] [20:08:18,253][INFO ][metrics.source.json ][pool-4-thread-1] {"totalrows":80094,"elapsed":60013,"bytes":17006364,"avg":212.0,"dps":1334.610834319231,"mbps":0.2767363295244364} [20:08:18,254][INFO ][metrics.sink.json ][pool-4-thread-1] {"elapsed":60013,"submitted":69413,"succeeded":0,"failed":0,"bytes":36497259,"avg":525.0,"dps":1156.6327295752587,"mbps":0.5939022293867579} [20:09:18,245][INFO ][metrics.source.json ][pool-4-thread-1] {"totalrows":80094,"elapsed":120006,"bytes":17006364,"avg":212.0,"dps":667.4166291685416,"mbps":0.1383912249700015} [20:09:18,245][INFO ][metrics.sink.json ][pool-4-thread-1] {"elapsed":120005,"submitted":69413,"succeeded":0,"failed":0,"bytes":36497259,"avg":525.0,"dps":578.4175659347527,"mbps":0.29700307897327194} [20:09:23,707][DEBUG][BulkTransportClient ][elasticsearch[importer][transport_client_worker][T#5]{New I/O worker #5}] after bulk [4] [succeeded=1060] [failed=0] [78965ms] [concurrent requests=9] [20:09:25,720][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [10] [actions=10000] [bytes=5428581] [concurrent requests=10] [20:10:05,750][DEBUG][BulkTransportClient ][elasticsearch[importer][transport_client_worker][T#5]{New I/O worker #5}] after bulk [1] [succeeded=4959] [failed=0] [125989ms] [concurrent requests=9] [20:10:07,730][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [11] [actions=10000] [bytes=5166947] [concurrent requests=10] [20:10:18,245][INFO ][metrics.source.json ][pool-4-thread-1] {"totalrows":101353,"elapsed":180006,"bytes":21801568,"avg":215.0,"dps":563.0534537737631,"mbps":0.11827713381776163} [20:10:18,245][INFO ][metrics.sink.json ][pool-4-thread-1] {"elapsed":180005,"submitted":89413,"succeeded":4959,"failed":0,"bytes":47092787,"avg":526.0,"dps":496.72509096969526,"mbps":0.25548762425870114} [20:11:03,781][DEBUG][BulkTransportClient ][elasticsearch[importer][transport_client_worker][T#4]{New I/O worker #4}] after bulk [3] [succeeded=14959] [failed=0] [179145ms] [concurrent requests=9] [20:11:05,370][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [12] [actions=10000] [bytes=5134947] [concurrent requests=10] [20:11:13,536][DEBUG][BulkTransportClient ][elasticsearch[importer][transport_client_worker][T#6]{New I/O worker #6}] after bulk [5] [succeeded=24959] [failed=0] [187298ms] [concurrent requests=9] [20:11:15,199][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [13] [actions=10000] [bytes=5190999] [concurrent requests=10] [20:11:18,245][INFO ][metrics.source.json ][pool-4-thread-1] {"totalrows":121376,"elapsed":240006,"bytes":26072491,"avg":214.0,"dps":505.72069031607543,"mbps":0.10608658530281534} [20:11:18,245][INFO ][metrics.sink.json ][pool-4-thread-1] {"elapsed":240005,"submitted":109413,"succeeded":24959,"failed":0,"bytes":57418733,"avg":524.0,"dps":455.87800254161374,"mbps":0.2336325553438991} [20:11:20,547][DEBUG][BulkTransportClient ][elasticsearch[importer][transport_client_worker][T#4]{New I/O worker #4}] after bulk [6] [succeeded=34959] [failed=0] [192884ms] [concurrent requests=9] [20:11:22,771][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [14] [actions=10000] [bytes=5209954] [concurrent requests=10] [20:11:30,687][DEBUG][BulkTransportClient ][elasticsearch[importer][transport_client_worker][T#6]{New I/O worker #6}] after bulk [2] [succeeded=44959] [failed=0] [208100ms] [concurrent requests=9] [20:11:33,324][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [15] [actions=10000] [bytes=5172827] [concurrent requests=10] [20:11:33,615][DEBUG][BulkTransportClient ][elasticsearch[importer][transport_client_worker][T#6]{New I/O worker #6}] after bulk [8] [succeeded=49413] [failed=0] [203879ms] [concurrent requests=9] [20:11:35,535][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [16] [actions=10000] [bytes=5176173] [concurrent requests=10] [20:12:18,245][INFO ][metrics.source.json ][pool-4-thread-1] {"totalrows":154769,"elapsed":300005,"bytes":33041803,"avg":213.0,"dps":515.8880685321911,"mbps":0.10755615987129381} [20:12:18,245][INFO ][metrics.sink.json ][pool-4-thread-1] {"elapsed":300005,"submitted":139413,"succeeded":49413,"failed":0,"bytes":72977687,"avg":523.0,"dps":464.70225496241727,"mbps":0.23755361564286429}

--Repeating Logs are trimmed--

[23:51:57,926][DEBUG][importer.jdbc.context.standard][pool-2-thread-1] after fetch [23:51:57,959][DEBUG][importer.jdbc.sink.standard][pool-2-thread-1] afterFetch: flush ingest [23:51:57,959][DEBUG][BulkTransportClient ][pool-2-thread-1] flushing bulk processor [23:51:57,970][DEBUG][BulkTransportClient ][pool-2-thread-1] before bulk [323] [actions=7910] [bytes=3806632] [concurrent requests=9] [23:52:18,245][INFO ][metrics.source.json ][pool-4-thread-1] {"totalrows":3015695,"elapsed":13500006,"bytes":560876847,"avg":185.0,"dps":223.384715532719,"mbps":0.040572670552771424} [23:52:18,245][INFO ][metrics.sink.json ][pool-4-thread-1] {"elapsed":13500005,"submitted":2975053,"succeeded":2887143,"failed":0,"bytes":1453149989,"avg":488.0,"dps":220.37421467621678,"mbps":0.10511787115136717} [23:52:25,121][DEBUG][BulkTransportClient ][elasticsearch[importer][transport_client_worker][T#4]{New I/O worker #4}] after bulk [315] [succeeded=2897143] [failed=0] [379849ms] [concurrent requests=8] [23:53:18,245][INFO ][metrics.source.json ][pool-4-thread-1] {"totalrows":3015695,"elapsed":13560006,"bytes":560876847,"avg":185.0,"dps":222.3962880252413,"mbps":0.0403931455412658} [23:53:18,245][INFO ][metrics.sink.json ][pool-4-thread-1] {"elapsed":13560005,"submitted":2975053,"succeeded":2897143,"failed":0,"bytes":1453149989,"avg":488.0,"dps":219.3991078911844,"mbps":0.10465274799919413} [23:53:25,173][DEBUG][importer.jdbc.sink.standard][pool-2-thread-1] afterFetch: stop bulk [23:53:25,477][DEBUG][importer.jdbc.sink.standard][pool-2-thread-1] afterFetch: refresh index [23:54:18,245][INFO ][metrics.source.json ][pool-4-thread-1] {"totalrows":3015695,"elapsed":13620006,"bytes":560876847,"avg":185.0,"dps":221.41656912632786,"mbps":0.04021520224722643} [23:54:18,245][INFO ][metrics.sink.json ][pool-4-thread-1] {"elapsed":13620005,"submitted":2975053,"succeeded":2897143,"failed":0,"bytes":1453149989,"avg":488.0,"dps":218.43259235220546,"mbps":0.10419172284685743} [23:54:31,804][DEBUG][importer.jdbc.sink.standard][pool-2-thread-1] afterFetch: before ingest shutdown [23:54:31,804][DEBUG][BulkTransportClient ][pool-2-thread-1] closing bulk processor... [23:54:31,805][DEBUG][BulkTransportClient ][pool-2-thread-1] shutting down... [23:54:31,805][DEBUG][BaseTransportClient ][pool-2-thread-1] shutdown started [23:54:31,841][DEBUG][org.elasticsearch.transport.netty][pool-2-thread-1] [importer] disconnecting from [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] due to explicit disconnect call [23:54:31,941][DEBUG][org.elasticsearch.transport.netty][pool-2-thread-1] [importer] disconnecting from [[#transport#-1][][inet[/:9300]]] due to explicit disconnect call [23:54:31,955][ERROR][BulkTransportClient ][elasticsearch[importer][listener][T#2]] bulk [319] error org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available: [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] at org.elasticsearch.client.transport.TransportClientNodesService$RetryListener.onFailure(TransportClientNodesService.java:242) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.action.TransportActionNodeProxy$1.handleException(TransportActionNodeProxy.java:78) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.transport.TransportService$Adapter$3.run(TransportService.java:468) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_65] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65] Caused by: org.elasticsearch.transport.NodeDisconnectedException: [][inet[/:9300]][indices:data/write/bulk] disconnected [23:54:31,955][ERROR][BulkTransportClient ][elasticsearch[importer][listener][T#1]] bulk [320] error org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available: [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] at org.elasticsearch.client.transport.TransportClientNodesService$RetryListener.onFailure(TransportClientNodesService.java:242) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.action.TransportActionNodeProxy$1.handleException(TransportActionNodeProxy.java:78) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.transport.TransportService$Adapter$3.run(TransportService.java:468) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_65] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65] Caused by: org.elasticsearch.transport.NodeDisconnectedException: [][inet[/:9300]][indices:data/write/bulk] disconnected [23:54:32,021][ERROR][BulkTransportClient ][elasticsearch[importer][listener][T#2]] bulk [323] error org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available: [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] at org.elasticsearch.client.transport.TransportClientNodesService$RetryListener.onFailure(TransportClientNodesService.java:242) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.action.TransportActionNodeProxy$1.handleException(TransportActionNodeProxy.java:78) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.transport.TransportService$Adapter$3.run(TransportService.java:468) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_65] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65] Caused by: org.elasticsearch.transport.NodeDisconnectedException: [][inet[/:9300]][indices:data/write/bulk] disconnected [23:54:32,022][ERROR][BulkTransportClient ][elasticsearch[importer][listener][T#1]] bulk [317] error org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available: [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] at org.elasticsearch.client.transport.TransportClientNodesService$RetryListener.onFailure(TransportClientNodesService.java:242) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.action.TransportActionNodeProxy$1.handleException(TransportActionNodeProxy.java:78) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.transport.TransportService$Adapter$3.run(TransportService.java:468) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_65] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65] Caused by: org.elasticsearch.transport.NodeDisconnectedException: [][inet[/:9300]][indices:data/write/bulk] disconnected [23:54:32,022][ERROR][BulkTransportClient ][elasticsearch[importer][listener][T#2]] bulk [318] error org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available: [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] at org.elasticsearch.client.transport.TransportClientNodesService$RetryListener.onFailure(TransportClientNodesService.java:242) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.action.TransportActionNodeProxy$1.handleException(TransportActionNodeProxy.java:78) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.transport.TransportService$Adapter$3.run(TransportService.java:468) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_65] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65] Caused by: org.elasticsearch.transport.NodeDisconnectedException: [][inet[/:9300]][indices:data/write/bulk] disconnected [23:54:32,023][ERROR][BulkTransportClient ][elasticsearch[importer][listener][T#2]] bulk [321] error org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available: [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] at org.elasticsearch.client.transport.TransportClientNodesService$RetryListener.onFailure(TransportClientNodesService.java:242) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.action.TransportActionNodeProxy$1.handleException(TransportActionNodeProxy.java:78) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.transport.TransportService$Adapter$3.run(TransportService.java:468) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_65] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65] Caused by: org.elasticsearch.transport.NodeDisconnectedException: [][inet[/:9300]][indices:data/write/bulk] disconnected [23:54:32,023][ERROR][BulkTransportClient ][elasticsearch[importer][listener][T#1]] bulk [322] error org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available: [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] at org.elasticsearch.client.transport.TransportClientNodesService$RetryListener.onFailure(TransportClientNodesService.java:242) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.action.TransportActionNodeProxy$1.handleException(TransportActionNodeProxy.java:78) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.transport.TransportService$Adapter$3.run(TransportService.java:468) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_65] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65] Caused by: org.elasticsearch.transport.NodeDisconnectedException: [][inet[/:9300]][indices:data/write/bulk] disconnected [23:54:32,023][ERROR][BulkTransportClient ][elasticsearch[importer][listener][T#2]] bulk [316] error org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available: [[][Jr8tuDOuQBi98B9xot-YMA][][inet[/:9300]]{master=true}] at org.elasticsearch.client.transport.TransportClientNodesService$RetryListener.onFailure(TransportClientNodesService.java:242) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.action.TransportActionNodeProxy$1.handleException(TransportActionNodeProxy.java:78) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at org.elasticsearch.transport.TransportService$Adapter$3.run(TransportService.java:468) ~[elasticsearch-jdbc-1.7.0.0-uberjar.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_65] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65] Caused by: org.elasticsearch.transport.NodeDisconnectedException: [][inet[/:9300]][indices:data/write/bulk] disconnected [23:54:32,050][DEBUG][BaseTransportClient ][pool-2-thread-1] shutdown complete [23:54:32,050][DEBUG][BulkTransportClient ][pool-2-thread-1] shutting down completed [23:54:32,050][DEBUG][importer.jdbc.sink.standard][pool-2-thread-1] afterFetch: after ingest shutdown [23:54:32,050][DEBUG][importer ][pool-2-thread-1] close (no op) [23:54:32,051][DEBUG][importer ][main] execution completed [23:54:32,051][DEBUG][importer ][main] cleanup (no op)

rvijayakumar82 commented 9 years ago

@jprante : I appreciate your early response to this issue as we are planning for production data migration sooner..

Thanks in advance!!!

jprante commented 9 years ago

Is there anything in the server logs?

Some bulk requests take very long to process. So when the importer tries to close, the server has difficulties to respond in time.

There may be lots of reasons (problems on cluster nodes, data mappings etc.) which can only be revealed by a look at the cluster node logs.

rvijayakumar82 commented 9 years ago

@jprante : Thanks for the quick reply.

Nothing is there in the server log. Please find the log details from ES server.

Log Info:

[2015-09-08 06:03:40,121][INFO ][cluster.metadata ] [] [index_stg] deleting index [2015-09-08 06:04:50,010][INFO ][cluster.metadata ] [] [index_stg] creating index, cause [api], templates [], shards [5]/[1], mappings [account] [2015-09-08 06:04:50,432][INFO ][index.shard ] [] [index_stg][0] updating refresh_interval from [1s] to [-1000] [2015-09-08 06:04:50,433][INFO ][index.shard ] [] [index_stg][4] updating refresh_interval from [1s] to [-1000] [2015-09-08 06:08:47,169][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:09:05,910][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:09:40,301][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:09:47,940][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:11:19,538][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:11:34,711][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:14:19,107][INFO ][index.engine ] [] [index_stg][4] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:14:40,033][INFO ][index.engine ] [] [index_stg][4] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:15:31,364][INFO ][index.engine ] [] [index_stg][4] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:15:55,795][INFO ][index.engine ] [] [index_stg][4] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:16:42,777][INFO ][index.engine ] [] [index_stg][4] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:16:54,797][INFO ][index.engine ] [] [index_stg][4] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:17:51,940][INFO ][index.engine ] [] [index_stg][4] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:18:11,411][INFO ][index.engine ] [] [index_stg][4] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:19:14,240][INFO ][index.engine ] [] [index_stg][4] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:19:28,896][INFO ][index.engine ] [] [index_stg][4] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:21:38,780][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:21:59,467][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:22:47,029][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:23:05,737][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:23:47,233][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:24:08,926][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:25:05,510][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:25:26,454][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:27:33,789][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:27:54,157][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:28:37,959][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:28:53,297][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:29:36,034][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:30:32,986][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:32:10,483][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:32:33,512][INFO ][index.engine ] [] [index_stg][4] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:33:07,344][INFO ][index.engine ] [] [index_stg][4] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:33:10,879][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:33:45,731][INFO ][index.engine ] [] [index_stg][4] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:34:12,437][INFO ][index.engine ] [] [index_stg][4] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:34:49,849][INFO ][index.engine ] [] [index_stg][4] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 06:35:20,374][INFO ][index.engine ] [] [index_stg][4] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 06:36:46,135][WARN ][monitor.jvm ] [] [gc][young][335742][85908] duration [1.1s], collections [1]/[1.3s], total [1.1s]/[49.1m], memory [7.3gb]->[7.3gb]/[9.9gb], all_pools {[young] [137.1mb]->[1.2mb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [7.1gb]->[7.2gb]/[9.6gb]} [2015-09-08 06:41:07,788][WARN ][monitor.jvm ] [] [gc][young][336001][86680] duration [1.8s], collections [1]/[2.3s], total [1.8s]/[49.6m], memory [6.3gb]->[6.3gb]/[9.9gb], all_pools {[young] [6.5mb]->[3.3mb]/[266.2mb]}{[survivor] [33.2mb]->[6mb]/[33.2mb]}{[old] [6.2gb]->[6.3gb]/[9.6gb]} [2015-09-08 07:31:57,356][WARN ][monitor.jvm ] [] [gc][young][339038][94750] duration [1.9s], collections [1]/[2.3s], total [1.9s]/[54.3m], memory [5.8gb]->[5.8gb]/[9.9gb], all_pools {[young] [192.7mb]->[7.2mb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [5.5gb]->[5.8gb]/[9.6gb]} [2015-09-08 07:32:02,564][INFO ][monitor.jvm ] [] [gc][young][339043][94753] duration [701ms], collections [1]/[1s], total [701ms]/[54.3m], memory [6.3gb]->[6.2gb]/[9.9gb], all_pools {[young] [238.7mb]->[63mb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [6gb]->[6.1gb]/[9.6gb]} [2015-09-08 07:32:05,395][WARN ][monitor.jvm ] [] [gc][young][339044][94754] duration [2.5s], collections [1]/[2.8s], total [2.5s]/[54.3m], memory [6.2gb]->[6.3gb]/[9.9gb], all_pools {[young] [63mb]->[67kb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [6.1gb]->[6.3gb]/[9.6gb]} [2015-09-08 07:32:32,040][WARN ][monitor.jvm ] [] [gc][young][339068][94768] duration [2.4s], collections [1]/[3.1s], total [2.4s]/[54.4m], memory [7gb]->[7gb]/[9.9gb], all_pools {[young] [204.2mb]->[15.6mb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [6.8gb]->[6.9gb]/[9.6gb]} [2015-09-08 09:01:26,867][INFO ][index.shard ] [] [index_stg][0] updating refresh_interval from [-1000] to [1s] [2015-09-08 09:01:26,871][INFO ][index.shard ] [] [index_stg][4] updating refresh_interval from [-1000] to [1s] [2015-09-08 09:26:21,225][INFO ][index.engine ] [] [index_stg][0] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 09:26:45,136][INFO ][index.engine ] [] [index_stg][0] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 13:01:49,007][INFO ][cluster.metadata ] [] [index_stg] deleting index [2015-09-08 13:03:59,471][INFO ][cluster.metadata ] [] [index_stg] creating index, cause [api], templates [], shards [5]/[1], mappings [account] [2015-09-08 13:04:00,105][INFO ][index.shard ] [] [index_stg][0] updating refresh_interval from [1s] to [-1000] [2015-09-08 13:04:00,106][INFO ][index.shard ] [] [index_stg][4] updating refresh_interval from [1s] to [-1000] [2015-09-08 13:12:06,510][INFO ][index.engine ] [] [index_stg][4] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 13:12:27,839][INFO ][index.engine ] [] [index_stg][4] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 16:48:04,219][INFO ][index.shard ] [] [index_stg][0] updating refresh_interval from [-1000] to [1s] [2015-09-08 16:48:04,223][INFO ][index.shard ] [] [index_stg][4] updating refresh_interval from [-1000] to [1s] [2015-09-08 19:36:10,306][INFO ][cluster.metadata ] [] [index_stg] deleting index [2015-09-08 20:07:19,728][INFO ][cluster.metadata ] [] [index_stg] creating index, cause [api], templates [], shards [5]/[1], mappings [account] [2015-09-08 20:07:20,345][INFO ][index.shard ] [] [index_stg][0] updating refresh_interval from [1s] to [-1000] [2015-09-08 20:07:20,345][INFO ][index.shard ] [] [index_stg][4] updating refresh_interval from [1s] to [-1000] [2015-09-08 20:19:53,953][INFO ][index.engine ] [] [index_stg][4] now throttling indexing: numMergesInFlight=5, maxNumMerges=4 [2015-09-08 20:20:15,724][INFO ][index.engine ] [] [index_stg][4] stop throttling indexing: numMergesInFlight=3, maxNumMerges=4 [2015-09-08 20:38:35,856][WARN ][monitor.jvm ] [] [gc][young][386149][156611] duration [1.5s], collections [1]/[1.8s], total [1.5s]/[1.4h], memory [5.6gb]->[5.8gb]/[9.9gb], all_pools {[young] [66.8kb]->[528.2kb]/[266.2mb]}{[survivor] [33.2mb]->[32.8mb]/[33.2mb]}{[old] [5.6gb]->[5.7gb]/[9.6gb]} [2015-09-08 20:38:39,137][INFO ][monitor.jvm ] [] [gc][young][386152][156616] duration [899ms], collections [1]/[1.2s], total [899ms]/[1.4h], memory [5.9gb]->[6gb]/[9.9gb], all_pools {[young] [2.2mb]->[153.9kb]/[266.2mb]}{[survivor] [33.2mb]->[32.7mb]/[33.2mb]}{[old] [5.9gb]->[6gb]/[9.6gb]} [2015-09-08 20:38:40,739][WARN ][monitor.jvm ] [] [gc][young][386153][156617] duration [1.2s], collections [1]/[1.6s], total [1.2s]/[1.4h], memory [6gb]->[6.1gb]/[9.9gb], all_pools {[young] [153.9kb]->[1.8mb]/[266.2mb]}{[survivor] [32.7mb]->[33.2mb]/[33.2mb]}{[old] [6gb]->[6.1gb]/[9.6gb]} [2015-09-08 20:39:04,892][INFO ][monitor.jvm ] [] [gc][young][386176][156674] duration [833ms], collections [1]/[1s], total [833ms]/[1.4h], memory [7gb]->[7.1gb]/[9.9gb], all_pools {[young] [1mb]->[1mb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [6.9gb]->[7gb]/[9.6gb]} [2015-09-08 20:41:25,192][INFO ][monitor.jvm ] [] [gc][young][386316][156831] duration [756ms], collections [1]/[1s], total [756ms]/[1.4h], memory [6.4gb]->[6.4gb]/[9.9gb], all_pools {[young] [245.3mb]->[167.3mb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [6.2gb]->[6.2gb]/[9.6gb]} [2015-09-08 20:41:27,517][WARN ][monitor.jvm ] [] [gc][young][386318][156834] duration [1.2s], collections [1]/[1.3s], total [1.2s]/[1.4h], memory [6.7gb]->[6.6gb]/[9.9gb], all_pools {[young] [214.6mb]->[2.3mb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [6.4gb]->[6.6gb]/[9.6gb]} [2015-09-08 20:41:31,436][INFO ][monitor.jvm ] [] [gc][young][386321][156838] duration [888ms], collections [1]/[1.2s], total [888ms]/[1.4h], memory [7.1gb]->[7.1gb]/[9.9gb], all_pools {[young] [121.1mb]->[160kb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [6.9gb]->[7gb]/[9.6gb]} [2015-09-08 20:43:06,225][WARN ][monitor.jvm ] [] [gc][young][386414][156987] duration [1.3s], collections [1]/[1.8s], total [1.3s]/[1.4h], memory [7.3gb]->[7.5gb]/[9.9gb], all_pools {[young] [540.7kb]->[12.9mb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [7.3gb]->[7.4gb]/[9.6gb]} [2015-09-08 23:30:53,036][INFO ][monitor.jvm ] [] [gc][young][396448][180865] duration [772ms], collections [1]/[1.5s], total [772ms]/[1.7h], memory [6.3gb]->[6.3gb]/[9.9gb], all_pools {[young] [89mb]->[671.6kb]/[266.2mb]}{[survivor] [33.2mb]->[33.2mb]/[33.2mb]}{[old] [6.2gb]->[6.3gb]/[9.6gb]} [2015-09-08 23:53:25,410][INFO ][index.shard ] [] [index_stg][0] updating refresh_interval from [-1000] to [1s] [2015-09-08 23:53:25,411][INFO ][index.shard ] [] [index_stg][4] updating refresh_interval from [-1000] to [1s]

jprante commented 9 years ago

Then I'm clueless.

Please check if all the documents you expect are indexed.

If not, just repeat the indexing. Maybe the disconnection event is not reproducible.

rvijayakumar82 commented 9 years ago

@jprante : Not all the data got migrated. It stops indexing data once the importer receives the "org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes were available".

We are getting this error when we index large volume of data. Also in the jdbc-importer log, it is clearly mentioned that "disconnecting from [Machine name] due to explicit disconnect call". I believe that this call is from the "afterFetch()" method in "StandardSink".

Is there a way to inform jdbc-importer to check for any ongoing write process and then close the client connection once that process in finished?

jprante commented 9 years ago

You notice the line with afterFetch: stop bulk ? The JDBC importer waits for 60 seconds so the cluster has much time to complete the indexing. Then it closes down and writes the line with afterFetch: before ingest shutdown which means it is about to disconnect.

In your case, bulk requests are still processed after 60 seconds. There is something very slow on the cluster. There are documented settings of JDBC importer how to reduce the bulk indexing load. You should also check if you want to disable index throttling, or if you want to adjust the segment merging parameters of the cluster, to increase your cluster power. Or if you want to add a node which is very simple.

rvijayakumar82 commented 9 years ago

@jprante : Thanks for your reply. We are using keyword tokenizer with nGram filter to generate the token stream as like the original text in order to support partial matching search. Does it cause this issue? Also could you please share the details for the below items which you mentioned.

1.There are documented settings of JDBC importer how to reduce the bulk indexing load. 2.You should also check if you want to disable index throttling, or if you want to adjust the segment merging parameters of the cluster, to increase your cluster power