Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_cat/allocation returns -1 as disk.total for clients nodes #5948

Closed
javanna opened this issue Apr 26, 2014 · 0 comments
Closed

_cat/allocation returns -1 as disk.total for clients nodes #5948

javanna opened this issue Apr 26, 2014 · 0 comments

Comments

@javanna
Copy link
Member

javanna commented Apr 26, 2014

No data gets allocated on client nodes, and a subest of the nodes stats information is not available for client nodes. That is why some columns in _cat/allocation might be empty, but there should be consistency on how null values are returned. The example below contains 0b for disk.used, no value for disk.available, and -1b for disk.total:

0     0b             -1b    Lucas-MacBook-Air.local 192.168.0.13 Hazard
6 92.5gb 140.4gb 232.9gb 39 Lucas-MacBook-Air.local 192.168.0.13 Ningal

I think it should be as follows instead, with no value instead of -1, leaving 0b for disk.used though:

0     0b                    Lucas-MacBook-Air.local 192.168.0.13 Hazard
6 92.5gb 140.4gb 232.9gb 39 Lucas-MacBook-Air.local 192.168.0.13 Ningal
@javanna javanna self-assigned this Apr 26, 2014
javanna added a commit that referenced this issue Apr 26, 2014
…e (e.g. non data nodes) instead of `-1b`

Closes #5948
javanna added a commit that referenced this issue Apr 26, 2014
…e (e.g. non data nodes) instead of `-1b`

Closes #5948
javanna added a commit that referenced this issue Apr 26, 2014
…e (e.g. non data nodes) instead of `-1b`

Closes #5948
@clintongormley clintongormley added the :Data Management/CAT APIs Text APIs behind /_cat label Jun 7, 2015
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants