Bulk indexing: java.lang.NoClassDefFoundError: org.elasticsearch.ElasticsearchException when ActionRequestBuilder.get

elasticsearch 2.0

While performing a bulk indexation I got the following error during only one of my indexations:
Exception in thread "main" java.lang.NoClassDefFoundError: org.elasticsearch.ElasticsearchException
at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:93)
at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:48)
at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:67)
at lu.ibbl.elasticsearch.Indexer.indexJsonBulkAsBulkRequest(Indexer.java:172)
at lu.ibbl.elasticsearch.DataIndexerRunner.indexJsonBulk(DataIndexerRunner.java:228)
at lu.ibbl.elasticsearch.DataIndexerRunner.extractAllFromCacheAndIndexAsChunk(DataIndexerRunner.java:154)
at lu.ibbl.elasticsearch.DataIndexerRunner.main(DataIndexerRunner.java:357)

it seems to be random error as this piece of code has been running for ages.

BulkRequestBuilder bulkRequest = esClient.prepareBulk();
.....
BulkResponse bulkResponse = bulkRequest.get();

I don't find any log that would be useful.

Any clue ?

I will see tonight when the full indexation runs again if I have the same issue.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.