0
我試圖設置如下屬性:一些elasticsearch.yml配置不生效
bootstrap:
mlockall: true
index:
warmer:
enabled: false
translog:
interval: 10s
flush_threshold_size: 1024mb
gateway:
local:
sync: 10s
indices:
memory:
index_buffer_size: 50%
store:
throttle.type: none
我試過連:
bootstrap.mlockall: true
index.warmer.enabled: false
index.translog.interval: 10s
index.gateway.local.sync: 10s
index.translog.flush_threshold_size: 1024mb
indices.memory.index_buffer_size: 50%
indices.store.throttle.type: none
但GET _cluster/settings
具有空輸出:
{
"persistent": {},
"transient": {}
}
GET _settings
對於後來創建的所有索引顯示沒有這些設置的設置設置:
"indexName": {
"settings": {
"index": {
"creation_date": "1427893895234",
"uuid": "lJsmOeOORdOuG7GHbFmmaw",
"number_of_replicas": "1",
"number_of_shards": "5",
"version": {
"created": "1050099"
}
}
}
}
而且GET _nodes/process
顯示"mlockall": false
......當然,我重新啓動ES。有趣的是,像cluster-name
或discovery
這樣的東西是反映,但這些不是......沒有在日誌btw錯誤。