Re: SolrCloud Set up

2013-09-03 Thread Erick Erickson
Yep, that's the one, thanks... On Tue, Sep 3, 2013 at 1:38 PM, Walter Underwood wrote: > Those are the Fallacies of Distributed Computing from L. Peter Deutsch. > The first fallacy is "The network is reliable." > > http://en.wikipedia.org/wiki/Fallacies_of_Distributed_Computing > > wunder > > On

Re: SolrCloud Set up

2013-09-03 Thread Jared Griffith
Thankfully it's none of those but more than likely a bad DHCP server (Windows) or client (or combo there of) that is causing the network to freak out. I'll try adjusting the timeouts up to see if it will alleviate this. I am seeing that when I try to restart the solr instances sometimes they seem

Re: SolrCloud Set up

2013-09-03 Thread Walter Underwood
Those are the Fallacies of Distributed Computing from L. Peter Deutsch. The first fallacy is "The network is reliable." http://en.wikipedia.org/wiki/Fallacies_of_Distributed_Computing wunder On Sep 3, 2013, at 10:26 AM, Erick Erickson wrote: > Ah, thanks for the closure, it's always nice to kn

Re: SolrCloud Set up

2013-09-03 Thread Erick Erickson
Ah, thanks for the closure, it's always nice to know. I used to work with a guy who had a list of "network fallacies", that amounted to "you can't trust them fully" Erick On Tue, Sep 3, 2013 at 12:12 PM, Jared Griffith wrote: > I think I have it all sorted out. There are some weird network

Re: SolrCloud Set up

2013-09-03 Thread Jared Griffith
I think I have it all sorted out. There are some weird network issues here where my test set up is, so that may have been part of the over all issue. Timeouts wouldn't have fixed this issue, that's for sure. On Sat, Aug 31, 2013 at 7:17 AM, Erick Erickson wrote: > bq: Though I am seeing some fu

Re: SolrCloud Set up

2013-08-31 Thread Erick Erickson
bq: Though I am seeing some funkiness that I wasn't seeing with Solr & Zookeeper running together Then I suspect you've set something up inconsistently, _or_ you need to extend some timeouts because SolrCloud is being run with separate ZKs by quite a few people so I'd be surprised if it were anyth

Re: SolrCloud Set up

2013-08-30 Thread Jared Griffith
That's what I was thinking. Though I am seeing some funkiness that I wasn't seeing with Solr & Zookeeper running together. On Fri, Aug 30, 2013 at 9:40 AM, Shawn Heisey wrote: > On 8/30/2013 9:43 AM, Jared Griffith wrote: > >> One last thing. Is there any real benefit in running SolrCloud and

Re: SolrCloud Set up

2013-08-30 Thread Shawn Heisey
On 8/30/2013 9:43 AM, Jared Griffith wrote: One last thing. Is there any real benefit in running SolrCloud and Zookeeper separate? I am seeing some funkiness with the separation of the two, funkiness I wasn't seeing when running SolrCloud + Zookeeper together as outlined in the Wiki. For a r

Re: SolrCloud Set up

2013-08-30 Thread Jason Hellman
One additional thought here: from a paranoid risk-management perspective it's not a good idea to have two critical services dependent upon a single point of failure if the hardware fails. Obviously risk-management is suited to taste, so you may feel the cost/benefit does not merit the separati

Re: SolrCloud Set up

2013-08-30 Thread Jared Griffith
One last thing. Is there any real benefit in running SolrCloud and Zookeeper separate? I am seeing some funkiness with the separation of the two, funkiness I wasn't seeing when running SolrCloud + Zookeeper together as outlined in the Wiki. On Thu, Aug 29, 2013 at 4:52 PM, Jared Griffith wrote

Re: SolrCloud Set up

2013-08-29 Thread Jared Griffith
Cool, thanks. On Thu, Aug 29, 2013 at 4:19 PM, Shawn Heisey wrote: > On 8/29/2013 4:53 PM, Jared Griffith wrote: > >> OK, so to get our initial documents in, we would use the curl / java >> upload >> calls as documented in the wiki. Then once we get it all plugged into our >> application, we w

Re: SolrCloud Set up

2013-08-29 Thread Shawn Heisey
On 8/29/2013 4:53 PM, Jared Griffith wrote: OK, so to get our initial documents in, we would use the curl / java upload calls as documented in the wiki. Then once we get it all plugged into our application, we would use the SolrJ client and plug in zookeeper information there, so that the applic

Re: SolrCloud Set up

2013-08-29 Thread Jared Griffith
OK, so to get our initial documents in, we would use the curl / java upload calls as documented in the wiki. Then once we get it all plugged into our application, we would use the SolrJ client and plug in zookeeper information there, so that the application could then update and retrieve data corr

Re: SolrCloud Set up

2013-08-29 Thread Shawn Heisey
On 8/29/2013 4:39 PM, Jared Griffith wrote: OK, so I have set up 4 solr instances that are using remote Zookeeper (3) servers to manage them. Do we send documents via the zookeeper instance(s) or just via the solr instances? If you are indexing directly via something like curl or another non-

Re: SolrCloud Set up

2013-08-29 Thread Jared Griffith
OK, so I have set up 4 solr instances that are using remote Zookeeper (3) servers to manage them. Do we send documents via the zookeeper instance(s) or just via the solr instances? On Thu, Aug 29, 2013 at 1:43 PM, Jared Griffith wrote: > I just ditched my Tomcat set up because I was having issu

Re: SolrCloud Set up

2013-08-29 Thread Jared Griffith
I just ditched my Tomcat set up because I was having issues getting the nodes to work correctly, so I just went with the native jetty server. Everything just works. On Thu, Aug 29, 2013 at 12:16 PM, Jared Griffith wrote: > So it all depends on your implementation and server restrictions. I'm >

Re: SolrCloud Set up

2013-08-29 Thread Jared Griffith
So it all depends on your implementation and server restrictions. I'm just going to set it up with Tomcat to get it running "correctly" but I might just go with the native jetty server down the road when this is "for real". On Thu, Aug 29, 2013 at 12:06 PM, Shawn Heisey wrote: > On 8/29/2013 1

Re: SolrCloud Set up

2013-08-29 Thread Shawn Heisey
On 8/29/2013 12:08 PM, Jared Griffith wrote: Is it more ideal to run the Jetty containers as opposed to running Tomcat with the Solr war? If I answer "yes" to that question, it's not really the whole story. Just like the "vi vs. emacs" battle, it can become almost a religious debate. Having

Re: SolrCloud Set up

2013-08-29 Thread Jared Griffith
Is it more ideal to run the Jetty containers as opposed to running Tomcat with the Solr war? On Thu, Aug 29, 2013 at 10:36 AM, Shawn Heisey wrote: > On 8/29/2013 11:15 AM, Jared Griffith wrote: > >> Is it more ideal to run SolrCloud instances within Tomcat containers or >> should they just be r

Re: SolrCloud Set up

2013-08-29 Thread Shawn Heisey
On 8/29/2013 11:15 AM, Jared Griffith wrote: Is it more ideal to run SolrCloud instances within Tomcat containers or should they just be run via start.jar without a container? The start.jar included in Solr *is* a container. Specifically, it's a stripped down installation of Jetty. For Solr

Re: SolrCloud Set up

2013-08-29 Thread Jared Griffith
Is it more ideal to run SolrCloud instances within Tomcat containers or should they just be run via start.jar without a container? On Wed, Aug 28, 2013 at 12:39 PM, Shawn Heisey wrote: > On 8/28/2013 1:36 PM, Jared Griffith wrote: > >> We are using Java here. Are you saying that the Solr java

Re: SolrCloud Set up

2013-08-28 Thread Shawn Heisey
On 8/28/2013 1:36 PM, Jared Griffith wrote: We are using Java here. Are you saying that the Solr java client would be aware of the multiple zookeepers and would thus do health / host checks on each zookeeper instance in turn until it got one that is working (assuming that you have one or more zo

Re: SolrCloud Set up

2013-08-28 Thread Jared Griffith
> I'm assuming it would be the SolrCloud set up. I'm guessing that Example >> C >> (http://wiki.apache.org/solr/**SolrCloud<http://wiki.apache.org/solr/SolrCloud>) >> would be the optimum set up. If >> so, would one set up a load balancer (like f5 or wha

Re: SolrCloud Set up

2013-08-28 Thread Shawn Heisey
On 8/28/2013 11:56 AM, Jared Griffith wrote: What is the recommended way to set up Solr so it's HA and fault tolerant? I'm assuming it would be the SolrCloud set up. I'm guessing that Example C (http://wiki.apache.org/solr/SolrCloud) would be the optimum set up. If so, wou

SolrCloud Set up

2013-08-28 Thread Jared Griffith
What is the recommended way to set up Solr so it's HA and fault tolerant? I'm assuming it would be the SolrCloud set up. I'm guessing that Example C (http://wiki.apache.org/solr/SolrCloud) would be the optimum set up. If so, would one set up a load balancer (like f5 or what