I'm trying to create after installing shield , the error I receive:
Error: Could not find or load main class org.elasticsearch.shield.authc.esusers.tool.ESUsersTool
My Elasticsearch is 1.7 , Kibana 4.0.2 , Shield version 1.3.2.
I saw the problem in the forum
I changed my shield version to 1.3.2 and removed the other.
The command I'm using to create the user is:
bin/shield/esusers useradd chenb -p chenb -r admin
I still receive the same error.
Error: Could not find or load main class org.elasticsearch.shield.authc.esusers.tool.ESUsersTool
There is a script in the ES bin folder named elasticsearch.in.sh. If you set this in the ES_INCLUDE variable it works. I did this before I ran the esusers command:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.