RE: How do we find the Server the client is connected to?

2009-10-01 Thread Todd Greenwood
Failover testing. -Original Message- From: Patrick Hunt [mailto:ph...@apache.org] Sent: Thursday, October 01, 2009 3:44 PM To: zookeeper-user@hadoop.apache.org; Rob Baccus Subject: Re: How do we find the Server the client is connected to? That detail is purposefully not exposed

RE: ACL question w/ Zookeeper 3.1.1

2009-09-21 Thread Todd Greenwood
\nnextAddrToTry: 0\nserverAddrs: /127.0.0.1:2181\n -Original Message- From: Todd Greenwood [mailto:to...@audiencescience.com] Sent: Friday, September 18, 2009 11:27 AM To: Patrick Hunt; zookeeper-...@hadoop.apache.org; zookeeper- u...@hadoop.apache.org Subject: RE: ACL question w

RE: ACL question w/ Zookeeper 3.1.1

2009-09-21 Thread Todd Greenwood
] Sent: Monday, September 21, 2009 4:32 PM To: zookeeper-user@hadoop.apache.org; Todd Greenwood Cc: Patrick Hunt Subject: Re: ACL question w/ Zookeeper 3.1.1 Todd Greenwood wrote: Patrick, Thanks, I'll spend some more time trying to create a more concise repro, and log a bug once I do

ACL question w/ Zookeeper 3.1.1

2009-09-17 Thread Todd Greenwood
I'm attempting to secure a zookeeper installation using zookeeper ACLs. However, I'm finding that while Ids.OPEN_ACL_UNSAFE works great, my attempts at using Ids.CREATOR_ALL_ACL are failing. Here's a code snippet: public class ZooWrapper { /* 1. Here I'm setting up my authentication. I've got

RE: Unending Leader Elections in WAN deploy

2009-08-04 Thread Todd Greenwood
Todd, I just committed 480 and 491. You can checkout the 3.2 branch now. Thanks mahadev On 8/3/09 4:29 PM, Todd Greenwood to...@audiencescience.com wrote: That'd be perfect. Thanks! -Original Message- From: Mahadev Konar [mailto:maha...@yahoo-inc.com] Sent: Monday, August

Zookeeper Client

2009-08-04 Thread Todd Greenwood
Is org.apache.zookeeper.ZooKeeper thread safe? I've started walking through the code to check for mutability, and although the first level children are protected, I haven't fully walked the graph. Perhaps I should ask, is it supposed to be thread safe? -Todd

RE: Unending Leader Elections in WAN deploy

2009-08-03 Thread Todd Greenwood
: Flavio Junqueira [mailto:f...@yahoo-inc.com] Sent: Friday, July 31, 2009 9:51 PM To: zookeeper-user@hadoop.apache.org Subject: Re: Unending Leader Elections in WAN deploy Perfect! Thanks for the update, Todd. -Flavio On Jul 31, 2009, at 8:17 PM, Todd Greenwood wrote: Thanks. You were

RE: Unending Leader Elections in WAN deploy

2009-08-03 Thread Todd Greenwood
: 1. copy the branch-3.2 source to a temp directory (src/patched/branch-3.2) 2. apply the ZOOKEEPER patches in my patches directory 3. build zookeeper in the temp directory -Todd -Original Message- From: Todd Greenwood [mailto:to...@audiencescience.com] Sent: Monday, August 03, 2009 4

RE: Unending Leader Elections in WAN deploy

2009-08-03 Thread Todd Greenwood
be in the branch 3.2 by tomm or so. 481, 479 are already in. 480 and 491 should be in by tomm. Would that suffice for you? Thanks mahadev On 8/3/09 4:21 PM, Todd Greenwood to...@audiencescience.com wrote: Another problem...I've reverted to the latest versions of the patches

RE: test failures in branch-3.2

2009-07-31 Thread Todd Greenwood
to 3.2.1 as soon as I can. -Todd -Original Message- From: Patrick Hunt [mailto:ph...@apache.org] Sent: Friday, July 31, 2009 11:38 AM To: zookeeper-user@hadoop.apache.org; Todd Greenwood Subject: Re: test failures in branch-3.2 Hi Todd, Sorry for the clutter/confusion. Usually

Unending Leader Elections in WAN deploy

2009-07-31 Thread Todd Greenwood
This repro's in both branch-3.2, and branch-3.2+patches(473, 479, 481). Basically, it seems like the nodes are electing pd4-zook02 to be the leader. However, pd4-zook02 seems to realize it's not supposed to be and then disconnects everyone. Then they re-elect it again, and it loops over and

RE: Unending Leader Elections in WAN deploy

2009-07-31 Thread Todd Greenwood
of patches. -Flavio On Jul 31, 2009, at 7:15 PM, Todd Greenwood wrote: This repro's in both branch-3.2, and branch-3.2+patches(473, 479, 481). Basically, it seems like the nodes are electing pd4-zook02 to be the leader. However, pd4-zook02 seems to realize it's not supposed

RE: Unending Leader Elections in WAN deploy

2009-07-31 Thread Todd Greenwood
-user@hadoop.apache.org Subject: Re: Unending Leader Elections in WAN deploy It should be in 479. Perhaps you have a stale version of the patch. -Flavio On Jul 31, 2009, at 7:46 PM, Todd Greenwood wrote: Flavio, I'm getting a compilation error for patch 491: compile-main

RE: Zookeeper WAN Configuration

2009-07-30 Thread Todd Greenwood
Patrick - Thank you, I'll proceed accordingly. -Todd -Original Message- From: Patrick Hunt [mailto:ph...@apache.org] Sent: Wednesday, July 29, 2009 10:30 PM To: zookeeper-user@hadoop.apache.org Subject: Re: Zookeeper WAN Configuration [Todd] What is the recommended policy regarding

RE: bad svn url : test-patch

2009-07-30 Thread Todd Greenwood
of the hadoop split. This file is used for hudson test environment. It isnt used anywhere else, so the svn co otherwise should be fine. We should fix it anyways. Thanks mahadev On 7/30/09 2:57 PM, Todd Greenwood to...@audiencescience.com wrote: FYI - looks like there is a bad url in svn

RE: test failures in branch-3.2

2009-07-30 Thread Todd Greenwood
://issues.apache.org/jira/browse/ZOOKEEPER-492 Patrick Patrick Hunt wrote: Todd Greenwood wrote: The build succeeds, but not the all of the tests. In previous test runs, I noticed an error in org.apache.zookeeper.test.FLETest. It was not able to bind to a port or something. Now, after a machine

RE: test failures in branch-3.2

2009-07-30 Thread Todd Greenwood
Patrick, inline. -Original Message- From: Patrick Hunt [mailto:ph...@apache.org] Sent: Thursday, July 30, 2009 9:13 PM To: zookeeper-user@hadoop.apache.org Subject: Re: test failures in branch-3.2 Todd Greenwood wrote: The build succeeds, but not the all of the tests. In previous test

RE: test failures in branch-3.2

2009-07-30 Thread Todd Greenwood
abnormally. Please note the time in the report does not reflect the time until the VM exit. -Todd -Original Message- From: Patrick Hunt [mailto:ph...@apache.org] Sent: Thursday, July 30, 2009 10:13 PM To: zookeeper-user@hadoop.apache.org Subject: Re: test failures in branch-3.2 Todd

Zookeeper WAN Configuration

2009-07-24 Thread Todd Greenwood
Like most folks, our WAN is composed of various zones, some central processing, some edge, some corp, and some in between (DMZs). In this model, a given Zookeeper server will not have direct connectivity to all of it's peers in the ensemble due to various security constraints. Is this a problem?

RE: Zookeeper WAN Configuration

2009-07-24 Thread Todd Greenwood
, at 4:40 PM, Ted Dunning wrote: On Fri, Jul 24, 2009 at 4:23 PM, Todd Greenwood to...@audiencescience.comwrote: Could you explain the idea behind the Observers feature, what this concept is supposed to address, and how it applies to the WAN configuration problem in particular? Not really

RE: Leader Elections

2009-07-20 Thread Todd Greenwood
Flavio, Ted, Henry, Scott, this would perfectly well for my use case provided: SINGLE ENSEMBLE: GROUP A : ZK Servers w/ read/write AND Leader Elections GROUP B : ZK Servers w/ read/write W/O Leader Elections So, we can craft this via Observers and Hiererarchial Quorum groups?

RE: Leader Elections

2009-07-20 Thread Todd Greenwood
, 2009 at 7:50 PM, Todd Greenwood to...@audiencescience.comwrote: Flavio, Ted, Henry, Scott, this would perfectly well for my use case provided: SINGLE ENSEMBLE: GROUP A : ZK Servers w/ read/write AND Leader Elections GROUP B : ZK Servers w/ read/write W/O Leader Elections So