Hi Team,
We wanted to know if all _cat API are always served from master node?
Even if it is fired from data node will it hit master node for getting response. e.g _cat/indices?v
Hi Team,
We wanted to know if all _cat API are always served from master node?
Even if it is fired from data node will it hit master node for getting response. e.g _cat/indices?v
Hi Team,
We are using 7.10.2 OSS version of Elastic, based on the code looks like doCatRequest() calls sendGetSettingsRequest() which has masterNodeTimeout
is passed.
Does that mean all cat API calls hits master node even though it is hit in data node.
All GET _cat/*
APIs run on the node that receives the original request. Some of them (but not all of them) may request some data from the master while they're running.
Thank you David for your response. The reason i ask this is we have sometimes seen master nodes choked so we are looking to reduce the metrics capturing from master nodes. Can you confirm if move the below API to data or coordinating node will it still hit master node.
/_cat/indices/*
/_cat/shards/
/_nodes/_local/stats
/_cluster/health?level=indices&format=json&pretty
Sorry, your version is too old for me to dig deep enough to answer these questions. Please upgrade to a supported version ASAP.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.