Hudson build is back to normal: ZooKeeper-trunk #161

2008-12-03 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/161/changes




[jira] Commented: (ZOOKEEPER-64) We should log system env information when intializing client/server

2008-12-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12652749#action_12652749
 ] 

Hudson commented on ZOOKEEPER-64:
-

Integrated in ZooKeeper-trunk #161 (See 
[http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/161/])


 We should log system env information when intializing client/server
 ---

 Key: ZOOKEEPER-64
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-64
 Project: Zookeeper
  Issue Type: Improvement
  Components: c client, java client, server
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-64.patch


 We should log system environment information (as much as possible) during 
 both client  server initialization. This will help with debugging of 
 customer issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



RE: ZooKeeper (not) on Wikipedia

2008-12-03 Thread Krishna Sankar (ksankar)
Thanks. Done. Good catch on DFS - now you know my secret - I used the
Hadoop entry as template ! 

I think the best category is cloud computing, a forward looking
statement; distributed computing might be more precise, but the category
is very broad. So I added them both, which most probably is the real
nature of the beast anyway ;o)
Cheers
k/

|-Original Message-
|From: Patrick Hunt [mailto:[EMAIL PROTECTED]
|Sent: Tuesday, December 02, 2008 11:13 PM
|To: [EMAIL PROTECTED]; Krishna Sankar (ksankar)
|Cc: zookeeper-dev@hadoop.apache.org
|Subject: Re: ZooKeeper (not) on Wikipedia
|
|Very nice!
|
|Not sure if it's external links or references but you could include:
|http://developer.yahoo.net/blogs/hadoop/2008/03/intro-to-zookeeper-
|video.html
|http://highscalability.com/node/426
|http://www.sdtimes.com/ZOOKEEPER_SERVICES_COORDINATOR_MOVES_TO_APACHE/A
b
|out_SERVICECOORDINATION_and_ZOOKEEPER_and_APACHE_and_YAHOO/33011
|
|distributed file system doesn't seem right to me, but I'm not sure
|what I would replace it with. ;-)
|http://en.wikipedia.org/wiki/Category:Distributed_computing
|
|Patrick
|
|Krishna Sankar (ksankar) wrote:
| First cut at http://en.wikipedia.org/wiki/Apache_ZooKeeper. I have
| copied two images (ZooKeeper services and ZooKeeper Namespace)  into
| Wikipedia.
|
| Also added the right pointer in the disambiguation page
| http://en.wikipedia.org/wiki/Zookeeper_(disambiguation)
|
| Should we add a pointer to the Apache Template as well?
|
| Cheers
| k/
| P.S : I think it is a good start, so have taken down the construction
| banner. Can put it up if anyone things we need to add lot more
| information.
|
| |-Original Message-
| |From: Mahadev Konar [mailto:[EMAIL PROTECTED]
| |Sent: Tuesday, November 25, 2008 5:04 PM
| |To: zookeeper-dev@hadoop.apache.org;
[EMAIL PROTECTED]
| |Subject: Re: ZooKeeper (not) on Wikipedia
| |
| |Great!! Go ahead.
| |
| |mahadev
| |
| |
| |On 11/25/08 4:57 PM, Krishna Sankar (ksankar) [EMAIL PROTECTED]
| |wrote:
| |
| | If no one has done it, I will take a first cut at it.
| |
| | |-Original Message-
| | |From: Patrick Hunt [mailto:[EMAIL PROTECTED]
| | |Sent: Tuesday, November 25, 2008 3:26 PM
| | |To: zookeeper-dev@hadoop.apache.org;
| [EMAIL PROTECTED]
| | |Subject: ZooKeeper (not) on wikipedia
| | |
| | |I noticed today that there is no ZooKeeper page on Wikipedia.
|Would
| | |anyone like to create it?
| | |
| | |This would be preferable:
| | |http://en.wikipedia.org/wiki/ZooKeeper
| | |
| | |But I also noticed this as well (perhaps _software could
redirect?
| Or
| | |just change the disambiguation page to link to ZooKeeper
|instead?):
| | |http://en.wikipedia.org/wiki/Zookeeper_(disambiguation)
| | |http://en.wikipedia.org/wiki/ZooKeeper_(software)
| | |
| | |The zk docs home and overview should have more than enough to
|start:
| | |http://hadoop.apache.org/zookeeper/docs/r3.0.0/
| | |http://hadoop.apache.org/zookeeper/docs/r3.0.0/zookeeperOver.html
| | |
| | |Regards,
| | |
| | |Patrick
|


Re: ZooKeeper (not) on Wikipedia

2008-12-03 Thread Patrick Hunt

Great job, thanks!

Krishna Sankar (ksankar) wrote:

Thanks. Done. Good catch on DFS - now you know my secret - I used the
Hadoop entry as template ! 


I think the best category is cloud computing, a forward looking
statement; distributed computing might be more precise, but the category
is very broad. So I added them both, which most probably is the real
nature of the beast anyway ;o)
Cheers
k/

|-Original Message-
|From: Patrick Hunt [mailto:[EMAIL PROTECTED]
|Sent: Tuesday, December 02, 2008 11:13 PM
|To: [EMAIL PROTECTED]; Krishna Sankar (ksankar)
|Cc: zookeeper-dev@hadoop.apache.org
|Subject: Re: ZooKeeper (not) on Wikipedia
|
|Very nice!
|
|Not sure if it's external links or references but you could include:
|http://developer.yahoo.net/blogs/hadoop/2008/03/intro-to-zookeeper-
|video.html
|http://highscalability.com/node/426
|http://www.sdtimes.com/ZOOKEEPER_SERVICES_COORDINATOR_MOVES_TO_APACHE/A
b
|out_SERVICECOORDINATION_and_ZOOKEEPER_and_APACHE_and_YAHOO/33011
|
|distributed file system doesn't seem right to me, but I'm not sure
|what I would replace it with. ;-)
|http://en.wikipedia.org/wiki/Category:Distributed_computing
|
|Patrick
|
|Krishna Sankar (ksankar) wrote:
| First cut at http://en.wikipedia.org/wiki/Apache_ZooKeeper. I have
| copied two images (ZooKeeper services and ZooKeeper Namespace)  into
| Wikipedia.
|
| Also added the right pointer in the disambiguation page
| http://en.wikipedia.org/wiki/Zookeeper_(disambiguation)
|
| Should we add a pointer to the Apache Template as well?
|
| Cheers
| k/
| P.S : I think it is a good start, so have taken down the construction
| banner. Can put it up if anyone things we need to add lot more
| information.
|
| |-Original Message-
| |From: Mahadev Konar [mailto:[EMAIL PROTECTED]
| |Sent: Tuesday, November 25, 2008 5:04 PM
| |To: zookeeper-dev@hadoop.apache.org;
[EMAIL PROTECTED]
| |Subject: Re: ZooKeeper (not) on Wikipedia
| |
| |Great!! Go ahead.
| |
| |mahadev
| |
| |
| |On 11/25/08 4:57 PM, Krishna Sankar (ksankar) [EMAIL PROTECTED]
| |wrote:
| |
| | If no one has done it, I will take a first cut at it.
| |
| | |-Original Message-
| | |From: Patrick Hunt [mailto:[EMAIL PROTECTED]
| | |Sent: Tuesday, November 25, 2008 3:26 PM
| | |To: zookeeper-dev@hadoop.apache.org;
| [EMAIL PROTECTED]
| | |Subject: ZooKeeper (not) on wikipedia
| | |
| | |I noticed today that there is no ZooKeeper page on Wikipedia.
|Would
| | |anyone like to create it?
| | |
| | |This would be preferable:
| | |http://en.wikipedia.org/wiki/ZooKeeper
| | |
| | |But I also noticed this as well (perhaps _software could
redirect?
| Or
| | |just change the disambiguation page to link to ZooKeeper
|instead?):
| | |http://en.wikipedia.org/wiki/Zookeeper_(disambiguation)
| | |http://en.wikipedia.org/wiki/ZooKeeper_(software)
| | |
| | |The zk docs home and overview should have more than enough to
|start:
| | |http://hadoop.apache.org/zookeeper/docs/r3.0.0/
| | |http://hadoop.apache.org/zookeeper/docs/r3.0.0/zookeeperOver.html
| | |
| | |Regards,
| | |
| | |Patrick
|


[jira] Updated: (ZOOKEEPER-243) add SEQUENCE flag documentation to the programming guide

2008-12-03 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-243:
---

Fix Version/s: 3.1.0

 add SEQUENCE flag documentation to the programming guide
 

 Key: ZOOKEEPER-243
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-243
 Project: Zookeeper
  Issue Type: Improvement
  Components: documentation
Affects Versions: 3.0.0, 3.0.1
Reporter: Patrick Hunt
Priority: Minor
 Fix For: 3.1.0


 There doesn't seem to be any docs in forrest detailing the sequence flag for 
 node creation.
 In particular we should detail how the flag works, the naming format, and 
 also rollover (when does the number roll over to 0 again).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (ZOOKEEPER-230) Improvements to FLE

2008-12-03 Thread Mahadev konar (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12652927#action_12652927
 ] 

Mahadev konar commented on ZOOKEEPER-230:
-

the patch loooks good. here are some comments :

- 6 should be declared as a final static int at the beginning of the class 
and used as a variable inside the code rather than using the value itself. Its 
easier to look for and replace.
- notimteout is updated twice - once when no new notifications are there and 
other time when its processing some notifications. Why is it incremented in the 
second case? also, its not bounded in the second case when notification != null
- LOG.info(Create new connection); in QuorumCnxnManager does not give any 
info on which host its creating the connection to. The log message should be 
more informative so that its easy to find out what happened late. ( I 
understand its been the same earlier but it will be good if we can make it more 
informative).
- public void connect() . does this method need to be public? Also, some 
javadoc comments for developeers, on what the method does would be useful.



 Improvements to FLE
 ---

 Key: ZOOKEEPER-230
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-230
 Project: Zookeeper
  Issue Type: Improvement
  Components: leaderElection
Affects Versions: 3.0.0
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-230.patch, ZOOKEEPER-230.patch, 
 ZOOKEEPER-230.patch


 I'm about to attach a patch that implements the following modifications:
 . Currently, if a server is on leader election and doesn't receive a 
 notification for some amount of time t, then it sends a new set of 
 notifications if at least one server has delivered a message from the 
 previous set. With this patch, the amount of time a server waits for a 
 notification before sending a new set increases exponentially;
 . I have separated connecting to servers and queuing new notification 
 messages. Before they were all in the same message. The advantage is that now 
 I can tell to an instance of QuorumCnxManager to try to connect to other 
 servers without generating new notification messages;
 . I have changed the logging level of several messages on QuorumCnxManager. 
 They were warn, but they should really be either info or debug. I've 
 changed them to info.
  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



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

2008-12-03 Thread Doug Cutting

+1

I note that 'ant clean test' fails, since the build requires an svn 
checkout, but 'ant test' on a release succeeds.  It would be best if the 
build worked without a subversion checkout.  But that's a nit.


Doug

Patrick Hunt wrote:

I've created a second candidate build for ZooKeeper 3.0.1.

*** Please download, test and VOTE before the
*** vote closes EOD on Friday, November 28.***

http://people.apache.org/~phunt/zookeeper-3.0.1-candidate-1/

The only change to rc1 from rc0 is adding a missing apache license 
header to a source file:

https://issues.apache.org/jira/browse/ZOOKEEPER-232

Should we release this?

Patrick



[jira] Created: (ZOOKEEPER-244) AsyncOpsTest fails when running consecutively

2008-12-03 Thread Flavio Paiva Junqueira (JIRA)
AsyncOpsTest fails when running consecutively
-

 Key: ZOOKEEPER-244
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-244
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.0.1
 Environment: MacOS X 10.5.5, Java 1.6.0_05
Reporter: Flavio Paiva Junqueira
Priority: Minor
 Fix For: 3.1.0
 Attachments: TEST-org.apache.zookeeper.test.AsyncOpsTest.txt

Attaching output log file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-244) AsyncOpsTest fails when running consecutively

2008-12-03 Thread Flavio Paiva Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-244:
-

Attachment: TEST-org.apache.zookeeper.test.AsyncOpsTest.txt

 AsyncOpsTest fails when running consecutively
 -

 Key: ZOOKEEPER-244
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-244
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.0.1
 Environment: MacOS X 10.5.5, Java 1.6.0_05
Reporter: Flavio Paiva Junqueira
Priority: Minor
 Fix For: 3.1.0

 Attachments: TEST-org.apache.zookeeper.test.AsyncOpsTest.txt


 Attaching output log file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-230) Improvements to FLE

2008-12-03 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-230:


Status: Open  (was: Patch Available)

cacelling the patch for now.. 

 Improvements to FLE
 ---

 Key: ZOOKEEPER-230
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-230
 Project: Zookeeper
  Issue Type: Improvement
  Components: leaderElection
Affects Versions: 3.0.0
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-230.patch, ZOOKEEPER-230.patch, 
 ZOOKEEPER-230.patch


 I'm about to attach a patch that implements the following modifications:
 . Currently, if a server is on leader election and doesn't receive a 
 notification for some amount of time t, then it sends a new set of 
 notifications if at least one server has delivered a message from the 
 previous set. With this patch, the amount of time a server waits for a 
 notification before sending a new set increases exponentially;
 . I have separated connecting to servers and queuing new notification 
 messages. Before they were all in the same message. The advantage is that now 
 I can tell to an instance of QuorumCnxManager to try to connect to other 
 servers without generating new notification messages;
 . I have changed the logging level of several messages on QuorumCnxManager. 
 They were warn, but they should really be either info or debug. I've 
 changed them to info.
  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Maven artifacts for 3.0.0 release

2008-12-03 Thread Patrick Hunt

Not sure if you noticed this discussion on hadoop core-dev:
http://www.nabble.com/Maven-vs-Ivy-td20786184.html

In particular:
it would help if someone wishing to use Maven had a look at
the poms and warned of trouble before they actually went up into the
central repository

As I mentioned previously we will most likely follow core's lead on this 
(both in terms of build as well as release process).


Regards,

Patrick

Hiram Chirino wrote:

commented.  Basically deploying the the maven repo is the same as
deploying the final release artifact (it's just at a different
directory on the same machine and has a different directory
structure).

On Wed, Nov 19, 2008 at 1:02 PM, Patrick Hunt [EMAIL PROTECTED] wrote:

Hi Hiram, I updated 224 with a few questions, if you could provide some
insight that would be helpful.

Patrick

Hiram Chirino wrote:

I created issue: https://issues.apache.org/jira/browse/ZOOKEEPER-224
to track the request.

Who's the current ZooKeeper release manager?

On Fri, Nov 14, 2008 at 11:07 AM, Hiram Chirino [EMAIL PROTECTED]
wrote:

Hi Guys,

I've create a small maven 2 repository for the ZooKeeper 3.0.0 release
at:
http://people.apache.org/~chirino/zk-repo/

Ideally the ZooKeeper PMC can review the artifacts validate that they
match the release, GPG sign all the poms and jars and push them out to
the main apache m2 maven repository so it can get synchronized into
the maven central repo.  That's at
people.apache.org:/www/people.apache.org/repo/m2-ibiblio-rsync-repository
BTW.

But For now maven users of ZooKeeper can add the following to their
build to automatically download the release:

 repositories
  repository
idchirino-zk-repo/id
namePrivate ZooKeeper Repo/name
urlhttp://people.apache.org/~chirino/zk-repo//url
  /repository
 /repositories

 dependencies
  dependency
groupIdorg.apache.hadoop.zookeeper/groupId
artifactIdzookeeper/artifactId
version3.0.0/version
  /dependency
 /dependencies

--
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com