RC1 - Create Index Exception


(davrob) #1

Hi,

I'm running through some test cases after upgrading to RC1, I'm getting an
issue when I do this:

CreateIndexResponse mapping = esNode.getClient()
.admin().indices()
.create(new CreateIndexRequest(indexName))
.actionGet();

The error I'm getting is this:

org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:
Failed execution
at
org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:90)
at
org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:50)
at com.cs.cts.crm.elasticsearch.util.ESAdmin.createIndex(ESAdmin.java:347)

Full stack trace here:

Any clues? Thanks.

David.

--
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/d5777a87-f49a-4464-a596-d929b84cd7b8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Ivan Brusic) #2

Whichever plugin you are using for the ComboAnalyzer is using the wrong
class name.

Caused by: java.lang.NoClassDefFoundError:
org/elasticsearch/ElasticSearchIllegalArgumentException
at org.elasticsearch.index.analysis.ComboAnalyzerProvider.get(ComboAnalyzerProvider.java:50)

This class was renamed 10 days ago:

The plugin would need to be built against the current code.

Cheers,

Ivan

On Thu, Jan 16, 2014 at 11:38 AM, davrob2 daviroberts@gmail.com wrote:

Hi,

I'm running through some test cases after upgrading to RC1, I'm getting an
issue when I do this:

CreateIndexResponse mapping = esNode.getClient()
.admin().indices()
.create(new CreateIndexRequest(indexName))
.actionGet();

The error I'm getting is this:

org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:
Failed execution
at
org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:90)
at
org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:50)
at com.cs.cts.crm.elasticsearch.util.ESAdmin.createIndex(ESAdmin.java:347)

Full stack trace here:

https://gist.github.com/dav-rob/8461844

Any clues? Thanks.

David.

--
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/d5777a87-f49a-4464-a596-d929b84cd7b8%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/CALY%3DcQCTeA_4OCfrCkGxqgvJsJsDEYjTWJxWtm5N_x8s8RBTDw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(davrob) #3

Hi Ivan,

Yes, thanks. I'm using this combo plugin:
https://github.com/yakaz/elasticsearch-analysis-combo, which hasn't been
updated as yet.

I'll skip this for the moment and experiment with some of the new features.

David.

On Thursday, 16 January 2014 19:47:28 UTC, Ivan Brusic wrote:

Whichever plugin you are using for the ComboAnalyzer is using the wrong
class name.

Caused by: java.lang.NoClassDefFoundError: org/elasticsearch/ElasticSearchIllegalArgumentException
at org.elasticsearch.index.analysis.ComboAnalyzerProvider.get(ComboAnalyzerProvider.java:50)

This class was renamed 10 days ago:

https://github.com/elasticsearch/elasticsearch/commit/fa16969360ea43667ad11f827bbf86718c18fcc6

The plugin would need to be built against the current code.

Cheers,

Ivan

On Thu, Jan 16, 2014 at 11:38 AM, davrob2 <davir...@gmail.com<javascript:>

wrote:

Hi,

I'm running through some test cases after upgrading to RC1, I'm getting
an issue when I do this:

CreateIndexResponse mapping = esNode.getClient()
.admin().indices()
.create(new CreateIndexRequest(indexName))
.actionGet();

The error I'm getting is this:

org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:
Failed execution
at
org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:90)
at
org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:50)
at
com.cs.cts.crm.elasticsearch.util.ESAdmin.createIndex(ESAdmin.java:347)

Full stack trace here:

https://gist.github.com/dav-rob/8461844

Any clues? Thanks.

David.

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/d5777a87-f49a-4464-a596-d929b84cd7b8%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/c2922772-8fa8-4ae8-8963-28c9c06cd8d6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4