-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
getFileDescriptorStats() not working with ES 5.3 #4119
Comments
@maxirus The cat API works perfectly fine with Elasticsearch 5.3.x as being used right now, so I guess it's aws-es-proxy or the AWS Elasticsearch Service which isn't 100% compatible with Elasticsearch 5.x. Example with Elasticsearch 5.3.0:
This being said, we'll try to make it easier by using the |
joschi
added
elasticsearch
improvement
low hanging fruit
papercut
triaged
and removed
to-verify
labels
Sep 6, 2017
joschi
pushed a commit
that referenced
this issue
Sep 6, 2017
While using the "Accept" HTTP request header should be perfectly sufficient, some Elasticsearch "clones" (such as the AWS Elasticsearch Service) don't seem to support it. This change set adds the alternative "format" query parameter to the cat request in order to satisfy these clones. Also see: https://www.elastic.co/guide/en/elasticsearch/reference/5.4/cat.html#_response_as_text_json_smile_yaml_or_cbor Closes #4119
ghost
added
the
in progress
label
Sep 6, 2017
joschi
pushed a commit
that referenced
this issue
Sep 19, 2017
While using the "Accept" HTTP request header should be perfectly sufficient, some Elasticsearch "clones" (such as the AWS Elasticsearch Service) don't seem to support it. This change set adds the alternative "format" query parameter to the cat request in order to satisfy these clones. Also see: https://www.elastic.co/guide/en/elasticsearch/reference/5.4/cat.html#_response_as_text_json_smile_yaml_or_cbor Closes #4119
ghost
removed
the
in progress
label
Sep 19, 2017
bernd
pushed a commit
that referenced
this issue
Sep 19, 2017
* Add "format" query parameter to Elasticsearch cat request While using the "Accept" HTTP request header should be perfectly sufficient, some Elasticsearch "clones" (such as the AWS Elasticsearch Service) don't seem to support it. This change set adds the alternative "format" query parameter to the cat request in order to satisfy these clones. Also see: https://www.elastic.co/guide/en/elasticsearch/reference/5.4/cat.html#_response_as_text_json_smile_yaml_or_cbor Closes #4119 * Use IP address as fallback for hostname in file descriptor stats If the hostname is empty or cannot be identified, use the IP address of the Elasticsearch node as fallback. * Add request timeout for Cluster#clusterHealth() * Add integration test for Cluster class * Migrate to new Elasticsearch integration tests * Hopefully fix ClusterIT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
org.graylog2.indexer.cluster.Cluster.getFileDescriptorStats()
is incompatible with ES 5.3. Specifically, the headerhost
and optionfull_id=true
are not supported. Additionally, the response back is in text, NOT json as expected. Must passformat=json
with no headers to receive a JSON response. See https://www.elastic.co/guide/en/elasticsearch/reference/5.3/cat-nodes.htmlHere is the error I see in the logs:
My setup is as follows:
Host A:
Host B:
AWS ElasticSearch Service v5.3
More debug info:
server.conf (removed comments)
Let me know if there is any more info I can provide.
graylog2-server/graylog2-server/src/main/java/org/graylog2/indexer/cluster/Cluster.java
Line 124 in 6d98f00
The text was updated successfully, but these errors were encountered: