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
When a try to get node stats information the exception is thrown. org.opensearch.client.util.MissingRequiredPropertyException: Missing required property 'DataPathStats.mount'
How can one reproduce the bug?
Just get a Opensearch client object and execute this code example.
final OpenSearchClient opClient = OpensearchFactory.getInstance();
final OpenSearchNodesClient nodes = opClient.nodes();
final NodesStatsResponse stats = nodes.stats(); // <- Exception here
System.out.println(stats.nodeStats().total());
System.out.println(stats.nodeStats().successful());
System.out.println(stats.nodeStats().failed());
What is the expected behavior?
I would like to run this code in order to get part of the information from the JSON returned in the node stats api. Request: GET _nodes/stats
What is the bug?
When a try to get node stats information the exception is thrown.
org.opensearch.client.util.MissingRequiredPropertyException: Missing required property 'DataPathStats.mount'
How can one reproduce the bug?
Just get a Opensearch client object and execute this code example.
What is the expected behavior?
I would like to run this code in order to get part of the information from the JSON returned in the node stats api.
Request:
GET _nodes/stats
What is your host/environment?
opensearch-java client version
2.8.4
OpenSearch version
2.11 (Amazon OpenSearch Service)
The text was updated successfully, but these errors were encountered: