Re: Proposal: create a separate ZooKeeper release artifact for recipes

2011-12-05 Thread Patrick Hunt
Junqueira f...@yahoo-inc.com wrote: I suppose you're just trying to sense if others think that it would be a good idea to have it as a subproject. If so, I'm in favor of putting a proposal together, +1. -Flavio On Dec 2, 2011, at 8:45 PM, Patrick Hunt wrote: Somehow this got off list

Re: Proposal: create a separate ZooKeeper release artifact for recipes

2011-12-05 Thread Patrick Hunt
at 11:42 AM, Benjamin Reed br...@apache.org wrote: +1 On Mon, Dec 5, 2011 at 11:11 AM, Patrick Hunt ph...@apache.org wrote: Incubator is the Apache recommended way to handle this. We could be the sponsor, with the intent that once Curator graduates from the incubator we would accept

Re: Proposal: create a separate ZooKeeper release artifact for recipes

2011-12-05 Thread Patrick Hunt
be good to see what others think. Patrick On Mon, Dec 5, 2011 at 1:50 PM, Patrick Hunt ph...@apache.org wrote: Hi Ted. Incubator has a number of benefits for new projects; helping them learn the ropes of Apache, setup infrastructure, build community, create their own Apache blessed release

Re: ZooKeeper 3.4.0 release.

2011-12-07 Thread Patrick Hunt
I believe this can effect not just 3.3-3.4 upgrades but also normal operation of a 3.4 cluster. I'd suggest holding off on 3.4 until 3.4.1 is available. (Mahadev and I are working on it for RC later this week, a patch should be available soon). Patrick On Wed, Dec 7, 2011 at 10:25 AM, Mahadev

Re: ZooKeeper dev/user meetups.

2011-12-07 Thread Patrick Hunt
, at 6:08 PM, Patrick Hunt wrote: Any ZooKeeper contributor can host such a meetup. Just post the details to the list. I would think we can also have conference call in numbers at the very least if people are interested in participating remotely. Patrick On Wed, Dec 7, 2011 at 1:04 AM

Re: ZooKeeper 3.4.0 release.

2011-12-07 Thread Patrick Hunt
Good idea Mahadev. Let's just be (more) explicit in our messaging about what's production ready and what's not. Patrick On Wed, Dec 7, 2011 at 1:56 PM, iv...@apache.org wrote: Sounds good to me. -Ivan On Wed, Dec 07, 2011 at 01:50:19PM -0800, Mahadev Konar wrote: Actually, I think Ill

So I don't lose track of this, ZK reviewboard script.

2011-12-09 Thread Patrick Hunt
If you're using git to manage your patches locally this script is super useful, it will upload reviews from the commandline, filling in just about all the details. You do however need to use this slightly modified version of rbtools https://github.com/phunt/rbtools/commits/ro_reviewboard (clone

Re: [VOTE] Release ZooKeeper 3.4.1 (candidate 0)

2011-12-12 Thread Patrick Hunt
some issues found on first look, not sure if these are blockers: release date in the changes.txt says tbd Why did you sign all the checksum files in dist-maven? Patrick On Fri, Dec 9, 2011 at 4:49 PM, Mahadev Konar maha...@hortonworks.com wrote: I have created a candidate build for ZooKeeper

Re: [VOTE] Release ZooKeeper 3.4.1 (candidate 0)

2011-12-12 Thread Patrick Hunt
On Mon, Dec 12, 2011 at 11:03 AM, Mahadev Konar maha...@hortonworks.com wrote: release date in the changes.txt says tbd Yikes. Is this a blocker? probably not, but can you edit the changes.txt on the branch right now? isn't that a step in the how to release? updating the date? (if not plz

Re: [VOTE] Release ZooKeeper 3.4.1 (candidate 0)

2011-12-12 Thread Patrick Hunt
+1, tests all pass, sig/xsums are correct. Patrick On Mon, Dec 12, 2011 at 11:11 AM, Mahadev Konar maha...@hortonworks.com wrote: isn't that a step in the how to release? updating the date? (if not plz update the page) Its there. Missed it :(. mahadev Why did you sign all the checksum

Re: So I don't lose track of this, ZK reviewboard script.

2011-12-13 Thread Patrick Hunt
Infra updated the config on reviews.apache.org such that all you need is rbtools and my script, updated script repo here: https://github.com/phunt/apache-reviewboard-zk-git Patrick On Fri, Dec 9, 2011 at 4:17 PM, Patrick Hunt ph...@apache.org wrote: Hrm, the script text got borked. that last

Re: So I don't lose track of this, ZK reviewboard script.

2011-12-13 Thread Patrick Hunt
I posted the one for svn as well: https://github.com/phunt/apache-reviewboard-zk-svn Not at slick as git but if you're using svn it's helpful. Patrick On Tue, Dec 13, 2011 at 11:30 AM, Patrick Hunt ph...@apache.org wrote: Infra updated the config on reviews.apache.org such that all you need

Re: BK and HDFS

2011-12-14 Thread Patrick Hunt
Kudos guys! You should write a blog post about this, let more people know about it. Patrick On Wed, Dec 14, 2011 at 5:47 AM, Flavio Junqueira f...@yahoo-inc.com wrote: Just in case people on this list haven't seen it yet, HDFS-234 (Integration with BookKeeper logging system) has gone in.

Re: Review Request: QuorumPeer should unregister only its previsously registered MBeans instead of use MBeanRegistry.unregisterAll() method.

2011-12-14 Thread Patrick Hunt
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/2208/#review3914 --- a good cleanup, some comments before we can commit it.

Re: BK and HDFS

2011-12-14 Thread Patrick Hunt
On Wed, Dec 14, 2011 at 9:08 AM, Patrick Hunt ph...@apache.org wrote: Kudos guys! You should write a blog post about this, let more people know about it. Patrick On Wed, Dec 14, 2011 at 5:47 AM, Flavio Junqueira f...@yahoo-inc.com wrote: Just in case people on this list haven't seen

Re: Curator, a ZooKeeper Recipe Proposal

2011-12-14 Thread Patrick Hunt
This proposal looks good to me in general. I'm in favor of having improved recipes available for users, Curator seems to fit the bill. However as I stated previously while I'd be +1 for this to go to the incubator (with ZK PMC as sponsor), I'm -0 for this as a sub/artifact. (this is the same as my

Re: Two Leaders?!

2011-12-20 Thread Patrick Hunt
The logs should have details on what happened. If you can provide them from around the time this occurred it would likely provide insight. Note that 3.4.0 has a serious problem wrt cluster consistency, I don't see how this would result in two leaders being elected however. Patrick On Tue, Dec

Re: Two Leaders?!

2011-12-20 Thread Patrick Hunt
Really the logs are critical here. If you can provide them it would shed light. Patrick On Tue, Dec 20, 2011 at 10:13 AM, Benjamin Reed br...@apache.org wrote: i've seen it before when the configuration files haven't been setup properly. i would check the configuration. if the leader is still

Re: [VOTE] Release ZooKeeper 3.4.2 (candidate 0)

2011-12-22 Thread Patrick Hunt
+1, lgtm. verified sig/xsum, rat, also ran the tests successfully. Patrick On Wed, Dec 21, 2011 at 1:09 PM, Mahadev Konar maha...@hortonworks.com wrote: Hi all,  I have created a candidate build for ZooKeeper 3.4.2. 2 JIRAs are addressed in this release. *** Please download, test and VOTE

Re: Review Request: Add a setup script for ZooKeeper

2011-12-22 Thread Patrick Hunt
/ --- (Updated 2011-12-09 20:45:09) Review request for zookeeper, Patrick Hunt and Mahadev Konar. Summary --- Add a setup script for ZooKeeper This addresses bug ZOOKEEPER-1296. https://issues.apache.org/jira/browse/ZOOKEEPER-1296 Diffs - http

Re: order of async requests to zookeeper

2011-12-27 Thread Patrick Hunt
On Mon, Dec 26, 2011 at 5:53 PM, Ted Yu yuzhih...@gmail.com wrote: Can I assume that async requests from different zk handles don't have guaranteed order of execution ? Not sure what you mean. There will be _an_ order, and you're guaranteed that all sessions will see the same order. The order

Please mark ZooKeeper jiras with newbie as appropriate

2011-12-27 Thread Patrick Hunt
I picked this up from hbase, add the newbie label to a jira if you think it's appropriate for new contributors. I started marking as such, please feel free to add more as you identify them:

Re: svn commit: r1225200 - in /zookeeper/trunk: ./ src/java/main/org/apache/zookeeper/server/ src/java/test/org/apache/zookeeper/server/quorum/ src/java/test/org/apache/zookeeper/test/

2011-12-28 Thread Patrick Hunt
I believe there is a bug in this commit. The cnxns size() call is not being synchronized. This will lead to invalid results at best, at worst outright failure (hard to say w/o knowing the implementation of HashSet). Camille can you work with Neha to get this fixed? Perhaps in the meantime (if

Re: Curator, a ZooKeeper Recipe Proposal

2011-12-28 Thread Patrick Hunt
I wanted to share this section of my recent report to the board (I've also gotten permission to share the board's response) A discussion is currently under way regarding the possibility of merging the recently open sourced Curator source base from Netflix. These are client implementations of

Re: svn commit: r1225200 - in /zookeeper/trunk: ./ src/java/main/org/apache/zookeeper/server/ src/java/test/org/apache/zookeeper/server/quorum/ src/java/test/org/apache/zookeeper/test/

2011-12-28 Thread Patrick Hunt
meaningful enough to be worth the sync overhead. We should look into that. The alternative if we must is using a proper concurrent collection. Neha, any thoughts? C On Dec 28, 2011 12:45 PM, Patrick Hunt ph...@apache.org wrote: I believe there is a bug in this commit. The cnxns size() call

Re: svn commit: r1225200 - in /zookeeper/trunk: ./ src/java/main/org/apache/zookeeper/server/ src/java/test/org/apache/zookeeper/server/quorum/ src/java/test/org/apache/zookeeper/test/

2011-12-28 Thread Patrick Hunt
there are no callers of this function why keep it? I'd still rather we remove it given it's dead code. Perhaps there are locations where we should be using and aren't? On Wed, Dec 28, 2011 at 11:24 AM, Patrick Hunt ph...@apache.org wrote: I think it needs to be fixed. It's obviously incorrect. Also if someone

Re: svn commit: r1225200 - in /zookeeper/trunk: ./ src/java/main/org/apache/zookeeper/server/ src/java/test/org/apache/zookeeper/server/quorum/ src/java/test/org/apache/zookeeper/test/

2011-12-28 Thread Patrick Hunt
? Patrick On Wed, Dec 28, 2011 at 1:10 PM, Camille Fournier cami...@apache.org wrote: I don't think creating it as a flat sync is a good idea, so if we want this I think we need to refactor that structure to be concurrent. C On Dec 28, 2011 2:24 PM, Patrick Hunt ph...@apache.org wrote: I think

Re: svn commit: r1225200 - in /zookeeper/trunk: ./ src/java/main/org/apache/zookeeper/server/ src/java/test/org/apache/zookeeper/server/quorum/ src/java/test/org/apache/zookeeper/test/

2011-12-28 Thread Patrick Hunt
? Patrick On Wed, Dec 28, 2011 at 4:32 PM, Patrick Hunt ph...@apache.org wrote: On Wed, Dec 28, 2011 at 1:26 PM, Camille Fournier cami...@apache.org wrote: I'm not sure I agree in the assumption that monitoring pulls happen infrequently... Well that would be bad news then - see stat command

Re: svn commit: r1225200 - in /zookeeper/trunk: ./ src/java/main/org/apache/zookeeper/server/ src/java/test/org/apache/zookeeper/server/quorum/ src/java/test/org/apache/zookeeper/test/

2011-12-28 Thread Patrick Hunt
server to use it. I would also welcome help on this issue, if there's someone else is interested in tackling it, I am happy to provide feedback and guidance. Should I start clean and make a new tracker or fold it into 1197? C On Wed, Dec 28, 2011 at 5:12 PM, Patrick Hunt ph...@apache.org wrote

Re: Curator, a ZooKeeper Recipe Proposal

2011-12-28 Thread Patrick Hunt
to commit yourselves (to start with) one of the existing zk committers would have to review/commit for you. Granted it's not an optimal situation. That's why incubator/subproj are better imo. Patrick On 12/28/11 10:02 AM, Patrick Hunt ph...@apache.org wrote: I wanted to share this section of my

Re: Roadmap?

2012-01-04 Thread Patrick Hunt
On Wed, Jan 4, 2012 at 5:57 AM, Thomas Koch tho...@koch.ro wrote: there has been a discussion in December about a developer meeting, where you also wanted to discuss the roadmap for ZK, but when I checked now, I couldn't find a fixed date. It's fine to discuss the roadmap on list. We

Re: Review Request: ZOOKEEPER-442: need a way to remove watches that are no longer of interest

2012-01-04 Thread Patrick Hunt
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/3364/#review4185 --- src/java/main/org/apache/zookeeper/ZooKeeper.java

Re: Roadmap?

2012-01-04 Thread Patrick Hunt
: Patrick Hunt: It's fine to discuss the roadmap on list. We should only be making decisions on list regardless. Last I heard from Mahadev he was coordinating the meetup for sometime this month or early next. So just for the record, I don't expect many to agree: It's my understanding

Re: Roadmap?

2012-01-04 Thread Patrick Hunt
in june it will be stability and test patches that are going in, and then in july 1st we release what is ready. ben On Wed, Jan 4, 2012 at 12:00 PM, Patrick Hunt ph...@apache.org wrote: Our first goal is always reliability, it goes without saying which is why I didn't highlight it. Every

Re: Enhance SLF4J use inside Zookeeper.

2012-01-05 Thread Patrick Hunt
2012/1/5 César Álvarez Núñez cesar.alvarez.nu...@gmail.com: Hi all, I would like to:   - Modify the usage of slf4j api on zk code since calls to   org.slf4j.Logger methods should use parameters instead of string   concatenation (http://www.slf4j.org/faq.html#logging_performance) The

Re: Performing no downtime hardware changes to a live zookeeper cluster

2012-01-09 Thread Patrick Hunt
dup of https://issues.apache.org/jira/browse/ZOOKEEPER-338 ? Patrick On Mon, Jan 9, 2012 at 3:17 PM, Ted Dunning ted.dunn...@gmail.com wrote: Neha Filing a jira is a great way to further the discussion. Sent from my iPhone On Jan 9, 2012, at 15:33, Neha Narkhede neha.narkh...@gmail.com

Re: Performing no downtime hardware changes to a live zookeeper cluster

2012-01-10 Thread Patrick Hunt
, Jan 9, 2012 at 5:36 PM, Patrick Hunt ph...@apache.org wrote: dup of https://issues.apache.org/jira/browse/ZOOKEEPER-338 ? Patrick On Mon, Jan 9, 2012 at 3:17 PM, Ted Dunning ted.dunn...@gmail.com wrote: Neha Filing a jira is a great way to further the discussion. Sent from my iPhone

Re: Reducing the unit test running time

2012-01-16 Thread Patrick Hunt
On Sun, Jan 15, 2012 at 11:39 PM, Henry Robinson he...@cloudera.com wrote: Hi - The unit tests are taking longer and longer to run, particularly locally. I was poking about looking for some easy wins, and I noticed that a lot of the time is spent waiting for servers to come up, which is

Re: Reducing the unit test running time

2012-01-17 Thread Patrick Hunt
On Mon, Jan 16, 2012 at 10:35 PM, Henry Robinson he...@cloudera.com wrote: On 16 January 2012 17:36, Patrick Hunt ph...@apache.org wrote: On Sun, Jan 15, 2012 at 11:39 PM, Henry Robinson he...@cloudera.com wrote: Hi - The unit tests are taking longer and longer to run, particularly

Re: Timeouts and ping handling

2012-01-18 Thread Patrick Hunt
On Wed, Jan 18, 2012 at 2:03 PM, Camille Fournier cami...@apache.org wrote: I think it can be done. Looking through the code, it seems like it should be safe modulo some stats that are set in the FinalRequestProcessor that may be less useful. Turning around HBs at the head end of the server

Re: Timeouts and ping handling

2012-01-18 Thread Patrick Hunt
On Wed, Jan 18, 2012 at 3:21 PM, Camille Fournier c...@renttherunway.com wrote: Duh, I knew there was something I was forgetting. You can't process the session timeout faster than the server can process the full pipeline, so making pings come back faster just means you will have a false sense

Some 3.5 roadmap ideas.

2012-01-25 Thread Patrick Hunt
I've been tracking the following ideas for 3.5 roadmap, things i'd personally like to see addressed in the release and perhaps cut 3.5.0 in June, earlier if we can make some progress. (Not meant to be an exhaustive list or a blocker for 3.5.0) * scalability - 100k clients * jdk7 and openjdk

Re: Some 3.5 roadmap ideas.

2012-01-25 Thread Patrick Hunt
1366 deserves it's own line. That's a major improvement over current behavior. Patrick On Wed, Jan 25, 2012 at 2:42 PM, Ted Dunning ted.dunn...@gmail.com wrote: 1366 should be in this list under improve reliability. On Wed, Jan 25, 2012 at 2:35 PM, Patrick Hunt ph...@apache.org wrote: I've

Re: Branch for reconfiguration (ZOOKEEPER-107)?

2012-01-25 Thread Patrick Hunt
On Sat, Jan 21, 2012 at 1:02 AM, Flavio Junqueira f...@yahoo-inc.com wrote: I like the idea of a github repository to share code changes in progress. Pat has also pointed it out offline. I personally use git (and github) and it works well for me. However my concern in this case is that if we

Re: [VOTE] Release ZooKeeper 3.4.3 (candidate 0)

2012-02-08 Thread Patrick Hunt
+1, the xsums/sig match, rat ran fine, I was able to build and run all the tests successfully. I tried starting some servers. I also verified ZOOKEEPER-1367 using the method outlined in the jira and that was all fine. Patrick On Wed, Feb 8, 2012 at 11:31 AM, Mahadev Konar maha...@hortonworks.com

Re: [VOTE] Release ZooKeeper 3.4.3 (candidate 0)

2012-02-09 Thread Patrick Hunt
and restarting servers, which worked fine. -Flavio On Feb 8, 2012, at 8:34 PM, Patrick Hunt wrote: +1, the xsums/sig match, rat ran fine, I was able to build and run all the tests successfully. I tried starting some servers. I also verified ZOOKEEPER-1367 using the method outlined in the jira

Re: [ANNOUNCE] Sijie Guo is now a bookkeeper committer

2012-02-13 Thread Patrick Hunt
Kudos! On Mon, Feb 13, 2012 at 1:20 PM, Flavio Junqueira f...@yahoo-inc.com wrote: Great job, Sijie! -Flavio On Feb 13, 2012, at 9:08 PM, Benjamin Reed wrote: because of the great contributions (and the expectation of even more contributions :) of Sijie Guo to the bookkeeper project. the

Re: Work on CLI

2012-02-27 Thread Patrick Hunt
Actually we have been trying to maintain backward compatibility on user facing features, including cli. For example https://issues.apache.org/jira/browse/ZOOKEEPER-1326 was implemented to maintain b/w compat. It's possible to use the CLI in scripts and often people automate processes using it. I'd

Re: Work on CLI

2012-02-28 Thread Patrick Hunt
On Mon, Feb 27, 2012 at 10:00 PM, Hartmut Lang hartmut.l...@googlemail.com wrote: Of course for some time we could support both styles. So you would be able to do: get path watch and get -w path. And later we could remove the old style. Yes, this is my suggestion. Make it backward compatible

Cutting a 3.3.5 release candidate

2012-03-07 Thread Patrick Hunt
I'm working on cutting a 3.3.5 release candidate. I should be sending something out shortly. Patrick

[VOTE] Release ZooKeeper 3.3.5 (candidate 0)

2012-03-07 Thread Patrick Hunt
I have created a candidate build for ZooKeeper 3.3.5. 9 JIRAs are addressed in this release. *** Please download, test and VOTE before the *** vote closes 10pm PT on Saturday, March 10.*** http://people.apache.org/~phunt/zookeeper-3.3.5-candidate-0/ Should we release this? Patrick

Re: [VOTE] Release ZooKeeper 3.3.5 (candidate 0)

2012-03-11 Thread Patrick Hunt
+1 The release checks out for me. I did some distributed testing. My QA team also verified ZOOKEEPER-1367 was fixed. Patrick On Wed, Mar 7, 2012 at 9:56 PM, Patrick Hunt ph...@apache.org wrote: I have created a candidate build for ZooKeeper 3.3.5. 9 JIRAs are addressed in this release

Re: [VOTE] Release ZooKeeper 3.3.5 (candidate 0)

2012-03-12 Thread Patrick Hunt
Based on Botond's findings here https://issues.apache.org/jira/browse/ZOOKEEPER-1412 I'm going to respin a new RC (after I fix the issue). Hopefully later today. Patrick On Sun, Mar 11, 2012 at 12:11 AM, Patrick Hunt ph...@apache.org wrote: +1 The release checks out for me. I did some

Re: spelling error report

2012-03-14 Thread Patrick Hunt
Please enter a jira for these. If you'd like to submit a patch that would be even better. thanks! https://issues.apache.org/jira/browse/ZOOKEEPER https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute Patrick On Wed, Mar 14, 2012 at 6:19 AM, Shuai Mu msmu...@gmail.com wrote: and

Re: [VOTE] Release ZooKeeper 3.3.5 (candidate 1)

2012-03-19 Thread Patrick Hunt
for getting this out Pat! Mahadev Konar Hortonworks Inc. http://hortonworks.com/ On Sun, Mar 18, 2012 at 9:54 PM, Patrick Hunt ph...@apache.org wrote: +1 lgtm. I've tested out a number of cluster sizes (3/5/7/9) and everything seems fine. Patrick On Thu, Mar 15, 2012 at 1:59 PM, Patrick

Re: ZOOKEEPER-1059 Was: Does the rolling-restart.sh script work?

2012-03-20 Thread Patrick Hunt
with $? == 0 regardless if the znode is present or not present!  I've checked with Patrick Hunt (ZK committer) and this the expected behavior.  The only non-zero retcodes are for abnormal exits (exceptions thrown) Here's the ZK code I was looking through https://github.com/apache/zookeeper/blob

Re: Pure Python bindings

2012-03-20 Thread Patrick Hunt
On Tue, Mar 20, 2012 at 9:26 AM, Alan D. Cabrera l...@toolazydogs.com wrote: I take the silence to mean that the answer is no.  Would anyone have a problem if I worked on such a beast? You saw this right? afaik there isn't. https://cwiki.apache.org/confluence/display/ZOOKEEPER/ZKClientBindings

Re: ZOOKEEPER-1059 Was: Does the rolling-restart.sh script work?

2012-03-20 Thread Patrick Hunt
/jira/browse/ZOOKEEPER Patrick On Tue, Mar 20, 2012 at 9:16 AM, Patrick Hunt ph...@apache.org wrote: On Tue, Mar 20, 2012 at 6:57 AM, Ted Yu yuzhih...@gmail.com wrote: I looked at the patch for ZOOKEEPER-1059 which should have converted the NPE to KeeperException.NoNodeException Why

Re: ZOOKEEPER-1059 Was: Does the rolling-restart.sh script work?

2012-03-20 Thread Patrick Hunt
, 2012 at 9:42 AM, Patrick Hunt ph...@apache.org wrote: On Tue, Mar 20, 2012 at 9:32 AM, Ted Yu yuzhih...@gmail.com wrote: Near term, if we can find out a way for shell script to detect the absence of particular zookeeper node, rolling-restart.sh can be restored. Otherwise we may need

Re: ZOOKEEPER-1059 Was: Does the rolling-restart.sh script work?

2012-03-20 Thread Patrick Hunt
That's great news, glad it worked out. Thanks for the update Ted. Patrick On Tue, Mar 20, 2012 at 3:33 PM, Ted Yu yuzhih...@gmail.com wrote: We're using the trick Patrick proposed, see: https://issues.apache.org/jira/browse/HBASE-5603 FYI On Tue, Mar 20, 2012 at 10:14 AM, Patrick Hunt ph

[ANNOUNCE] Apache ZooKeeper 3.3.5

2012-03-21 Thread Patrick Hunt
The Apache ZooKeeper team is proud to announce Apache ZooKeeper version 3.3.5 ZooKeeper is a high-performance coordination service for distributed applications. It exposes common services - such as naming, configuration management, synchronization, and group services - in a simple interface so

Fwd: [NOTICE] Phasing out maven repos on people.apache.org

2012-03-21 Thread Patrick Hunt
FYI ZooKeeper dev team: noticed this message from Infra today (below). This is already impacting us - I was unable to finalize the 3.3.5 release last night due to some changes that have already gone into effect from infra. See these jira for background:

Re: [ANNOUNCE] Apache ZooKeeper 3.3.5

2012-03-21 Thread Patrick Hunt
...@gmail.com wrote: When can I expect the maven artifacts to be available ? They're not in http://repo2.maven.org/maven2/org/apache/zookeeper/zookeeper/ Cheers On Tue, Mar 20, 2012 at 11:22 PM, Patrick Hunt ph...@apache.org wrote: The Apache ZooKeeper team is proud to announce Apache ZooKeeper

Re: [NOTICE] Phasing out maven repos on people.apache.org

2012-03-22 Thread Patrick Hunt
jira to work out the details. https://issues.apache.org/jira/browse/INFRA-4565 Patrick On Wed, Mar 21, 2012 at 2:15 PM, Patrick Hunt ph...@apache.org wrote: FYI ZooKeeper dev team: noticed this message from Infra today (below). This is already impacting us - I was unable to finalize the 3.3.5

Re: [NOTICE] Phasing out maven repos on people.apache.org

2012-03-28 Thread Patrick Hunt
/zookeeper/zookeeper/ Going forward we will need to use some ivy modifications that I've been working on, which you can see here: https://issues.apache.org/jira/browse/ZOOKEEPER-1430 to deploy the zk mvn artifacts during a release. Patrick On Thu, Mar 22, 2012 at 10:46 AM, Patrick Hunt ph

Re: Connection refused exception

2012-04-04 Thread Patrick Hunt
Your point being that this should be an info message rather than a warning? (which sounds reasonable to me) Patrick On Wed, Apr 4, 2012 at 10:33 AM, Ted Yu yuzhih...@gmail.com wrote: Hi, We use zookeeper 3.3.5 From the output of one of our integration tests:

Re: Ephemeral node deleted for unexpired sessions in Zookeeper 3.3.4

2012-04-26 Thread Patrick Hunt
Please create a jira for this, attach the logs, config, etc... Thanks. Patrick On Thu, Apr 26, 2012 at 11:17 AM, Neha Narkhede neha.narkh...@gmail.com wrote: Hi, This week, we saw a potential bug with zookeeper 3.3.4. In an attempt to adding a separate disk for zookeeper transaction logs,

Re: Ephermal node and notifications for stateless sessions

2012-05-09 Thread Patrick Hunt
Part of what you're asking about is available. if the heartbeat goes away, the nodes created by that client should get deleted. That's available in the current REST proxy in src/contrib/rest. See the SPEC.txt file there for more details. Patrick On Mon, May 7, 2012 at 10:22 PM, Narayanan A R

Re: Should Stat.dataLength return -1 instead of 0 when node content is null?

2012-05-17 Thread Patrick Hunt
On Thu, May 17, 2012 at 2:21 AM, César Álvarez Núñez cesar.alvarez.nu...@gmail.com wrote: Hi All, When I create a node with null data, Stat.dataLength is 0. When I create a node with byte[0] data, Stat.dataLength is 0. I think that in the first case dataLength should return -1 instead of 0.

Re: When Zookeeper 3.4.4 release?

2012-05-17 Thread Patrick Hunt
On Thu, May 17, 2012 at 7:59 AM, Antonio Mauriello antonio...@gmail.com wrote: Hi, Is there a release date for Zookeeper 3.4.4 ? We typically discuss things like new releases (ie futures) on the dev list. Good to follow there if you'd like such insights. That said, I'm hoping that we do one

Re: Listing the znodes efficiently

2012-05-17 Thread Patrick Hunt
On Thu, May 17, 2012 at 1:55 PM, Narayanan A R narayanan.arunacha...@gmail.com wrote: Hi, Does ZK has or have plans to add the following features: - Query znodes under a path by passing filter on the attributes. Sounds intriguing, depending on the details. Might be a good addition to the

Re: Listing the znodes efficiently

2012-05-17 Thread Patrick Hunt
who need this functionality implement it in client side code. Patrick On May 17, 2012, at 3:31 PM, Patrick Hunt ph...@apache.org wrote: On Thu, May 17, 2012 at 1:55 PM, Narayanan A R narayanan.arunacha...@gmail.com wrote: Hi, Does ZK has or have plans to add the following features

Re: Should Stat.dataLength return -1 instead of 0 when node content is null?

2012-05-18 Thread Patrick Hunt
that are similarly slated. (ie changing the version from 32bit to 64, etc...) Patrick /César. On Thu, May 17, 2012 at 11:41 PM, Patrick Hunt ph...@apache.org wrote: On Thu, May 17, 2012 at 2:21 AM, César Álvarez Núñez cesar.alvarez.nu...@gmail.com wrote: Hi All, When I create a node with null

Re: about zookeeper-cli have bug or some doubt

2012-06-08 Thread Patrick Hunt
Speaking of windows, Michi can you take a look why the windows job has started failing of late? Perhaps an environment change? (you might look at other windows jobs on that box to get an idea) https://builds.apache.org//view/S-Z/view/ZooKeeper/job/ZooKeeper-trunk-WinVS2008/ Thanks! Patrick On

Re: about zookeeper-cli have bug or some doubt

2012-06-12 Thread Patrick Hunt
. --Michi On Fri, Jun 8, 2012 at 3:17 PM, Patrick Hunt ph...@apache.org wrote: Speaking of windows, Michi can you take a look why the windows job has started failing of late? Perhaps an environment change? (you might look at other windows jobs on that box to get an idea) https

Re: predefined xids in c client

2012-06-12 Thread Patrick Hunt
Regular xids are always non-negative. Patrick On Sun, Jun 10, 2012 at 12:15 AM, Michi Mutsuzaki mi...@cs.stanford.edu wrote: Hi, There are some predefined XIDs (like #define PING_XID -2) in zk_adaptor.h. Why do we need them? How do they avoid colliding with regular XIDs? Thanks! --Michi

Re: Odd protocol behavior

2012-06-12 Thread Patrick Hunt
Any errors or other output in the server logs when you do this? (perhaps run the server at DEBUG or higher in order to get more insight where it's failing) Are you running the same server version both at home and work? Patrick On Sat, Jun 9, 2012 at 11:52 AM, Alan D. Cabrera

Re: predefined xids in c client

2012-06-12 Thread Patrick Hunt
when that happens (really in 4.0 we should change to a long rather than an int for many of these counters, e.g. version) Thanks! Patrick On Mon, Jun 11, 2012 at 11:01 PM, Patrick Hunt ph...@apache.org wrote: Regular xids are always non-negative. Patrick On Sun, Jun 10, 2012 at 12:15 AM

Re: the ordering of async and sync requests

2012-06-19 Thread Patrick Hunt
On Mon, Jun 18, 2012 at 11:01 PM, Michi Mutsuzaki mi...@cs.stanford.edu wrote: If the user calls an async request followed by a sync request, does the zookeeper client guarantee that the sync request won't return until the async request callback is invoked? The C client seems to let the sync

Re: Facing one issue while upgrading from zookeeper-3.4.2 to zookeeper-3.4.3

2012-06-20 Thread Patrick Hunt
We should probably remove that, or at least document it. The upgrade facility is for upgrading from version 2 to version 3. There is no need to run upgrade if upgrading a minor/fix version. Patrick On Wed, Jun 20, 2012 at 4:03 AM, Nijel s f nijel...@huawei.com wrote: Hi all, I am trying one

Re: Connect Jconsole remotely to the zookeeper server

2012-06-22 Thread Patrick Hunt
It's supported in the sense that the jvm supports it. I'm not sure what you're asking. Patrick On Fri, Jun 22, 2012 at 3:33 AM, Rakesh R rake...@huawei.com wrote: Hi All, JMX remote monitoring: --- I failed to find any configuration for the 'jmxPort' in the

Re: Facing one issue while upgrading from zookeeper-3.4.2 to zookeeper-3.4.3

2012-06-23 Thread Patrick Hunt
On Fri, Jun 22, 2012 at 11:34 PM, Nijel s f nijel...@huawei.com wrote: I executed the updgrade scenario from 3.3.5 version to 3.4.3 But still getting the same exception :( Re-read my previous email is for upgrading from version 2 to version 3. Perhaps I wasn't clear enough - if you are

Re: Connect Jconsole remotely to the zookeeper server

2012-06-25 Thread Patrick Hunt
On Sat, Jun 23, 2012 at 11:24 PM, Rakesh R rake...@huawei.com wrote: My question is, whether zookeeper should expose 'jmxremote' parameters as configurable items[one suggestion like env variable as follows]. So that OM can configure it and start multiple servers? Also application users can

Re: porting multi() to zookeeper 3.3

2012-06-28 Thread Patrick Hunt
On Wed, Jun 27, 2012 at 10:11 PM, Ted Yu yuzhih...@gmail.com wrote: For Ted's question, developers and ops at the company I mentioned would be able to give their answer. We have a general policy of not adding new features to fix releases. What testing have you done with 3.4.3 that concerns

Re: porting multi() to zookeeper 3.3

2012-06-28 Thread Patrick Hunt
are interested in using some of the new features. Patrick On Thu, Jun 28, 2012 at 12:07 AM, Patrick Hunt ph...@apache.org wrote: On Wed, Jun 27, 2012 at 10:11 PM, Ted Yu yuzhih...@gmail.com wrote: For Ted's question, developers and ops at the company I mentioned would be able to give their answer. We

3.3.6 and 3.4.4 releases

2012-06-29 Thread Patrick Hunt
Mahadev and I were discussing that we should plan for 3.3.6 and 3.4.4 releases soon. Primarily to incorporate the SASL fix and the log truncation fix. I don't see much pressing for the rest of the pending jiras. https://issues.apache.org/jira/browse/ZOOKEEPER-1489

Re: 3.3.6 and 3.4.4 releases

2012-06-29 Thread Patrick Hunt
really like to see ZOOKEEPER-1465 in this as well if possible. On Fri, Jun 29, 2012 at 1:35 PM, Patrick Hunt ph...@apache.org wrote: Mahadev and I were discussing that we should plan for 3.3.6 and 3.4.4 releases soon. Primarily to incorporate the SASL fix and the log truncation fix. I don't see

Re: Tool for interactive fault injection testing

2012-07-02 Thread Patrick Hunt
Sounds interesting but it's not clear to me from the provided docs what it does and what am I expected to do? (canned tests or a framework for me to use). Have you been able to find any issues using this? Patrick On Mon, Jul 2, 2012 at 3:15 AM, Andrei Savu savu.and...@gmail.com wrote: Hi guys,

Re: 3.3.6 and 3.4.4 releases

2012-07-06 Thread Patrick Hunt
Koontz ekoo...@hiro-tan.org wrote: On 6/29/12 10:35 AM, Patrick Hunt wrote: Mahadev and I were discussing that we should plan for 3.3.6 and 3.4.4 releases soon. Primarily to incorporate the SASL fix and the log truncation fix. I don't see much pressing for the rest of the pending jiras. https

Re: 3.3.6 and 3.4.4 releases

2012-07-06 Thread Patrick Hunt
, Camille Fournier cami...@apache.org wrote: Looking at 1489... Are we putting printlns in tests now? I can't remember if that's kosher or not. C On Fri, Jul 6, 2012 at 12:26 PM, Patrick Hunt ph...@apache.org wrote: There's one blocker left covering both 3.3.6 and 3.4.4: https://issues.apache.org

Re: 3.3.6 and 3.4.4 releases

2012-07-12 Thread Patrick Hunt
/browse/ZOOKEEPER-1437), if someone can work with Eugene to finalize this it would be great. Anyone? Patrick On Fri, Jul 6, 2012 at 2:20 PM, Patrick Hunt ph...@apache.org wrote: It was that way in the original code. I kept it because it was easier to see when running in eclipse, etc... Given it all

[VOTE] Release ZooKeeper 3.3.6 (candidate 0)

2012-07-29 Thread Patrick Hunt
I have created a candidate build for ZooKeeper 3.3.6. 16 JIRAs are addressed in this release. *** Please download, test and VOTE before the *** vote closes 11pm PT on Tuesday, July 31.*** http://people.apache.org/~phunt/zookeeper-3.3.6-candidate-0/ Should we release this? Patrick

Re: [VOTE] Release ZooKeeper 3.3.6 (candidate 0)

2012-07-30 Thread Patrick Hunt
+1. I ran the release candidate through it's paces with various ensemble sizes and it worked fine. I also ran RAT and the test suite and everything looks fine to me. Patrick On Sat, Jul 28, 2012 at 11:39 PM, Patrick Hunt ph...@apache.org wrote: I have created a candidate build for ZooKeeper

Re: Accessing ZK nodes from pluggable auth module

2012-07-31 Thread Patrick Hunt
On Mon, Jul 30, 2012 at 11:04 AM, Warren Turkal w...@ooyala.com wrote: I'm sure this is a really newbie type question, but I couldn't find docs on how to do this. I am researching making a pluggable auth module. Is there any way to access data in zookeeper nodes from a pluggable auth module?

Re: [VOTE] Release ZooKeeper 3.3.6 (candidate 0)

2012-08-01 Thread Patrick Hunt
...@apache.org wrote: +1. Started up a 3-node cluster, ran some basic tests against it, looks ok. C On Tue, Jul 31, 2012 at 1:04 AM, Patrick Hunt ph...@apache.org wrote: +1. I ran the release candidate through it's paces with various ensemble sizes and it worked fine. I also ran RAT and the test suite

Re: Review Request: Allow server-side SASL login with JAAS configuration to be programmatically set (rather than only by reading JAAS configuration file)

2012-08-01 Thread Patrick Hunt
? - Patrick Hunt On Aug. 1, 2012, 6:20 p.m., Matteo Bertozzi wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/6290/ --- (Updated Aug

Re: Review Request: Allow server-side SASL login with JAAS configuration to be programmatically set (rather than only by reading JAAS configuration file)

2012-08-01 Thread Patrick Hunt
On Aug. 1, 2012, 6:38 p.m., Patrick Hunt wrote: /src/java/test/org/apache/zookeeper/test/SaslAuthDesignatedServerTest.java, line 77 https://reviews.apache.org/r/6290/diff/1/?file=132325#file132325line77 why is this sleep here? Eugene Koontz wrote: These sleep()s

Re: Review Request: Allow server-side SASL login with JAAS configuration to be programmatically set (rather than only by reading JAAS configuration file)

2012-08-01 Thread Patrick Hunt
On Aug. 1, 2012, 6:38 p.m., Patrick Hunt wrote: /src/java/test/org/apache/zookeeper/test/SaslAuthDesignatedServerTest.java, line 77 https://reviews.apache.org/r/6290/diff/1/?file=132325#file132325line77 why is this sleep here? Eugene Koontz wrote: These sleep()s

Re: Review Request: Allow server-side SASL login with JAAS configuration to be programmatically set (rather than only by reading JAAS configuration file)

2012-08-01 Thread Patrick Hunt
On Aug. 1, 2012, 6:38 p.m., Patrick Hunt wrote: /src/java/test/org/apache/zookeeper/test/SaslAuthDesignatedServerTest.java, line 77 https://reviews.apache.org/r/6290/diff/1/?file=132325#file132325line77 why is this sleep here? Eugene Koontz wrote: These sleep()s

Re: Review Request: Allow server-side SASL login with JAAS configuration to be programmatically set (rather than only by reading JAAS configuration file)

2012-08-01 Thread Patrick Hunt
/org/apache/zookeeper/test/SaslAuthDesignatedServerTest.java https://reviews.apache.org/r/6290/#comment20709 This timeout is too low. Typically we make it the connection timeout, otw it has the tendency to fail intermittently (for example on slow/loaded test hardware) - Patrick Hunt On Aug

<    1   2   3   4   5   6   7   8   9   10   >