{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9375","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9375/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9375/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9375/events","html_url":"https://github.com/elasticsearch/elasticsearch/issues/9375","id":54996443,"number":9375,"title":"Add timeout parameter to cat api","user":{"login":"ppf2","id":7216393,"avatar_url":"https://avatars.githubusercontent.com/u/7216393?v=3","gravatar_id":"","url":"https://api.github.com/users/ppf2","html_url":"https://github.com/ppf2","followers_url":"https://api.github.com/users/ppf2/followers","following_url":"https://api.github.com/users/ppf2/following{/other_user}","gists_url":"https://api.github.com/users/ppf2/gists{/gist_id}","starred_url":"https://api.github.com/users/ppf2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppf2/subscriptions","organizations_url":"https://api.github.com/users/ppf2/orgs","repos_url":"https://api.github.com/users/ppf2/repos","events_url":"https://api.github.com/users/ppf2/events{/privacy}","received_events_url":"https://api.github.com/users/ppf2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/discuss","name":"discuss","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-21T09:37:34Z","updated_at":"2015-01-21T13:55:34Z","closed_at":null,"body":"The nodes cat api appears to not have a timeout by default (and certainly not a way to set one).  This suggests that it will wait forever on all the nodes to respond and may seem to hang.  This is a request to add a timeout parameter."},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/comments/70840412","html_url":"https://github.com/elasticsearch/elasticsearch/issues/9375#issuecomment-70840412","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9375","id":70840412,"user":{"login":"bleskes","id":1006375,"avatar_url":"https://avatars.githubusercontent.com/u/1006375?v=3","gravatar_id":"","url":"https://api.github.com/users/bleskes","html_url":"https://github.com/bleskes","followers_url":"https://api.github.com/users/bleskes/followers","following_url":"https://api.github.com/users/bleskes/following{/other_user}","gists_url":"https://api.github.com/users/bleskes/gists{/gist_id}","starred_url":"https://api.github.com/users/bleskes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleskes/subscriptions","organizations_url":"https://api.github.com/users/bleskes/orgs","repos_url":"https://api.github.com/users/bleskes/repos","events_url":"https://api.github.com/users/bleskes/events{/privacy}","received_events_url":"https://api.github.com/users/bleskes/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T13:55:34Z","updated_at":"2015-01-21T13:55:34Z","body":"The will indeed return once the nodes are disconnected by the master. The nodes may also recover or just take long to answer. I think the idea is to add an (optional) timeout parameter that acts on the node level - I.e., you will get a response for all the nodes that did respond instead of a global timeout with no answer at all. These cat commands are sometimes used when the cluster is under pressure and you rather have partial information.\r\n\r\nOn Wed, Jan 21, 2015 at 10:37 AM, Pius <notifications@github.com> wrote:\r\n\r\n> The nodes cat api appears to not have a timeout by default (and certainly not a way to set one).  This suggests that it will wait forever on all the nodes to respond and may seem to hang.  This is a request to add a timeout parameter.\r\n> ---\r\n> Reply to this email directly or view it on GitHub:\r\n> https://github.com/elasticsearch/elasticsearch/issues/9375"}}