windows ZK client port

2011-02-04 Thread Fournier, Camille F. [Tech]
Hi all,

We have created a windows native port for the C ZK client. We've done our own 
testing and it all seems to work, and we'd like to contribute it back to the 
community. However, porting the existing unit tests to windows has proven to be 
incredibly difficult. It's not clear that we have the bandwidth here to do that 
port ourselves. What should we do with this code? If we created windows unit 
tests would the project have windows hardware to run them on?

Thanks,
Camille



[jira] Commented: (ZOOKEEPER-784) server-side functionality for read-only mode

2011-02-04 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-784:
-

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12470236/ZOOKEEPER-784.patch
  against trunk revision 1062244.

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 11 new or modified tests.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

-1 findbugs.  The patch appears to introduce 9 new Findbugs (version 1.3.9) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

+1 core tests.  The patch passed core unit tests.

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://hudson.apache.org/hudson/job/PreCommit-ZOOKEEPER-Build/118//testReport/
Findbugs warnings: 
https://hudson.apache.org/hudson/job/PreCommit-ZOOKEEPER-Build/118//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://hudson.apache.org/hudson/job/PreCommit-ZOOKEEPER-Build/118//console

This message is automatically generated.

 server-side functionality for read-only mode
 

 Key: ZOOKEEPER-784
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-784
 Project: ZooKeeper
  Issue Type: Sub-task
  Components: server
Reporter: Sergey Doroshenko
Assignee: Sergey Doroshenko
 Fix For: 3.4.0

 Attachments: ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, 
 ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, 
 ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, 
 ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, 
 ZOOKEEPER-784.patch


 As per http://wiki.apache.org/hadoop/ZooKeeper/GSoCReadOnlyMode , create 
 ReadOnlyZooKeeperServer which comes into play when peer is partitioned.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (ZOOKEEPER-784) server-side functionality for read-only mode

2011-02-04 Thread Sergey Doroshenko (JIRA)

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

Sergey Doroshenko commented on ZOOKEEPER-784:
-

Though this patch already has two +1s from Henry and Flavio, I suppose someone 
could review it (and ZOOKEEPER-827) one more time.

Overall logic remained the same; changes were mainly due to recent client-side 
code refactorings, e.g. move code from ClientCnxn to ClientCnxnSocket.

Findbugs warnings has nothing to do with this patch, so I hope it will go into 
trunk some time soon.

 server-side functionality for read-only mode
 

 Key: ZOOKEEPER-784
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-784
 Project: ZooKeeper
  Issue Type: Sub-task
  Components: server
Reporter: Sergey Doroshenko
Assignee: Sergey Doroshenko
 Fix For: 3.4.0

 Attachments: ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, 
 ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, 
 ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, 
 ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, ZOOKEEPER-784.patch, 
 ZOOKEEPER-784.patch


 As per http://wiki.apache.org/hadoop/ZooKeeper/GSoCReadOnlyMode , create 
 ReadOnlyZooKeeperServer which comes into play when peer is partitioned.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: New to ZooKeeper project

2011-02-04 Thread Patrick Hunt
Welcome! Sounds like you might want to work with Camille:
http://markmail.org/message/fo6fzrrh3t3v5ayr

ZK java runs under cygwin, so that's an option as well.

Regards,

Patrick

On Thu, Feb 3, 2011 at 9:36 PM, Thiwanka Somasiri asthiwa...@gmail.com wrote:
 Hi,
     I am new to the ZooKeeper project and I need to know whether I can
 contribute to the project with a single computer which has Windows (64-bit)
 installed. And from which point should I start to contribute the project?

 --

 Regards

 A.S.Thiwanka Somasiri

 Skype : executionerwild
 MSN   : thi...@ymail.com
 thi...@ymail.com



[jira] Commented: (ZOOKEEPER-885) Zookeeper drops connections under moderate IO load

2011-02-04 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki commented on ZOOKEEPER-885:
---

I promised to look into this, but I haven't had time to do it. I'll try to 
spend some time on this next week.

--Michi

 Zookeeper drops connections under moderate IO load
 --

 Key: ZOOKEEPER-885
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-885
 Project: ZooKeeper
  Issue Type: Bug
  Components: server
Affects Versions: 3.2.2, 3.3.1
 Environment: Debian (Lenny)
 1Gb RAM
 swap disabled
 100Mb heap for zookeeper
Reporter: Alexandre Hardy
Priority: Critical
 Fix For: 3.4.0

 Attachments: WatcherTest.java, benchmark.csv, tracezklogs.tar.gz, 
 tracezklogs.tar.gz, zklogs.tar.gz


 A zookeeper server under minimum load, with a number of clients watching 
 exactly one node will fail to maintain the connection when the machine is 
 subjected to moderate IO load.
 In a specific test example we had three zookeeper servers running on 
 dedicated machines with 45 clients connected, watching exactly one node. The 
 clients would disconnect after moderate load was added to each of the 
 zookeeper servers with the command:
 {noformat}
 dd if=/dev/urandom of=/dev/mapper/nimbula-test
 {noformat}
 The {{dd}} command transferred data at a rate of about 4Mb/s.
 The same thing happens with
 {noformat}
 dd if=/dev/zero of=/dev/mapper/nimbula-test
 {noformat}
 It seems strange that such a moderate load should cause instability in the 
 connection.
 Very few other processes were running, the machines were setup to test the 
 connection instability we have experienced. Clients performed no other read 
 or mutation operations.
 Although the documents state that minimal competing IO load should present on 
 the zookeeper server, it seems reasonable that moderate IO should not cause 
 problems in this case.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (ZOOKEEPER-938) support Kerberos Authentication

2011-02-04 Thread Eugene Koontz (JIRA)

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

Eugene Koontz updated ZOOKEEPER-938:


Attachment: ZOOKEEPER-938.patch

 support Kerberos Authentication
 ---

 Key: ZOOKEEPER-938
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-938
 Project: ZooKeeper
  Issue Type: New Feature
  Components: server
Reporter: Eugene Koontz
Assignee: Eugene Koontz
 Fix For: 3.4.0

 Attachments: NIOServerCnxn.patch, ZOOKEEPER-938.patch, jaas.conf, 
 sasl.patch


 Support Keberos authentication of clients. 
 The following usage would let an admin use Kerberos authentication to assign 
 ACLs to authenticated clients.
 1. Admin logs into zookeeper (not necessarily through Kerberos however). 
 2. Admin decides that a new node called '/mynode' should be owned by the user 
 'zkclient' and have full permissions on this.
 3. Admin does: zk create /mynode content kerb:zkcli...@foofers.org:x:cdrwa
 (note: for now, the dummy ':x' is a placeholder for the password, and is 
 required by the zk command parser. The user's actual password is not stored 
 within Zookeeper; simply put 'x' there.)
 4. User 'zkclient' logins to kerberos using the command line utility 'kinit'.
 5. User connects to zookeeper server using a Kerberos-enabled version of 
 zkClient (ZookeeperMain).
 6. Behind the scenes, the client and server exchange authentication 
 information. User is now authenticated as 'zkclient'.
 7. User accesses /mynode with permissions 'cdrwa'.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: New to ZooKeeper project

2011-02-04 Thread Thiwanka Somasiri
Hi,

  I am reading the given guidance in the ZooKeeper website and still I
do not have a good idea of what is done by ZooKeeper?. I need to know for
what kind of applications does ZooKeeper is used and how it is used? Can
someone help me to move forward?

thanks.

On Fri, Feb 4, 2011 at 10:40 PM, Patrick Hunt ph...@apache.org wrote:

 Welcome! Sounds like you might want to work with Camille:
 http://markmail.org/message/fo6fzrrh3t3v5ayr

 ZK java runs under cygwin, so that's an option as well.

 Regards,

 Patrick

 On Thu, Feb 3, 2011 at 9:36 PM, Thiwanka Somasiri asthiwa...@gmail.com
 wrote:
  Hi,
  I am new to the ZooKeeper project and I need to know whether I can
  contribute to the project with a single computer which has Windows
 (64-bit)
  installed. And from which point should I start to contribute the project?
 
  --
 
  Regards
 
  A.S.Thiwanka Somasiri
 
  Skype : executionerwild
  MSN   : thi...@ymail.com
  thi...@ymail.com
 




-- 

Regards

A.S.Thiwanka Somasiri

Skype : executionerwild
MSN   : thi...@ymail.com
thi...@ymail.com