No implementation for org.elasticsearch.license.plugin.core.LicenseeRegistry was bound.
while locating org.elasticsearch.license.plugin.core.LicenseeRegistry
for parameter 1 at org.elasticsearch.shield.license.ShieldLicensee.(Unknown Source)
at unknown
1 error
at org.elasticsearch.common.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:360)
at org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:151)
at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:46)
at org.elasticsearch.node.Node.(Node.java:213)
I have installed license-2.4.0.zip and shield 2.4.0.zip and i have Elastic Search version 2.4.0.
It's not immediately obvious what has gone wrong with your install.
It looks like the best course of action would be to start the install again from the beginning.
Try and record (copy-n-paste from your terminal) the steps that you take, so that if this problem reoccurs we have a bit more to go on to try and work out what caused it.
I tried the steps again which i am describing below. WE have an application where in we embed the elastic search into our application which means es is not installed as a service, rather a service integrated into our application
i have added all the jars Shield, automaton and unbound jars that comes with Shield 2.4.0 and also the licensing related jars (license,license-core and license plugin-api) into the classpath of our application. Looking at the exception, and the decompiled code,the below snippet from the LicenseModule class should be related to the exception, i see licenseeRegistry is bounded to licenseService when it is not a tribe node. I am quite sure that i havent started my node as a tribe node.
What else could be the problems ? why licenseeRegistry could not find any bindings. In the worst case(i.e.. when node is a tribe node, licenseeRegistry has a no-opbinding defined )
Any specific reason for Shield not supporting ES in embedded mode ? Is that because of the licensing jars or other technical difficulties ? I am curious to find out, because i could get SearchGuard/SSL working with ES installed in embedded mode.
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.