Problems connecting to ES with java TransportClient API (v1.3.2)

Hi, I'm trying to use the Java "node-with-no-data"-style API, and I'm
running to trouble connecting. When trying to create the TransportClient
with my settings containing only cluster.name=elasticsearch,
I get the following exception:

14/10/29 09:29:23 INFO elasticsearch.plugins: [Piranha] loaded [], sites []

got exception: org.elasticsearch.common.inject.CreationException: Guice
creation errors:

  1. Error injecting constructor,
    org.elasticsearch.ElasticsearchIllegalArgumentException: no type support
    [test]

at org.elasticsearch.cache.recycler.CacheRecycler.(Unknown Source)

while locating org.elasticsearch.cache.recycler.CacheRecycler

1 error

I can see from the source that this config value "cache.recycler.type"
should be unset, or set to a string like "default" or "none" -- somehow
mine is set to "test"... However, merely adding that to my client's
settings object doesn't seem to affect the print so i assume that it is
either under a prefix, or being overridden. Sorry I'm a total noob with ES
so I apologize if this is a dumb question. Still I could really use the
help!

Thanks,

Dave Benson

--
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/d798714b-d5b7-4d84-af5b-d643ae85e8df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Can you post your code and the settings you use for instantiating the
TransportClient?

Jörg

On Wed, Oct 29, 2014 at 5:45 PM, Dave Benson lahiker42@gmail.com wrote:

Hi, I'm trying to use the Java "node-with-no-data"-style API, and I'm
running to trouble connecting. When trying to create the TransportClient
with my settings containing only cluster.name=elasticsearch,
I get the following exception:

14/10/29 09:29:23 INFO elasticsearch.plugins: [Piranha] loaded , sites

got exception: org.elasticsearch.common.inject.CreationException: Guice
creation errors:

  1. Error injecting constructor,
    org.elasticsearch.ElasticsearchIllegalArgumentException: no type support
    [test]

at org.elasticsearch.cache.recycler.CacheRecycler.(Unknown Source)

while locating org.elasticsearch.cache.recycler.CacheRecycler

1 error

I can see from the source that this config value "cache.recycler.type"
should be unset, or set to a string like "default" or "none" -- somehow
mine is set to "test"... However, merely adding that to my client's
settings object doesn't seem to affect the print so i assume that it is
either under a prefix, or being overridden. Sorry I'm a total noob with ES
so I apologize if this is a dumb question. Still I could really use the
help!

Thanks,

Dave Benson

--
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/d798714b-d5b7-4d84-af5b-d643ae85e8df%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/d798714b-d5b7-4d84-af5b-d643ae85e8df%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAKdsXoHHLNJsyQhAKutUdV%2BzEjD_tEEY2OtFfT718Y0itp3NZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.