答复: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-20 Thread Rollin.R.Ma (lab.sh04.Newegg) 41099
Thx! -邮件原件- 发件人: Michael Della Bitta [mailto:michael.della.bi...@appinions.com] 发送时间: 2013年3月20日 20:42 收件人: solr-user@lucene.apache.org 主题: Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems. > 2. As far as I know the better SolrJ interface to index w

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-20 Thread Michael Della Bitta
> 2. As far as I know the better SolrJ interface to index with SolrCloud is CloudSolrServer, not ConcurrentUpdateSolrServer. If you have many instances of CloudSolrServer and you correctly balance them with a Round Robin or something similar you´ll get a better performance in SolrCloud scenarios. A

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-20 Thread Luis Cappa Banda
Thank you for answering. Some notes: 1. The Java engine I´ve developed that wrappers SolrJ 4.1 with some business logic only executes search queries, not index/update operations, so the problem is not related with concurrent updates, or something similar. 2. As far as I know the better SolrJ int

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-19 Thread Michael Della Bitta
Don't use CloudSolrServer for writes. Instead, use ConcurrentUpdateSolrServer, something like: SolrServer solrServer = new ConcurrentUpdateSolrServer(solrUrl, 100, 4); The 100 corresponds to how many docs to send in a batch. The higher this is, the better performance is (to a point, don't set tha

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-19 Thread Luis Cappa Banda
Anyone can help me? Each response may save a little kitten from a horrible and dramatic death somewhere in the world :-P El 15/03/2013 21:06, "Jack Park" escribió: > Is there a document that tells how to create multiple threads? Search > returns many hits which orbit this idea, but I haven't spo

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-15 Thread Luis Cappa Banda
Me neither. Please, Mark, can you tell us how? 2013/3/15 Jack Park > Is there a document that tells how to create multiple threads? Search > returns many hits which orbit this idea, but I haven't spotted one > which tells how. > > Thanks > Jack > > On Fri, Mar 15, 2013 at 1:01 PM, Mark Miller >

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-15 Thread Jack Park
Is there a document that tells how to create multiple threads? Search returns many hits which orbit this idea, but I haven't spotted one which tells how. Thanks Jack On Fri, Mar 15, 2013 at 1:01 PM, Mark Miller wrote: > You def have to use multiple threads with it for it to be fast, but 3 or 4

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-15 Thread Mark Miller
You def have to use multiple threads with it for it to be fast, but 3 or 4 docs a second still sounds absurdly slow. - Mark On Mar 15, 2013, at 2:58 PM, Luis Cappa Banda wrote: > And up! :-) > > I´ve been wondering if using CloudSolrServer has something to do here. Does > it have a bad perfor

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-15 Thread Luis Cappa Banda
And up! :-) I´ve been wondering if using CloudSolrServer has something to do here. Does it have a bad performance when a CloudSolrServer singletong receives multiple queries? Is it recommended to have a CloudSolrServer instances list and select one of them with a Round Robin criteria? 2013/3/14

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-14 Thread Luis Cappa Banda
Hello! Thanks a lot, Erick! I've attached some stack traces during a normal 'engine' running. Cheers, - Luis Cappa 2013/3/13 Erick Erickson > Stack traces.. > > First, > jps -l > > that will give you a the process IDs of your running Java processes. Then: > > jstack > > Usually I pipe the o

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-13 Thread Erick Erickson
Stack traces.. First, jps -l that will give you a the process IDs of your running Java processes. Then: jstack Usually I pipe the output from jstack into a text file... Best Erick On Wed, Mar 13, 2013 at 1:48 PM, Luis Cappa Banda wrote: > Uhm, how can I do that... 'cleanly'? I know that wi

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-13 Thread Luis Cappa Banda
Uhm, how can I do that... 'cleanly'? I know that with JConsole it´s posible to output this traces, but with a .war application built on top of Spring I don´t know how can I do that. In any case, here is my CloudSolrServer wrapper that is used by other classes. There is no sync method or piece of co

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-13 Thread Mark Miller
Could you capture some thread stack traces in the 'engine' and see if there are any blocking methods? - Mark On Mar 13, 2013, at 1:34 PM, Luis Cappa Banda wrote: > Just one correction: > > When I said: > > - I´ve checked SolrCloud via Solr Admin interface and it´s OK: > everything is gr

Re: SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-13 Thread Luis Cappa Banda
Just one correction: When I said: - I´ve checked SolrCloud via Solr Admin interface and it´s OK: everything is green, and I cant execute queries directly into Solr. I mean: - I´ve checked SolrCloud via Solr Admin interface and it´s OK: everything is green, and *I can* execute queri

SolrCloud with Zookeeper ensemble in production environment: SEVERE problems.

2013-03-13 Thread Luis Cappa Banda
Hello, guys! I´ve been experiencing some annoying behavior with my current production scenario. Here is the snapshot: - SolrCloud: 2 shards - Zookeeper ensemble: 3 nodes in *different machines *(most of the tutorials installs 3 Zookeeper nodes in the same machine). - This is the zoo.