You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting nodes info from an OpenSearch instance running as AWS service fails with the following exception.
Caused by: org.opensearch.client.util.MissingRequiredPropertyException: Missing required property 'NodeOperatingSystemInfo.arch'
at deployment.app//org.opensearch.client.util.ApiTypeHelper.requireNonNull(ApiTypeHelper.java:90)
at deployment.app//org.opensearch.client.opensearch.nodes.info.NodeOperatingSystemInfo.<init>(NodeOperatingSystemInfo.java:80)
at deployment.app//org.opensearch.client.opensearch.nodes.info.NodeOperatingSystemInfo.<init>(NodeOperatingSystemInfo.java:51)
at deployment.app//org.opensearch.client.opensearch.nodes.info.NodeOperatingSystemInfo$Builder.build(NodeOperatingSystemInfo.java:392)
at deployment.app//org.opensearch.client.opensearch.nodes.info.NodeOperatingSystemInfo$Builder.build(NodeOperatingSystemInfo.java:243)
at deployment.app//org.opensearch.client.json.ObjectBuilderDeserializer.deserialize(ObjectBuilderDeserializer.java:92)
at deployment.app//org.opensearch.client.json.DelegatingDeserializer$SameType.deserialize(DelegatingDeserializer.java:55)
at deployment.app//org.opensearch.client.json.ObjectDeserializer$FieldObjectDeserializer.deserialize(ObjectDeserializer.java:81)
at deployment.app//org.opensearch.client.json.ObjectDeserializer.deserialize(ObjectDeserializer.java:185)
at deployment.app//org.opensearch.client.json.ObjectDeserializer.deserialize(ObjectDeserializer.java:146)
at deployment.app//org.opensearch.client.json.JsonpDeserializer.deserialize(JsonpDeserializer.java:87)
at deployment.app//org.opensearch.client.json.ObjectBuilderDeserializer.deserialize(ObjectBuilderDeserializer.java:91)
at deployment.app//org.opensearch.client.json.DelegatingDeserializer$SameType.deserialize(DelegatingDeserializer.java:55)
at deployment.app//org.opensearch.client.json.JsonpDeserializerBase$StringMapDeserializer.deserialize(JsonpDeserializerBase.java:369)
at deployment.app//org.opensearch.client.json.JsonpDeserializerBase$StringMapDeserializer.deserialize(JsonpDeserializerBase.java:355)
at deployment.app//org.opensearch.client.json.JsonpDeserializer.deserialize(JsonpDeserializer.java:87)
at deployment.app//org.opensearch.client.json.ObjectDeserializer$FieldObjectDeserializer.deserialize(ObjectDeserializer.java:81)
at deployment.app//org.opensearch.client.json.ObjectDeserializer.deserialize(ObjectDeserializer.java:185)
at deployment.app//org.opensearch.client.json.ObjectDeserializer.deserialize(ObjectDeserializer.java:146)
at deployment.app//org.opensearch.client.json.JsonpDeserializer.deserialize(JsonpDeserializer.java:87)
at deployment.app//org.opensearch.client.json.ObjectBuilderDeserializer.deserialize(ObjectBuilderDeserializer.java:91)
at deployment.app//org.opensearch.client.json.DelegatingDeserializer$SameType.deserialize(DelegatingDeserializer.java:55)
at deployment.app//org.opensearch.client.transport.rest_client.RestClientTransport.decodeResponse(RestClientTransport.java:360)
at deployment.app//org.opensearch.client.transport.rest_client.RestClientTransport.getHighLevelResponse(RestClientTransport.java:326)
at deployment.app//org.opensearch.client.transport.rest_client.RestClientTransport.performRequest(RestClientTransport.java:148)
at deployment.app//org.opensearch.client.opensearch.nodes.OpenSearchNodesClient.info(OpenSearchNodesClient.java:121)
at deployment.app//org.opensearch.client.opensearch.nodes.OpenSearchNodesClient.info(OpenSearchNodesClient.java:135)
How can one reproduce the bug?
Connect the client to an AWS service instance of OpenSearch.
Execute a request like: client.nodes().info(n -> n.metric("os"))
What is the expected behavior?
The client should be able to parse the partial result returned from the AWS instance.
What is your host/environment?
Java client 2.18.0
OpenSearch server 2.13/2.17 (tested both) hosted on AWS
Do you have any screenshots?
GET _nodes?metrics=os
Sample response from AWS (left) vs. local on-prem instance.
Do you have any additional context?
n/a
The text was updated successfully, but these errors were encountered:
What is the bug?
Getting nodes info from an OpenSearch instance running as AWS service fails with the following exception.
How can one reproduce the bug?
Connect the client to an AWS service instance of OpenSearch.
Execute a request like:
client.nodes().info(n -> n.metric("os"))
What is the expected behavior?
The client should be able to parse the partial result returned from the AWS instance.
What is your host/environment?
Java client 2.18.0
OpenSearch server 2.13/2.17 (tested both) hosted on AWS
Do you have any screenshots?
GET _nodes?metrics=os
Sample response from AWS (left) vs. local on-prem instance.
Do you have any additional context?
n/a
The text was updated successfully, but these errors were encountered: