So having recently discovered ZooKeeper, I'm really liking it - good job folks!
I've seen discussions of building high level features from the core ZK
library and had not seen any available on the interweb so figured I'd
have a try creating a simple one. Feel free to ignore it if a ZK ninja
can th
As a newbie around hadoop/zookeeper (but long time apache hacker on
various things), I think the high level protocol/recipe stuff should
definitely be a separate, released module; so folks who wanna use it
can share a versioned binary and so forth. It would be awesome to have
a few good protocols/r
2008/7/17 Benjamin Reed <[EMAIL PROTECTED]>:
> Excellent proposal. The only thing I would add is that there should be
> an english description of the recipe in subversion. That way if someone
> wanted to do a compatible binding they can do it. If the recipe is on
> the wiki it would be hard to keep
The other thread was already quite big and covering a large range of
issues so thought I'd spin up a little separate thread :)
I've just updated the patch to include better javadoc which is linked
to an embedded HTML documentation describing the protocol. The
documention includes the pseudocode fr
The other thread was already quite big and covering a large range of
issues so thought I'd spin up a little separate thread :)
I've just updated the patch to include better javadoc which is linked
to an embedded HTML documentation describing the protocol. The
documention includes the pseudocode fr
Thanks for the clarification. I think it makes lots of sense for the
leader to write to some canonical place to advertise itself; if others
are interested in knowing if it is the leader
2008/7/18 Flavio Junqueira <[EMAIL PROTECTED]>:
> Hi James, the fact that the client's node has another node n a
+1 :)
I'm a fellow ActiveMQ hacker too and would love to see ZK included
with ActiveMQ. Dependency Injection can really help keep your code
simple but leaving it flexible so it can be used in many different
ways.
Here's some links on DI
http://martinfowler.com/articles/injection.html
http://www.t
I work on the ActiveMQ project which implements the JMS API - which is
a kinda complex thing but it involves a number of objects
(Connections, Sessions, Producers, Consumers). In some JMS providers
its the end users responsibility to deal with detecting a connection
failure (from any other kind of
o have a standard way of finding the recipe that wasn't
> dependent on the language that implements the recipe.
>
> ben
>
> James Strachan wrote:
>> 2008/7/17 Benjamin Reed <[EMAIL PROTECTED]>:
>>
>>> Excellent proposal. The only thing I would add is
ng the cnxn
object at least is lowest risk and a simple patch :) and the code
should only be executed rarely so performance isn't such an issue.
Thoughts?
2008/7/18 James Strachan <[EMAIL PROTECTED]>:
>
> I work on the ActiveMQ project which implements the JMS API - which is
&g
I wonder if anyone else has seen this recently; I've been trying to
make the WriteLock implementation survive server restarts (i.e.
reconnecting to another ZK server) with some success. See the latest
patch here...
https://issues.apache.org/jira/browse/ZOOKEEPER-78
but I've found I can reliably ge
2008/7/22 Hiram Chirino <[EMAIL PROTECTED]>:
> Lol.. Apache infrastructure supports multiple wiki backends. It's up
> to the project to pick which one you want to you. You currently have
> picked MoinMoin, but you could have easily picked Confluence, just
> like these other Apache projects did:
>
2008/7/22 Flavio Junqueira <[EMAIL PROTECTED]>:
> James, I'd like to clarify what exactly is the issue you're looking at. If
> you provide a list of ZooKeeper servers, then a client will try to reconnect
> to another ZooKeeper server upon a disconnection. Reconnecting to another
> server does not g
Many apache projects including Hadoop register with nabble to host
online forums & great online archives of the mailing lists...
http://www.nabble.com/Hadoop-f17066.html
Currently there's hadoop-core, hbase and lucene on there.
I often refer to mailing list posts by nabble link; they're really
han
Am just wondering if I've hit this due to some other bug. I thought ZK
did keep-alive pings to ensure each client is alive and its session
does not expire? Or does the client have to explicitly keep calling
some method on the ZooKeeper interface to ensure a steady flow of
packets to the ZK server t
ike this?
2008/7/23 James Strachan <[EMAIL PROTECTED]>:
> 2008/7/22 Flavio Junqueira <[EMAIL PROTECTED]>:
>> James, I'd like to clarify what exactly is the issue you're looking at. If
>> you provide a list of ZooKeeper servers, then a client will try to reco
2008/7/23 Benjamin Reed <[EMAIL PROTECTED]>:
> SessionExpiredExceptions should be extremely rare. Basically they should only
> happen if a machine goes down (of course that would mean no exception would
> actually get generated since the client is dead :) or a network partition
> occurs.
>
> Having
2008/7/23 James Strachan <[EMAIL PROTECTED]>:
> 2008/7/23 Benjamin Reed <[EMAIL PROTECTED]>:
>> SessionExpiredExceptions should be extremely rare. Basically they should only
>> happen if a machine goes down (of course that would mean no exception would
>> actually
I've always had some tests failing on most boxes I try; I wasn't sure
if everyone else got those or if they do work on some platforms?
On OS X I get these failures
[junit] Test org.apache.zookeeper.test.AsyncTest FAILED
[junit] Test org.apache.zookeeper.test.WatcherFuncTest FAILED
On a li
FWIW I've ran the tests a few times; I think all these 4 tests have
timing failures in them. I've seen all of them fail on OS X at some
point. Sometimes only 2 will fail. On Linux I've seen just ClientTest
fail.
2008/7/23 Patrick Hunt <[EMAIL PROTECTED]>:
> I'm on ubuntu (hardy heron) and they wo
Just an idle observation as I'd never seen this workflow before on
JIRA so thought I'd ask :)
I've been watching some of the recent JIRA activity with interest.
I've seen a few JIRAs arrive, someone submits a test case who's not a
committer, then the issue gets assigned to the person who submitted
Done
https://issues.apache.org/jira/browse/ZOOKEEPER-85
2008/7/23 Patrick Hunt <[EMAIL PROTECTED]>:
> Good idea. Please enter a Jira and assign it to me.
>
> Patrick
>
>
> James Strachan wrote:
>>
>> Many apache projects including Hadoop register with nab
Cool thanks for the heads up! You live and learn :) Its funny how
totally different all the various Apache projects are and how they get
things done.
My bad for not reading the contributing section of the wiki yet :)
2008/7/23 Patrick Hunt <[EMAIL PROTECTED]>:
> James Strachan wrote:
&
2008/7/23 Doug Cutting <[EMAIL PROTECTED]>:
> James Strachan wrote:
>>
>> Tools like wikis are personal things; and folks tend to prefer to use
>> the tool they know.
>
> That's a key point.
>
> To make a switch you'd need:
> 1. Someone familiar
Awesome :)
2008/7/23 Patrick Hunt <[EMAIL PROTECTED]>:
> Both the user and dev lists are now being archived on nabble.
>
> http://n2.nabble.com/zookeeper-dev-f578911.html
> http://n2.nabble.com/zookeeper-user-f578899.html
>
> Patrick
>
--
James
---
http://macstrac.blogspot.com/
Open Sourc
Here's the first issue with a patch...
https://issues.apache.org/jira/browse/ZOOKEEPER-86
2008/7/23 Patrick Hunt <[EMAIL PROTECTED]>:
> It's important to capture this type of information in jira.
>
> James Strachan wrote:
>>
>> FWIW I've ran the tests a
-78
Project: Zookeeper
Issue Type: New Feature
Components: java client
Affects Versions: 3.0.0
Reporter: james strachan
Attachments: writeLock_protocol.patch
Here's a patch which adds a little WriteLock helper class for performing l
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-78:
Attachment: writeLock_protocol.patch
> added a high level protocol/feature - for e
[
https://issues.apache.org/jira/browse/ZOOKEEPER-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614431#action_12614431
]
james strachan commented on ZOOKEEPER-79:
-
BTW https://issues.apache.org/
[
https://issues.apache.org/jira/browse/ZOOKEEPER-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614448#action_12614448
]
james strachan commented on ZOOKEEPER-79:
-
Ah cool :) Was just checking we
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614703#action_12614703
]
james strachan commented on ZOOKEEPER-78:
-
Thanks Flavio!
Totally agreed
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-78:
Attachment: writeLock_protocol_with_documentation-version2.patch
here's an updated
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-78:
Attachment: (was: writeLock_protocol_with_documentation-version2.patch)
> adde
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-78:
Attachment: (was: writeLock_protocol.patch)
> added a high level protocol/feat
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-78:
Attachment: writeLock_protocol_version3.patch
Here is an improved version.
* we use
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614748#action_12614748
]
james strachan commented on ZOOKEEPER-78:
-
BTW I just deleted the oth
[
https://issues.apache.org/jira/browse/ZOOKEEPER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615546#action_12615546
]
james strachan commented on ZOOKEEPER-83:
-
I just took a look at the p
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615618#action_12615618
]
james strachan commented on ZOOKEEPER-78:
-
Great catch Benjamin! I've
Project: Zookeeper
Issue Type: Improvement
Components: java client
Reporter: james strachan
am about to attach a patch which adds a reconnect() method to easily
re-establish a connection if a session expires - along with a toString()
implementation for
[
https://issues.apache.org/jira/browse/ZOOKEEPER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-84:
Status: Patch Available (was: Open)
about to submit a match - whoops forgot to add it
[
https://issues.apache.org/jira/browse/ZOOKEEPER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-84:
Attachment: reconnect_patch.patch
sorry I forgot to add the patch before :) here it is
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-78:
Attachment: (was: writeLock_protocol_version3.patch)
> added a high level proto
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-78:
Attachment: patch_with_including_Benjamin's_fix.patch
this modified patch includ
[
https://issues.apache.org/jira/browse/ZOOKEEPER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615954#action_12615954
]
james strachan commented on ZOOKEEPER-83:
-
Note its pretty trivial to main
[
https://issues.apache.org/jira/browse/ZOOKEEPER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615957#action_12615957
]
james strachan commented on ZOOKEEPER-84:
-
I'm kinda confused by th
[
https://issues.apache.org/jira/browse/ZOOKEEPER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616012#action_12616012
]
james strachan commented on ZOOKEEPER-84:
-
the ZooKeeper will reconnec
[
https://issues.apache.org/jira/browse/ZOOKEEPER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616065#action_12616065
]
james strachan commented on ZOOKEEPER-84:
-
I hear you :)
So an Elect Leade
[
https://issues.apache.org/jira/browse/ZOOKEEPER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616114#action_12616114
]
james strachan commented on ZOOKEEPER-84:
-
You can mark this issue as RESO
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-78:
Attachment: using_zookeeper_facade.patch
This patch no longer requires ZOOKEEPER-84, we
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-78:
Assignee: (was: james strachan)
Status: Patch Available (was: Open)
Patch is
[
https://issues.apache.org/jira/browse/ZOOKEEPER-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616136#action_12616136
]
james strachan commented on ZOOKEEPER-63:
-
I wonder if I've seen thi
[
https://issues.apache.org/jira/browse/ZOOKEEPER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616144#action_12616144
]
james strachan commented on ZOOKEEPER-84:
-
If ZOOKEEPER-78 ever gets commi
[
https://issues.apache.org/jira/browse/ZOOKEEPER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616149#action_12616149
]
james strachan commented on ZOOKEEPER-83:
-
So long as dependencies don'
: james strachan
Assignee: Patrick Hunt
Many apache projects including Hadoop register with nabble to host
online forums & great online archives of the mailing lists...
http://www.nabble.com/Hadoop-f17066.html
Currently there's hadoop-core, hbase and lucene on there.
I often
[
https://issues.apache.org/jira/browse/ZOOKEEPER-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616151#action_12616151
]
james strachan commented on ZOOKEEPER-63:
-
BTW here's the hang I seem t
[
https://issues.apache.org/jira/browse/ZOOKEEPER-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-63:
Attachment: patch_ZOOKEEPER-63.patch
This patch avoids the close() method blocking
[
https://issues.apache.org/jira/browse/ZOOKEEPER-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-63:
Status: Patch Available (was: Open)
about to attach a patch
> Race condition in cli
Components: tests
Environment: OS X and linux. It sometimes passes; but mostly seems to
fail on OS X each time
Reporter: james strachan
Will attach the test output in an attachment...
--
This message is automatically generated by JIRA.
-
You can reply to this email
[
https://issues.apache.org/jira/browse/ZOOKEEPER-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-86:
Attachment: TEST-org.apache.zookeeper.test.AsyncTest.txt
here's the output when r
[
https://issues.apache.org/jira/browse/ZOOKEEPER-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-86:
Status: Patch Available (was: Open)
about to attach
> intermittent test failure
[
https://issues.apache.org/jira/browse/ZOOKEEPER-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-86:
Attachment: patch_for_ZOOKEEPER-86.patch
this patch seems to fix the test case on OS X
[
https://issues.apache.org/jira/browse/ZOOKEEPER-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616365#action_12616365
]
james strachan commented on ZOOKEEPER-86:
-
BTW I have sometimes still seen
[
https://issues.apache.org/jira/browse/ZOOKEEPER-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616374#action_12616374
]
james strachan commented on ZOOKEEPER-22:
-
BTW this discussion came up rece
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616391#action_12616391
]
james strachan commented on ZOOKEEPER-78:
-
h3. Moving patches for this issu
Reporter: james strachan
we should implement the
[java.util.concurrent.locks.Lock|http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/Lock.html]
to make it easier for folks to reuse the Lock and to help make the API be more
natural to end users
--
This message is
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616416#action_12616416
]
james strachan commented on ZOOKEEPER-78:
-
Just added the WhenOwnerList
[
https://issues.apache.org/jira/browse/ZOOKEEPER-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616418#action_12616418
]
james strachan commented on ZOOKEEPER-22:
-
BTW you can see the code
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616413#action_12616413
]
james strachan commented on ZOOKEEPER-78:
-
Thanks for the great comm
Type: Sub-task
Reporter: james strachan
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
-90
Project: Zookeeper
Issue Type: Sub-task
Reporter: james strachan
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[
https://issues.apache.org/jira/browse/ZOOKEEPER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616420#action_12616420
]
james strachan commented on ZOOKEEPER-84:
-
BTW here is the code
[
https://issues.apache.org/jira/browse/ZOOKEEPER-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616426#action_12616426
]
james strachan commented on ZOOKEEPER-63:
-
So this patch does not attempt to
[
https://issues.apache.org/jira/browse/ZOOKEEPER-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan resolved ZOOKEEPER-90.
-
Resolution: Fixed
this is now fixed in [this
patch|http://svn.apache.org/viewvc?rev
()
-
Key: ZOOKEEPER-91
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-91
Project: Zookeeper
Issue Type: Sub-task
Components: java client
Reporter: james strachan
Most clients probably wont need this
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616446#action_12616446
]
james strachan commented on ZOOKEEPER-78:
-
Benjamin I added ZOOKEEPER-89
[
https://issues.apache.org/jira/browse/ZOOKEEPER-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan resolved ZOOKEEPER-89.
-
Resolution: Fixed
fixed now with [this patch|http://svn.apache.org/viewvc?rev=679354
Issue Type: Sub-task
Components: java client
Reporter: james strachan
for folks who use Spring for Dependency Injection it might be handy to have a
couple of factory beans to make it easier to create and configure the
ZooKeeper, ZooKeeperFacade and ZooKeeperServer via the
[
https://issues.apache.org/jira/browse/ZOOKEEPER-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616455#action_12616455
]
james strachan commented on ZOOKEEPER-90:
-
FWIW I don't
[
https://issues.apache.org/jira/browse/ZOOKEEPER-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616456#action_12616456
]
james strachan commented on ZOOKEEPER-90:
-
I guess the earlier we can noti
[
https://issues.apache.org/jira/browse/ZOOKEEPER-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-88:
Status: Patch Available (was: Open)
I've just submitted an [initial pat
[
https://issues.apache.org/jira/browse/ZOOKEEPER-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616518#action_12616518
]
james strachan commented on ZOOKEEPER-74:
-
its a very minor thing, but
[
https://issues.apache.org/jira/browse/ZOOKEEPER-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
james strachan updated ZOOKEEPER-58:
Status: Patch Available (was: Open)
just marking this issue as having a patch - does a
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616579#action_12616579
]
james strachan commented on ZOOKEEPER-78:
-
Wow I confess to be being k
[
https://issues.apache.org/jira/browse/ZOOKEEPER-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616580#action_12616580
]
james strachan commented on ZOOKEEPER-83:
-
Hudson does support Maven and
[
https://issues.apache.org/jira/browse/ZOOKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616603#action_12616603
]
james strachan commented on ZOOKEEPER-78:
-
{quote}
Let's stick with
85 matches
Mail list logo