Help resolving a classpath problem(?) with elasticsearch 1.2.1 in apache-storm


(Alex Lovell-Troy) #1

I'm using apache-storm as a data pipeline that indexes results with
elasticsearch. Using the latest I can find of all components, I get an
error any time a storm component attempts to join elasticsearch as a Node
client, which I believe will give me better performance than
TransportClient.

Caused by: java.lang.IllegalArgumentException: A SPI class of type
org.apache.lucene.codecs.PostingsFormat with name 'Direct' does not exist.
You need to add the corresponding JAR file supporting this SPI to your
classpath.The current classpath supports the following names:
[XBloomFilter, es090, completion090]

According to https://github.com/elasticsearch/elasticsearch/issues/3350
this is "just how the SPI loader stuff works that lucene uses"

I tried following the directions in the issue, but even with the shade
plugin, I'm still seeing the same thing.

Does anyone have experience with this that can share a pom.xml snippet or
guide me to some applicable docs?

-alex

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9b9b9e6c-ea3d-4de9-b7aa-53c4bbd40586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2