Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-03-04 Thread Shawn Heisey
On 3/5/2016 12:00 AM, Shawn Heisey wrote:
> Not having docValues is actually why you got the error.When I
> encountered this error last year, I opened this issue:

Reading back through the message thread, I noticed that you never
actually included log entries with an error about the incorrect
docvalues type.   You did mention "expected=SORTED", which I think is
how the inference was made that it was the same problem I saw.  If you
are not seeing that docvalues related error, then my message might not
apply at all.

Thanks,
Shawn



Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-03-04 Thread Shawn Heisey
On 3/4/2016 10:44 PM, Mugeesh Husain wrote:
> Thank for you consideration, I noticed all of the answer is docvalues
> related but i did not define any docvalue type in my schema that why i am
> little bit confuse.

Not having docValues is actually why you got the error.When I
encountered this error last year, I opened this issue:

https://issues.apache.org/jira/browse/SOLR-8088

Lucene 5.0 eliminated something known as the FieldCache, which I believe
happened in LUCENE-5666.  I  don't understand all the implications, but
this affected Solr quite profoundly, and most of the problems were not
discovered until well after the 5.0 version was released.  Many of those
problems are still present in Solr, because fixing them will not be easy.

Adding docValues and reindexing will eliminate the error, but docValues
cannot be added to a TextField type (tokenized field).  You'll need to
copy the data to another field with copyField in your schema, and that
field will need to be a StrField type with docValues added.

Another problem is that an untokenized field may produce different
results than you are expecting, and in some cases those results might be
completely unusable.

Thanks,
Shawn



Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-03-04 Thread Mugeesh Husain
Hi Elaine,

Thank for you consideration, I noticed all of the answer is docvalues
related but i did not define any docvalue type in my schema that why i am
little bit confuse.

*Thanks,*
*Mugeesh Husain  *
Mobile No:+91-9911175322
Skype ID: mugeesh
Email:muge...@gmail.com

On Sat, Mar 5, 2016 at 4:51 AM, Elaine Cario [via Lucene] <
ml-node+s472066n4261756...@n3.nabble.com> wrote:

> Mugeesh,
>
> I was quite stumped, figured I'd move on to other emails, and the very
> next
> email described the issue you are having (if you remove the effect of the
> Solr Server exception bug).
>
> Here's a link to that email chain:
>
>
> http://markmail.org/search/?q=docvalues%20error#query:docvalues%20error%20list%3Aorg.apache.lucene.solr-user+page:1+mid:ipayc3wnzr2ujffn+state:results
>
> It seems to have something to do with using a text field for grouping.
>
> On Mon, Feb 29, 2016 at 7:34 AM, Mugeesh Husain <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4261756&i=0>> wrote:
>
> > Hi Elaine, Thank for your reply
> >
> > I did try without grouping then it is working fine. do you have any idea
> > how
> > we resolve these issue ?
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898p4260518.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
>
> ----------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898p4261756.html
> To unsubscribe from Exception SolrServerException: No live SolrServers
> available to handle this request:, click here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4258898&code=bXVnZWVzaEBnbWFpbC5jb218NDI1ODg5OHwxMDI4ODIxMzAz>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898p4261815.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-03-04 Thread Elaine Cario
Mugeesh,

I was quite stumped, figured I'd move on to other emails, and the very next
email described the issue you are having (if you remove the effect of the
Solr Server exception bug).

Here's a link to that email chain:

http://markmail.org/search/?q=docvalues%20error#query:docvalues%20error%20list%3Aorg.apache.lucene.solr-user+page:1+mid:ipayc3wnzr2ujffn+state:results

It seems to have something to do with using a text field for grouping.

On Mon, Feb 29, 2016 at 7:34 AM, Mugeesh Husain  wrote:

> Hi Elaine, Thank for your reply
>
> I did try without grouping then it is working fine. do you have any idea
> how
> we resolve these issue ?
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898p4260518.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-02-29 Thread Mugeesh Husain
Hi Elaine, Thank for your reply

I did try without grouping then it is working fine. do you have any idea how
we resolve these issue ?




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898p4260518.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-02-28 Thread Elaine Cario
You may be bumping into this bug:
https://issues.apache.org/jira/browse/SOLR-7951.  Can you try a simple
query (no grouping) and see if Solr responds?

On Tue, Feb 23, 2016 at 11:57 AM, Mugeesh Husain  wrote:

> Yes, all of the shards in a live state. I guess may be there will be
> docvalues type NUMERIC for field 'year' (expected=SORTED) exception. Still
> i
> am suffering what is the issue
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898p4259205.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-02-23 Thread Mugeesh Husain
Yes, all of the shards in a live state. I guess may be there will be
docvalues type NUMERIC for field 'year' (expected=SORTED) exception. Still i
am suffering what is the issue 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898p4259205.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-02-22 Thread Binoy Dalal
In the cloud section in the admin console, do you see all your shards in a
live state?

On Tue, 23 Feb 2016, 10:25 Mugeesh Husain  wrote:

> Hi,
>  solr servers are up and listening. and i also check zookeeper
> clustersterstate.json as below
>
> get /clusterstate.json
> {}
> cZxid = 0x10013
> ctime = Fri Jan 15 01:40:37 IST 2016
> mZxid = 0x11799
> mtime = Fri Feb 19 18:59:37 IST 2016
> pZxid = 0x10013
> cversion = 0
> dataVersion = 58
> aclVersion = 0
> ephemeralOwner = 0x0
> dataLength = 2
> numChildren = 0
>
>
> if it is coming some docvalues ,Actuallly i am trying to fetchgrouping
> record in ro field.
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898p4259026.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
-- 
Regards,
Binoy Dalal


Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-02-22 Thread Mugeesh Husain
Hi,
 solr servers are up and listening. and i also check zookeeper
clustersterstate.json as below

get /clusterstate.json
{}
cZxid = 0x10013
ctime = Fri Jan 15 01:40:37 IST 2016
mZxid = 0x11799
mtime = Fri Feb 19 18:59:37 IST 2016
pZxid = 0x10013
cversion = 0
dataVersion = 58
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 2
numChildren = 0


if it is coming some docvalues ,Actuallly i am trying to fetchgrouping
record in ro field.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898p4259026.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Exception SolrServerException: No live SolrServers available to handle this request:

2016-02-22 Thread Binoy Dalal
Are you sure all your solr servers are up and listening?
If you're using zookeeper, check if zookeeper has your nodes listed in the
cluster state.

On Tue, 23 Feb 2016, 00:45 Mugeesh Husain  wrote:

> I am getting no live node exception i dont know why
>
> In my schema define ro field such as
>
>   
>
> 
>   
> 
> ...
>   
> 
>   
>   
> 
> 
>
>
>
>
> {
>   "responseHeader":{
> "status":500,
> "QTime":9,
> "params":{
>   "q":"_id:(1 3 2)",
>   "indent":"true",
>   "fl":"ro",
>   "group.ngroups":"true",
>   "wt":"json",
>   "group.field":"ro",
>   "group":"true"}},
>   "error":{
> "msg":"org.apache.solr.client.solrj.SolrServerException: No live
> SolrServers available to handle this
> request:[http://localhost:8983/solr/Restaurant_Restaurant_2_replica2,
> http://localhost:8984/solr/Restaurant_Restaurant_1_replica1,
> http://localhost:8983/solr/Restaurant_Restaurant_1_replica2]";,
> "trace":"org.apache.solr.common.SolrException:
> org.apache.solr.client.solrj.SolrServerException: No live SolrServers
> available to handle this
> request:[http://localhost:8983/solr/Restaurant_Restaurant_2_replica2,
> http://localhost:8984/solr/Restaurant_Restaurant_1_replica1,
> http://localhost:8983/solr/Restaurant_Restaurant_1_replica2]\n\tat
>
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:397)\n\tat
>
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)\n\tat
> org.apache.solr.core.SolrCore.execute(SolrCore.java:2068)\n\tat
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
-- 
Regards,
Binoy Dalal


Exception SolrServerException: No live SolrServers available to handle this request:

2016-02-22 Thread Mugeesh Husain
I am getting no live node exception i dont know why

In my schema define ro field such as

  


  

...
  

  
  






{
  "responseHeader":{
"status":500,
"QTime":9,
"params":{
  "q":"_id:(1 3 2)",
  "indent":"true",
  "fl":"ro",
  "group.ngroups":"true",
  "wt":"json",
  "group.field":"ro",
  "group":"true"}},
  "error":{
"msg":"org.apache.solr.client.solrj.SolrServerException: No live
SolrServers available to handle this
request:[http://localhost:8983/solr/Restaurant_Restaurant_2_replica2,
http://localhost:8984/solr/Restaurant_Restaurant_1_replica1,
http://localhost:8983/solr/Restaurant_Restaurant_1_replica2]";,
"trace":"org.apache.solr.common.SolrException:
org.apache.solr.client.solrj.SolrServerException: No live SolrServers
available to handle this
request:[http://localhost:8983/solr/Restaurant_Restaurant_2_replica2,
http://localhost:8984/solr/Restaurant_Restaurant_1_replica1,
http://localhost:8983/solr/Restaurant_Restaurant_1_replica2]\n\tat
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:397)\n\tat
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)\n\tat
org.apache.solr.core.SolrCore.execute(SolrCore.java:2068)\n\tat 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Exception-SolrServerException-No-live-SolrServers-available-to-handle-this-request-tp4258898.html
Sent from the Solr - User mailing list archive at Nabble.com.