线程池设置在elasticsearch 6.2.1中不支持

时间:2018-02-19 10:20:32

标签: elasticsearch

我无法通过elasticsearch 6.2.1中的elasticsearch.yml文件设置以下perporties,但这些在弹性搜索2.x

中更早发挥作用
threadpool.bulk.type: fixed

threadpool.bulk.size: 16 

threadpool.bulk.queue_size: 5000

低于错误 -

[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]

请帮我解决此问题,提前致谢

1 个答案:

答案 0 :(得分:0)