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

**URL:** <https://discuss.elastic.co/t/help-resolving-a-classpath-problem-with-elasticsearch-1-2-1-in-apache-storm/18274>\
**Category:** Elasticsearch\
**Created:** [June 23, 2014, 8:54pm UTC](https://discuss.elastic.co/t/help-resolving-a-classpath-problem-with-elasticsearch-1-2-1-in-apache-storm/18274 "2014-06-23T20:54:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Lovell\_Troy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_lovell_troy/32/1464_2.png) [@Alex\_Lovell\_Troy](https://discuss.elastic.co/u/Alex_Lovell_Troy)\
**Post date:** [June 23, 2014, 8:54pm UTC](https://discuss.elastic.co/t/help-resolving-a-classpath-problem-with-elasticsearch-1-2-1-in-apache-storm/18274/1 "2014-06-23T20:54:12Z")

</div>

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](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/9b9b9e6c-ea3d-4de9-b7aa-53c4bbd40586%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:20am UTC](https://discuss.elastic.co/t/help-resolving-a-classpath-problem-with-elasticsearch-1-2-1-in-apache-storm/18274/2 "2017-07-06T01:20:25Z")

</div>


