Hi there, new OpenSearch user here trying to use the cli for the first time. I have a new cluster formed and it seems to be working.
I can’t seem to get the cli to execute properly. It seems like the variable for $OPENSEARCH_MAIN_CLASS is never populated when executing the opensearch-cli script.
The command that is generated when executing opensearch-cli --version is below:
Note how there is an empty value for $OPENSEARCH_MAIN_CLASS. I can’t see anywhere that this variable is populated in the script, so I am perplexed. Since it doesn’t find the class, this is always what my output is: Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException