Elasticsearch version (bin/elasticsearch --version):6.4.0
Plugins installed: [analysis-ik]
JVM version (java -version):1.8.0_181
OS version (uname -a if on a Unix-like system):CentOS 7 4.18.3-1.el7.elrepo.x86_64
Description of the problem including expected versus actual behavior:
We have all cache metrics 0, such as:
/_nodes/stats/indices/query_cache
{
"_nodes" : {
"total" : 3,
"successful" : 3,
"failed" : 0
},
"cluster_name" : "weixinhost",
"nodes" : {
"6f0Kvy9VQf6pUdKpGc55_w" : {
"timestamp" : 1535441875213,
"name" : "node-2",
"transport_address" : "172.31.100.174:9300",
"host" : "172.31.100.174",
"ip" : "172.31.100.174:9300",
"roles" : [
"master",
"data",
"ingest"
],
"attributes" : {
"ml.machine_memory" : "16026021888",
"hdsize" : "300Gb",
"xpack.installed" : "true",
"az" : "cn-north-1a",
"vmsize" : "r4.large",
"ml.max_open_jobs" : "20",
"ml.enabled" : "true"
},
"indices" : {
"query_cache" : {
"memory_size_in_bytes" : 0,
"total_count" : 0,
"hit_count" : 0,
"miss_count" : 0,
"cache_size" : 0,
"cache_count" : 0,
"evictions" : 0
}
}
},
...
}
Steps to reproduce:
elasticsearch.yml
cluster.name:XXX
node.name: node-1
path.data: /elasticsearch/data
path.logs: /elasticsearch/log
network.host: 0.0.0.0
http.port: 9200
discovery.zen.ping.unicast.hosts: [.............]
discovery.zen.minimum_master_nodes: 2
bootstrap.memory_lock: true
/INDEX/_settings
{
"INDEX" : {
"settings" : {
"index" : {
"refresh_interval" : "10s",
"number_of_shards" : "9",
"provided_name" : "follower-v2",
"creation_date" : "1535191750932",
"requests" : {
"cache" : {
"enable" : "true"
}
},
"unassigned" : {
"node_left" : {
"delayed_timeout" : "5m"
}
},
"number_of_replicas" : "0",
"queries" : {
"cache" : {
"enabled" : "true"
}
},
"uuid" : "CeBrVgGRQ42NA4QlgQNiLA",
"version" : {
"created" : "6030299"
}
}
}
}
}
Elasticsearch version (bin/elasticsearch --version):6.4.0
Plugins installed: [analysis-ik]
JVM version (java -version):1.8.0_181
OS version (uname -a if on a Unix-like system):CentOS 7 4.18.3-1.el7.elrepo.x86_64
Description of the problem including expected versus actual behavior:
We have all cache metrics 0, such as:
/_nodes/stats/indices/query_cache
Steps to reproduce:
elasticsearch.yml
/INDEX/_settings