Re: SolrCloud Zookeeper disconnection/reconnection

2014-02-16 Thread Ramkumar R. Aiyengar
Start with http://wiki.apache.org/solr/SolrPerformanceProblems It has a section on GC tuning and a link to some example settings. On 16 Feb 2014 21:19, "lboutros" wrote: > Thanks a lot for your answer. > > Is there a web page, on the wiki for instance, where we could find some JVM > settings or r

Re: SolrCloud Zookeeper disconnection/reconnection

2014-02-16 Thread lboutros
Thanks a lot for your answer. Is there a web page, on the wiki for instance, where we could find some JVM settings or recommandations that we should used for Solr with some index configurations? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.co

Re: SolrCloud Zookeeper disconnection/reconnection

2014-02-14 Thread Ramkumar R. Aiyengar
Ludovic, recent Solr changes won't do much to prevent ZK session expiry, you might want to enable GC logging on Solr and Zookeeper to check for pauses and tune appropriately. The patch below fixes a situation under which the cloud can get to a bad state during the recovery after session expiry. Th

Re: SolrCloud Zookeeper Exception

2013-08-20 Thread Shalin Shekhar Mangar
I don't think that the ZooKeeper errors are related to the DIH problems. Can you post your data-config and dih output using http://apaste.info or other pastebin like website? On Mon, Aug 19, 2013 at 4:58 PM, Prasi S wrote: > Hi, > I have setup solrcloud with 4.4 version. There is one external zoo

Re: solrcloud-zookeeper

2013-02-12 Thread Mark Miller
By default, on cluster startup, we wait until we see all the replicas for a shard come up. This is for safety. You may have introduced an old shard with old data or a new shard with no data, and you don't want something like that becoming the leader. If you don't want to do this wait, it's conf

Re: SolrCloud Zookeeper questions

2012-12-06 Thread Jack Krupansky
In case you missed the parallel thread running right now, a read of the main zookeeper admin web page is a good background to have: http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html -- Jack Krupansky -Original Message- From: Jamie Johnson Sent: Thursday, December 06, 2012 5:

Re: SolrCloud - Zookeeper Questions

2012-11-18 Thread deniz
Mark Miller-3 wrote > On Nov 18, 2012, at 10:02 PM, deniz < > denizdurmus87@ > > wrote: > >> removing a shard/replica temporarily and then adding back again > > I'd unload them with http cmds (without using the options that delete > things on disk) and then create them again when I wanted them

Re: SolrCloud - Zookeeper Questions

2012-11-18 Thread Mark Miller
On Nov 18, 2012, at 10:02 PM, deniz wrote: > removing a shard/replica temporarily and then adding back again I'd unload them with http cmds (without using the options that delete things on disk) and then create them again when I wanted them back. - Mark

Re: SolrCloud, Zookeeper and Stopwords with Umlaute or other special characters

2012-11-08 Thread Daniel Brügge
Ah, I have fixed it. It was necessary to import the files into Zookeeper using the file.encoding system property and set it to UTF-8. Then it worked. Hooray. :) e.g. java -Dfile.encoding=UTF-8 -Dbootstrap_confdir=/home/me/myconfdir -Dcollection.configName=config1 -DzkHost="zkhost:2181" -DnumShard

Re: SolrCloud, Zookeeper and Stopwords with Umlaute or other special characters

2012-11-08 Thread Daniel Brügge
Weird, if i return the file contents in ZK with 'get' it returns me w??rde | would w??rden | would for example. So the Umlaute are not shown. Does anyone have an idea if this is because of Zookeepers cli or of the file contents itself? Thanks & regards. On Thu, Nov 8,

Re: SolrCloud, Zookeeper and Stopwords with Umlaute or other special characters

2012-11-08 Thread Daniel Brügge
I trust the 'file' command output. And if i can read there "UTF-8 Unicode" I believe that this is correct. Don't know if this is the 'correct answer' for you ;) BTW: It works locally, but not with ZK. So it's maybe more a ZK issue, which somehow destroys my file. Will check. On Thu, Nov 8, 2012 a

Re: SolrCloud, Zookeeper and Stopwords with Umlaute or other special characters

2012-11-08 Thread Robert Muir
On Wed, Nov 7, 2012 at 11:45 AM, Daniel Brügge wrote: > Hi, > > i am running a SolrCloud cluster with the 4.0.0 version. I have a stopwords > file > which is in the correct encoding. What makes you think that? Note: "Because I can read it" is not the correct answer. Ensure any of your stopwords

Re: SolrCloud, Zookeeper and Stopwords with Umlaute or other special characters

2012-11-08 Thread Daniel Brügge
When I look at the text_de fieldType provided in the example schema i can see: > > > words="lang/stopwords_de.txt" format="snowball" > enablePositionIncrements="true"/> > > I have tried with this and this removed the words with Umlaute. It seems, that is becau

Re: SolrCloud, Zookeeper and Stopwords with Umlaute or other special characters

2012-11-08 Thread Daniel Brügge
Yes, I did this and the Words with the Umlaute went through the Stopfilter. The ones without Umlaute were correctly removed. On Thu, Nov 8, 2012 at 2:22 AM, Lance Norskog wrote: > You can debug this with the 'Analysis' page in the Solr UI. You pick > 'text_general' and then give words with umlau

Re: SolrCloud, Zookeeper and Stopwords with Umlaute or other special characters

2012-11-07 Thread Lance Norskog
You can debug this with the 'Analysis' page in the Solr UI. You pick 'text_general' and then give words with umlauts in the text box for indexing and queries. Lance - Original Message - | From: "Daniel Brügge" | To: solr-user@lucene.apache.org | Sent: Wednesday, November 7, 2012 8:45:4

Re: SolrCloud Zookeeper view does not work on latest snapshot

2012-04-07 Thread Jamie Johnson
Yes very similar. I had hard coded /solr but it was these locations. I'll update to use the provided patch and reverify on Monday. On Saturday, April 7, 2012, Stefan Matheis wrote: > Hey Jamie > > On Saturday, April 7, 2012 at 2:45 AM, Jamie Johnson wrote: >> Thanks Ryan. So to be clear this is a

Re: SolrCloud Zookeeper view does not work on latest snapshot

2012-04-07 Thread Stefan Matheis
Hey Jamie On Saturday, April 7, 2012 at 2:45 AM, Jamie Johnson wrote: > Thanks Ryan. So to be clear this is a bug then? I went into the > cloud.js and changed the url used to access this information so that > it would work, wasn't sure if it was kosher or not. Yes, it's a bug. My only installati

Re: SolrCloud Zookeeper view does not work on latest snapshot

2012-04-06 Thread Jamie Johnson
Thanks Ryan. So to be clear this is a bug then? I went into the cloud.js and changed the url used to access this information so that it would work, wasn't sure if it was kosher or not. On 4/6/12, Ryan McKinley wrote: > There have been a bunch of changes getting the zookeeper info and UI > looki

Re: SolrCloud Zookeeper view does not work on latest snapshot

2012-04-06 Thread Ryan McKinley
There have been a bunch of changes getting the zookeeper info and UI looking good. The info moved from being on the core to using a servlet at the root level. Note, it is not a request handler anymore, so the wt=XXX has no effect. It is always JSON ryan On Fri, Apr 6, 2012 at 7:01 AM, Jamie J

Re: SolrCloud Zookeeper view does not work on latest snapshot

2012-04-06 Thread Jamie Johnson
I looked at our old system and indeed it used to make a call to /solr/zookeeper not /solr/corename/zookeeper. I am making a change locally so I can run with this but is this a bug or did I much something up with my configuration? On Fri, Apr 6, 2012 at 9:33 AM, Jamie Johnson wrote: > I just down

Re: SolrCloud (ZooKeeper)

2011-02-12 Thread Stijn Vanhoorelbeke
Hi, Has anyone used Zookeeper on a Tomcat 5 system? Could someone point me to a good guide how to implement Zookeeper/solr combination? The SolCloud wiki page doesn't give much info at all. Thank you,

Re: SolrCloud (ZooKeeper)

2011-02-10 Thread Stijn Vanhoorelbeke
So, The only way - we now have - to integrate ZooKeeper is by using '-DzkHost=url:port_of_ZooKeeper' when we start up a Solr instance? + I've noticed, when a solr instance goes down, the node comes inactive in Zookeeper - but the node is maintained in the list of nodes. How can you remove a solr

Re: SolrCloud (ZooKeeper)

2011-02-10 Thread Yonik Seeley
On Thu, Feb 10, 2011 at 5:00 PM, Stijn Vanhoorelbeke wrote: > I've completed the quick&dirty tutorials of SolrCloud ( see > http://wiki.apache.org/solr/SolrCloud ). > The whole concept of SolrCloud and ZooKeeper look indeed very promising. > > I found also some info about a 'ZooKeeperComponent' -