Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RemoteTransportException #42

Open
sinusiks opened this issue Sep 23, 2013 · 2 comments
Open

RemoteTransportException #42

sinusiks opened this issue Sep 23, 2013 · 2 comments

Comments

@sinusiks
Copy link

I am just experimenting with this plugin and I am trying to run a query that counts distinct users in a given date range. I run this query over 3 ES nodes total of 30 shards and I get errors such as:

RemoteTransportException[Failed to deserialize response of type [org.elasticsearch.search.query.QuerySearchResult]]; nested: TransportSerializationException[Failed to deserialize response of type [org.elasticsearch.search.query.QuerySearchResult]]; nested: IndexOutOfBoundsException;

Shards statistics are like:
'failed' => 7,
'successful' => 23,
'total' => 30

If I run the same query multiple times I get the same errors all the time except the numbers of failed & successfull shards are different in every run (sometimes more than 20 fail, sometimes only 1, ...).

I am using ElasticSearch Version: 0.90.2, JVM: 1.6.0_27(20.0-b12) on Debian 7 and plugin version 2.1.5

I also discovered that if I shutdown one of the nodes (doesn't matter which one) the errors go away and I am getting correct results for my query...

Any hints?

@sinusiks
Copy link
Author

I discovered that this only happens if I am using query filter or facet_filter "and" ... e.g.:

       "and" : [
            {
                "range" : { 
                    "timestamp" : { 
                        "from" : "2010-03-01",
                        "to" : "2010-04-01"
                    }
                }
            },
            {
                "term" : { "site_id" : "123" }
            }
        ]

... and the same goes if I use any type of "and" filtering (such as must/should bool etc.)

@andrewclegg
Copy link
Member

Sorry about slow response, I haven't been getting Github's emails.

Do you have a sample data set and query that we could test this with? We've been using it in production for months and I've never seen this I'm afraid.

You could also try upgrading to 2.1.6, although I don't think there were many changes to the date facet in that version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants