New to ES - Trying to use the elasticsearch-cloud-aws plugin, but when starting my java client node, I'm getting ClassNotFoundException on org.elasticsearch.discovery.ec2.Ec2DiscoveryModule. Do I need to install this plugin on java client nodes, and if so, how does one do that? Or, rather, is there a maven dependency that can be referenced to load these required classes?
For reference, the elasticsearch.yaml is: plugin.mandatory: cloud-aws cloud: aws: access_key: ****** secret_key: ***** discovery: type: ec2 and my java client code is: Settings settings = ImmutableSettings.settingsBuilder() .put("node.name", nodeName) .put("cloud.aws.access_key", awsAccessKey) .put("cloud.aws.secret_key", awsSecretKey) .put("cloud.node.auto_attributes", true) .put("discovery.type", "ec2") .build(); this.node = nodeBuilder() .clusterName(clusterName) .settings(settings) .client(true) .node(); this.client = node.client(); -- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/925353fd-b717-417d-986f-570c634e39c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.