Re: RE: ElasticSearch for Spark times out

2015-04-22 Thread Nick Pentreath
that slow but it’s possible that ES is taking too >>> long to find the data. What I see happening is >>> that it uses scroll to get the data from ES; about 150 items at a >>> time.Usual delay when I perform the same query from a >>> browser plugin ranges from 1-5sec

Re: RE: ElasticSearch for Spark times out

2015-04-22 Thread Otis Gospodnetic
ES is taking too >> long to find the data. What I see happening is >> that it uses scroll to get the data from ES; about 150 items at a >> time.Usual delay when I perform the same query from a >> browser plugin ranges from 1-5sec. >> >> Thanks >> &g

Re: RE: ElasticSearch for Spark times out

2015-04-22 Thread Costin Leau
*From:*Jeetendra Gangele [mailto:gangele...@gmail.com] *Sent:* April 22, 2015 3:09 PM *To:* Adrian Mocanu *Cc:* u...@spark.incubator.apache.org *Subject:* Re: ElasticSearch for Spark times out Basically ready timeout means hat no data arrived within the specified receive timeout period. Few th

RE: ElasticSearch for Spark times out

2015-04-22 Thread Adrian Mocanu
ubject: Re: ElasticSearch for Spark times out Basically ready timeout means hat no data arrived within the specified receive timeout period. Few thing I would suggest 1.are your ES cluster Up and running? 2. if 1 is yes then reduce the size of the Index make it few kbps and then test? On 23 April

Re: ElasticSearch for Spark times out

2015-04-22 Thread Jeetendra Gangele
Basically ready timeout means hat no data arrived within the specified receive timeout period. Few thing I would suggest 1.are your ES cluster Up and running? 2. if 1 is yes then reduce the size of the Index make it few kbps and then test? On 23 April 2015 at 00:19, Adrian Mocanu wrote: > Hi >

RE: ElasticSearch for Spark times out

2015-04-22 Thread Adrian Mocanu
015 2:52 PM To: Adrian Mocanu Cc: u...@spark.incubator.apache.org Subject: Re: ElasticSearch for Spark times out will you be able to paste the code? On 23 April 2015 at 00:19, Adrian Mocanu mailto:amoc...@verticalscope.com>> wrote: Hi I use the ElasticSearch package for Spark and very often it times out r

Re: ElasticSearch for Spark times out

2015-04-22 Thread Jeetendra Gangele
will you be able to paste the code? On 23 April 2015 at 00:19, Adrian Mocanu wrote: > Hi > > > > I use the ElasticSearch package for Spark and very often it times out > reading data from ES into an RDD. > > How can I keep the connection alive (why doesn't it? Bug?) > > > > Here's the exception