The plugin is for 1.2, I have to update the simple action plugin to Elasticsearch 1.3
Thanks for the reminder Jörg On Wed, Sep 10, 2014 at 11:08 AM, 'Sandeep Ramesh Khanzode' via elasticsearch <[email protected]> wrote: > Hi Jorg, > > I was trying to install this plugin on ES v1.3.1. I am getting the errors > similar to below. Can you please tell me what has changed and how I can > rectify? Thanks, > > 4) No implementation for > java.util.Map<org.elasticsearch.action.GenericAction, > org.elasticsearch.action.support.TransportAction> was bound. > while locating java.util.Map<org.elasticsearch.action.GenericAction, > org.elasticsearch.action.support.TransportAction> > for parameter 1 at > org.elasticsearch.client.node.NodeClusterAdminClient.<init>(Unknown Source) > while locating org.elasticsearch.client.node.NodeClusterAdminClient > for parameter 1 at > org.elasticsearch.client.node.NodeAdminClient.<init>(Unknown Source) > while locating org.elasticsearch.client.node.NodeAdminClient > for parameter 2 at > org.elasticsearch.client.node.NodeClient.<init>(Unknown Source) > at > org.elasticsearch.client.node.NodeClientModule.configure(NodeClientModule.java:38) > > 5) No implementation for > java.util.Map<org.elasticsearch.action.GenericAction, > org.elasticsearch.action.support.TransportAction> was bound. > while locating java.util.Map<org.elasticsearch.action.GenericAction, > org.elasticsearch.action.support.TransportAction> > for parameter 1 at > org.elasticsearch.client.node.NodeIndicesAdminClient.<init>(Unknown Source) > at > org.elasticsearch.client.node.NodeClientModule.configure(NodeClientModule.java:36) > > 6) No implementation for > java.util.Map<org.elasticsearch.action.GenericAction, > org.elasticsearch.action.support.TransportAction> was bound. > while locating java.util.Map<org.elasticsearch.action.GenericAction, > org.elasticsearch.action.support.TransportAction> > for parameter 1 at > org.elasticsearch.client.node.NodeIndicesAdminClient.<init>(Unknown Source) > while locating org.elasticsearch.client.node.NodeIndicesAdminClient > for parameter 2 at > org.elasticsearch.client.node.NodeAdminClient.<init>(Unknown Source) > at > org.elasticsearch.client.node.NodeClientModule.configure(NodeClientModule.java:37) > > 7) No implementation for > java.util.Map<org.elasticsearch.action.GenericAction, > org.elasticsearch.action.support.TransportAction> was bound. > while locating java.util.Map<org.elasticsearch.action.GenericAction, > org.elasticsearch.action.support.TransportAction> > for parameter 1 at > org.elasticsearch.client.node.NodeIndicesAdminClient.<init>(Unknown Source) > while locating org.elasticsearch.client.node.NodeIndicesAdminClient > for parameter 2 at > org.elasticsearch.client.node.NodeAdminClient.<init>(Unknown Source) > while locating org.elasticsearch.client.node.NodeAdminClient > for parameter 2 at > org.elasticsearch.client.node.NodeClient.<init>(Unknown Source) > at > org.elasticsearch.client.node.NodeClientModule.configure(NodeClientModule.java:38) > > 8) No implementation for org.elasticsearch.action.GenericAction annotated > with @org.elasticsearch.common.inject.multibindings.Element(setNam > e=,uniqueId=275) was bound. > at org.elasticsearch.action.ActionModule.configure(ActionModule.java:304) > > 9) An exception was caught and reported. Message: null > at > org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130) > > 9 errors > at > org.elasticsearch.common.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:344) > 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:59) > at > org.elasticsearch.node.internal.InternalNode.<init>(InternalNode.java:192) > at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159) > at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:70) > at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:203) > at > org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32) > Caused by: java.lang.reflect.MalformedParameterizedTypeException > at > sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.validateConstructorArguments(ParameterizedTypeImpl.java:58) > at > sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.<init>(ParameterizedTypeImpl.java:51) > at > sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.make(ParameterizedTypeImpl.java:92) > at > sun.reflect.generics.factory.CoreReflectionFactory.makeParameterizedType(CoreReflectionFactory.java:105) > at > sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:140) > at > sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49) > at > sun.reflect.generics.repository.ClassRepository.getSuperclass(ClassRepository.java:86) > at java.lang.Class.getGenericSuperclass(Class.java:764) > at > org.elasticsearch.common.inject.internal.MoreTypes.getGenericSupertype(MoreTypes.java:390) > at > org.elasticsearch.common.inject.TypeLiteral.getSupertype(TypeLiteral.java:262) > at > org.elasticsearch.common.inject.spi.InjectionPoint.addInjectionPoints(InjectionPoint.java:341) > at > org.elasticsearch.common.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:287) > at > org.elasticsearch.common.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:309) > at > org.elasticsearch.common.inject.internal.BindingBuilder.toInstance(BindingBuilder.java:78) > at > org.elasticsearch.action.ActionModule.configure(ActionModule.java:304) > at > org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60) > at > org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:204) > at > org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:85) > at > org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130) > at > org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99) > ... 8 more > > > Thanks, > Sandeep > > > On Thursday, 5 June 2014 02:15:37 UTC+5:30, Jörg Prante wrote: >> >> Absolutely, agreed. >> >> The docs are sparse in my simple plugin too. I try to find some time to >> add sample code for all the variants and explain the differences. >> >> Jörg >> >> >> On Wed, Jun 4, 2014 at 6:22 PM, Ivan Brusic <[email protected]> wrote: >> >>> Jörg, thanks for the plugin to help as a starting point for plugin >>> development. >>> >>> Although I have built a few plugins during the years, they were river or >>> analysis plugins, which are fairly easy. Writing a custom action required a >>> lot more digging, especially since there are very few to learn from. I >>> still would like to see a write-up regarding the different families of >>> transport actions: BroadcastOperationRequest, >>> MasterNodeOperationRequest, NodesOperationRequest, >>> SingleShardOperationRequest, SingleCustomOperationRequest, etc. What is >>> the difference? I understand it now, but it should be documented. There is >>> little documentation about the internals and there are no code level >>> comments. I always meant to experiment with the different >>> action hierarchies via simple plugins and document my findings. Perhaps one >>> day... >>> >>> Cheers, >>> >>> Ivan >>> >>> >>> On Wed, Jun 4, 2014 at 1:09 AM, [email protected] <[email protected]> >>> wrote: >>> >>>> Sorry, the plugin is outdated, a better start is by looking at >>>> >>>> http://www.elasticsearch.org/guide/en/elasticsearch/ >>>> reference/current/index-modules-similarity.html >>>> >>>> Jörg >>>> >>>> >>>> On Wed, Jun 4, 2014 at 10:07 AM, [email protected] <[email protected] >>>> > wrote: >>>> >>>>> You need resources on all nodes that hold shards, you can not do it >>>>> with just one instance, because ES index is distributed. Rescoring would >>>>> be >>>>> very expensive if you did it on an extra central instance with an extra >>>>> scatter/gather phase. It is also very expensive in scripting. >>>>> >>>>> A better method is a similarity plugin like https://github.com/tlrx/ >>>>> elasticsearch-custom-similarity-provider >>>>> >>>>> Not sure how your code looks like though, maybe you can share it with >>>>> the community? >>>>> >>>>> Jörg >>>>> >>>>> >>>>> >>>>> On Wed, Jun 4, 2014 at 2:55 AM, virgil <[email protected]> wrote: >>>>> >>>>>> The problem is that only one copy of HashMap is needed to customize >>>>>> score of >>>>>> all documents in the cluster. But as we have to install the plugin on >>>>>> all >>>>>> nodes, the actual memory used is multiplied by the number of nodes in >>>>>> cluster. I try to figure out one way to save the memory. Tried on >>>>>> non-data >>>>>> node, but it seems not working. >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> View this message in context: http://elasticsearch-users. >>>>>> 115913.n3.nabble.com/ANN-Elasticsearch-Simple-Action- >>>>>> Plugin-tp4056971p4057015.html >>>>>> Sent from the ElasticSearch Users mailing list archive at Nabble.com. >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "elasticsearch" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>>> msgid/elasticsearch/1401843345821-4057015.post%40n3.nabble.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "elasticsearch" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/elasticsearch/CAKdsXoHZTAZrAdtQAnvj_7UtO% >>>> 3DaAVtN3qt337PTzDjnbCmtPaA%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHZTAZrAdtQAnvj_7UtO%3DaAVtN3qt337PTzDjnbCmtPaA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "elasticsearch" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/elasticsearch/CALY%3DcQCkOVMuEV67ZMCX5qoAdiob% >>> 2BfWsuWK%3D0EyAKf3VGhjYdQ%40mail.gmail.com >>> <https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCkOVMuEV67ZMCX5qoAdiob%2BfWsuWK%3D0EyAKf3VGhjYdQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/3d3018dc-38a3-4a6a-857b-2162a6d3d8a9%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/3d3018dc-38a3-4a6a-857b-2162a6d3d8a9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFkB%3DuB5r%2Bcfu_JMEO9mRmYFYtzqucU18HcV_zuhZ%3DaDw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
