Eu sou incapaz de definir abaixo perporties através do arquivo elasticsearch.yml em elasticsearch 6.2.1, mas estes estavam trabalhando anteriormente em elasticsearch 2.x
threadpool.bulk.type: fixed
threadpool.bulk.size: 16
threadpool.bulk.queue_size: 5000
ficando abaixo do erro
[2018-02-19T14:27:05,861][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] []
uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException
: unknown setting [threadpool.bulk.queue_size] did you mean any of [thread_pool.
bulk.queue_size, thread_pool.get.queue_size, thread_pool.index.queue_size, threa
d_pool.search.queue_size, thread_pool.bulk.size, thread_pool.listener.queue_size
]?
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125
) ~[elasticsearch-6.2.1.jar:6.2.1]
Por favor me ajude a consertar isso, Obrigado antecipadamente
Respostas:
0 para resposta № 1Em 2.x foi threadpool
https://www.elastic.co/guide/en/elasticsearch/reference/2.4/modules-threadpool.html
mas na versão mais recente ele é alterado como thead_pool
https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-threadpool.html