[GitHub] zookeeper pull request #241: ZOOKEEPER-2662: Export a metric for txn log syn...

2017-04-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/241#discussion_r113821610 --- Diff: src/java/main/org/apache/zookeeper/server/ZooKeeperServerBean.java --- @@ -162,4 +162,12 @@ public String getSecureClientAddress

[GitHub] zookeeper pull request #241: ZOOKEEPER-2662: Export a metric for txn log syn...

2017-04-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/241#discussion_r113821590 --- Diff: src/java/main/org/apache/zookeeper/server/ZooKeeperServerMXBean.java --- @@ -125,4 +125,6 @@ * @return secure client address

[GitHub] zookeeper pull request #241: ZOOKEEPER-2662: Export a metric for txn log syn...

2017-04-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/241#discussion_r11376 --- Diff: src/java/main/org/apache/zookeeper/server/ZooKeeperServerMXBean.java --- @@ -125,4 +125,6 @@ * @return secure client address

[GitHub] zookeeper pull request #241: ZOOKEEPER-2662: Export a metric for txn log syn...

2017-04-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/241#discussion_r11385 --- Diff: src/java/main/org/apache/zookeeper/server/ZooKeeperServerMXBean.java --- @@ -125,4 +125,6 @@ * @return secure client address

[GitHub] zookeeper pull request #241: ZOOKEEPER-2662: Export a metric for txn log syn...

2017-04-26 Thread eribeiro
GitHub user eribeiro opened a pull request: https://github.com/apache/zookeeper/pull/241 ZOOKEEPER-2662: Export a metric for txn log sync times You can merge this pull request into a Git repository by running: $ git pull https://github.com/eribeiro/zookeeper ZOOKEEPER-2662

[GitHub] zookeeper issue #216: ZOOKEEPER-2638: ZooKeeper should log which serverCnxnF...

2017-04-06 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/216 @afine I wonder if it is worth to backport this to branch-3.4... Wdyt? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] zookeeper issue #217: ZOOKEEPER-2744: Typos in the comments of ZooKeeper cla...

2017-04-06 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/217 @afine it would be possible to cherry pick this commit to branch-3.4, if it also has those typos? --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] zookeeper issue #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-04-03 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/205 @vincentpoon Very cool, Vincent! :smiley: Sorry, I didn't have any free cycles to work on review comments regarding https://github.com/apache/zookeeper/pull/208 but hopefully gonna merge

[GitHub] zookeeper issue #210: Fix typo

2017-03-30 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/210 +1 to what @afine wrote. Plus, target your PR to **branch-3.4** and then we can cherry-pick it into branch-3.5 and master after applying it to branch-3.4 --- If your project is set up

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/208#discussion_r108256234 --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxnFactory.java --- @@ -524,17 +538,14 @@ public InetSocketAddress getLocalAddress

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/208#discussion_r108255892 --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxnFactory.java --- @@ -109,6 +110,20 @@ public void channelConnected

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/208#discussion_r108242965 --- Diff: src/java/test/org/apache/zookeeper/server/NettyServerCnxnTest.java --- @@ -84,4 +98,78 @@ public void testSendCloseSession() throws Exception

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/208#discussion_r108242887 --- Diff: src/java/test/org/apache/zookeeper/server/NettyServerCnxnTest.java --- @@ -84,4 +98,78 @@ public void testSendCloseSession() throws Exception

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/208#discussion_r108242277 --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxnFactory.java --- @@ -109,6 +110,20 @@ public void channelConnected

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/208#discussion_r108242052 --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxn.java --- @@ -100,11 +101,15 @@ public void close

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/208#discussion_r108240078 --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxnFactory.java --- @@ -170,7 +185,6 @@ public void messageReceived

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/208#discussion_r108239884 --- Diff: src/java/test/org/apache/zookeeper/server/NettyServerCnxnTest.java --- @@ -51,9 +65,9 @@ public void setUp() throws Exception

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-24 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/208#discussion_r108027802 --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxn.java --- @@ -100,11 +101,15 @@ public void close

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-24 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/208#discussion_r108027783 --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxnFactory.java --- @@ -109,6 +110,20 @@ public void channelConnected

[GitHub] zookeeper pull request #77: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't i...

2017-03-24 Thread eribeiro
Github user eribeiro closed the pull request at: https://github.com/apache/zookeeper/pull/77 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] zookeeper issue #77: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't implemen...

2017-03-24 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/77 Closing this PR as the patch has moved to https://github.com/apache/zookeeper/pull/208 (still needs to address review comments tough). --- If your project is set up for it, you can reply

[GitHub] zookeeper pull request #208: ZOOKEEPER-2280: NettyServerCnxnFactory doesn't ...

2017-03-24 Thread eribeiro
GitHub user eribeiro opened a pull request: https://github.com/apache/zookeeper/pull/208 ZOOKEEPER-2280: NettyServerCnxnFactory doesn't implement maxClientCnxns You can merge this pull request into a Git repository by running: $ git pull https://github.com/eribeiro/zookeeper

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-24 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r108010303 --- Diff: src/java/main/org/apache/zookeeper/common/TokenBucket.java --- @@ -0,0 +1,88 @@ +/** +* Licensed to the Apache Software Foundation (ASF

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-24 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r108009883 --- Diff: src/java/main/org/apache/zookeeper/common/TokenBucket.java --- @@ -0,0 +1,88 @@ +/** +* Licensed to the Apache Software Foundation (ASF

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-24 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r108009773 --- Diff: src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml --- @@ -845,6 +845,40 @@ server.3=zoo3:2888:3888

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107821391 --- Diff: src/java/test/org/apache/zookeeper/test/MaxCnxnRateTest.java --- @@ -0,0 +1,124 @@ +/** +* Licensed to the Apache Software Foundation

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107824008 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxnFactory.java --- @@ -39,6 +39,8 @@ import java.util.concurrent.ConcurrentHashMap

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107820652 --- Diff: src/java/main/org/apache/zookeeper/common/RateLimiter.java --- @@ -0,0 +1,99 @@ +/** +* Licensed to the Apache Software Foundation (ASF

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107822984 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java --- @@ -750,4 +761,46 @@ public static void setReconfigEnabled(boolean

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107822156 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxnFactory.java --- @@ -607,9 +618,28 @@ public static ByteBuffer getDirectBuffer

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107825507 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxnFactory.java --- @@ -607,9 +618,28 @@ public static ByteBuffer getDirectBuffer

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107825629 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxnFactory.java --- @@ -607,9 +618,28 @@ public static ByteBuffer getDirectBuffer

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107825073 --- Diff: src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml --- @@ -845,6 +845,40 @@ server.3=zoo3:2888:3888

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107824726 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxnFactory.java --- @@ -794,8 +825,9 @@ public boolean removeCnxn(NIOServerCnxn cnxn

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107820601 --- Diff: src/java/main/org/apache/zookeeper/common/RateLimiter.java --- @@ -0,0 +1,99 @@ +/** +* Licensed to the Apache Software Foundation (ASF

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107822018 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxnFactory.java --- @@ -607,9 +618,28 @@ public static ByteBuffer getDirectBuffer

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107823274 --- Diff: src/java/test/org/apache/zookeeper/common/TokenBucketTest.java --- @@ -0,0 +1,180 @@ +/** +* Licensed to the Apache Software Foundation

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107820676 --- Diff: src/java/main/org/apache/zookeeper/common/RateLimiter.java --- @@ -0,0 +1,99 @@ +/** +* Licensed to the Apache Software Foundation (ASF

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107820995 --- Diff: src/java/main/org/apache/zookeeper/common/RateLimiter.java --- @@ -0,0 +1,99 @@ +/** +* Licensed to the Apache Software Foundation (ASF

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107824547 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxnFactory.java --- @@ -607,9 +618,28 @@ public static ByteBuffer getDirectBuffer

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107825010 --- Diff: src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml --- @@ -845,6 +845,40 @@ server.3=zoo3:2888:3888

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107821938 --- Diff: src/java/main/org/apache/zookeeper/common/TokenBucket.java --- @@ -0,0 +1,88 @@ +/** +* Licensed to the Apache Software Foundation (ASF

[GitHub] zookeeper pull request #205: ZOOKEEPER-2736 Add a connection rate limiter

2017-03-23 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/205#discussion_r107824798 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxnFactory.java --- @@ -817,24 +849,23 @@ public void touchCnxn(NIOServerCnxn cnxn

[GitHub] zookeeper issue #136: [ZOOKEEPER-1416] Persistent Recursive Watch

2017-03-22 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/136 Hey @fpj, @phunt, @breed, @skamille (or any PMC/commiter), it would be really cool to have this patch by @Randgalt merged, wouldn't it? If you have any cycles would you mind to review this one

[GitHub] zookeeper issue #193: ZOOKEEPER-2608: CLI option for TTL nodes

2017-03-22 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/193 Hey @Randgalt, awesome work! Pinging, @skamille @hanm @arshadmohammad to get their blessing. ;) --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] zookeeper issue #192: ZOOKEEPER-2719: Pull changes for TTL Nodes into 3.5 br...

2017-03-17 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/192 Hi @Randgalt, congrats on getting this PR ported to 3.5! :smiley: Please, could you close this PR as it has been merged? Best regards! --- If your project is set up for it, you can reply

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-02-26 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/173 @JiangJiafu @rakeshadr @hanm @fpj Guys, does my considerations on this comment https://github.com/apache/zookeeper/pull/173#discussion_r101845264 make any sense? Probably it's just me being

[GitHub] zookeeper pull request #180: ZOOKEEPER-2700 add JMX `takeSnapshot` method an...

2017-02-21 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/180#discussion_r102232941 --- Diff: src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java --- @@ -303,15 +305,38 @@ public void loadData() throws IOException

[GitHub] zookeeper pull request #180: ZOOKEEPER-2700 add JMX `takeSnapshot` method an...

2017-02-20 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/180#discussion_r101969629 --- Diff: src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java --- @@ -126,6 +125,9 @@ private final ZooKeeperServerListener listener

[GitHub] zookeeper pull request #180: ZOOKEEPER-2700 add JMX `takeSnapshot` method an...

2017-02-20 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/180#discussion_r101970085 --- Diff: src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java --- @@ -303,15 +305,38 @@ public void loadData() throws IOException

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-02-19 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/173 @jiangjiafu glad to help. :) Thanks for driving this change. Great work. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] zookeeper pull request #173: ZOOKEEPER-2691: recreateSocketAddresses may rec...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/173#discussion_r101846854 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java --- @@ -113,13 +113,21 @@ private QuorumServer(long id, InetSocketAddress

[GitHub] zookeeper pull request #173: ZOOKEEPER-2691: recreateSocketAddresses may rec...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/173#discussion_r101843694 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java --- @@ -128,24 +136,32 @@ private QuorumServer(long id, InetSocketAddress

[GitHub] zookeeper pull request #173: ZOOKEEPER-2691: recreateSocketAddresses may rec...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/173#discussion_r101845264 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java --- @@ -181,6 +197,33 @@ public void recreateSocketAddresses

[GitHub] zookeeper pull request #173: ZOOKEEPER-2691: recreateSocketAddresses may rec...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/173#discussion_r101843810 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java --- @@ -128,24 +136,32 @@ private QuorumServer(long id, InetSocketAddress

[GitHub] zookeeper pull request #173: ZOOKEEPER-2691: recreateSocketAddresses may rec...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/173#discussion_r101843855 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java --- @@ -113,13 +113,21 @@ private QuorumServer(long id, InetSocketAddress

[GitHub] zookeeper pull request #173: ZOOKEEPER-2691: recreateSocketAddresses may rec...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/173#discussion_r101843864 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java --- @@ -113,13 +113,21 @@ private QuorumServer(long id, InetSocketAddress

[GitHub] zookeeper pull request #173: ZOOKEEPER-2691: recreateSocketAddresses may rec...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/173#discussion_r101843611 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java --- @@ -194,6 +237,12 @@ public void recreateSocketAddresses

[GitHub] zookeeper pull request #179: ZOOKEEPER-2693: DOS attack on wchp/wchc four le...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/179#discussion_r101836721 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxn.java --- @@ -479,7 +479,7 @@ private boolean checkFourLetterWord(final SelectionKey k

[GitHub] zookeeper pull request #180: ZOOKEEPER-2700 add `snap` command to take snaps...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/180#discussion_r101831774 --- Diff: src/java/main/org/apache/zookeeper/server/command/SnapCommand.java --- @@ -0,0 +1,53 @@ +/** + * Licensed to the Apache Software

[GitHub] zookeeper pull request #180: ZOOKEEPER-2700 add `snap` command to take snaps...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/180#discussion_r101829550 --- Diff: src/java/main/org/apache/zookeeper/server/command/SnapCommand.java --- @@ -0,0 +1,53 @@ +/** + * Licensed to the Apache Software

[GitHub] zookeeper pull request #180: ZOOKEEPER-2700 add `snap` command to take snaps...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/180#discussion_r101782717 --- Diff: src/java/main/org/apache/zookeeper/server/command/SnapCommand.java --- @@ -0,0 +1,53 @@ +/** + * Licensed to the Apache Software

[GitHub] zookeeper pull request #180: ZOOKEEPER-2700 add `snap` command to take snaps...

2017-02-17 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/180#discussion_r101779855 --- Diff: src/java/main/org/apache/zookeeper/server/command/SnapCommand.java --- @@ -0,0 +1,53 @@ +/** + * Licensed to the Apache Software

[GitHub] zookeeper issue #179: ZOOKEEPER-2693: DOS attack on wchp/wchc four letter wo...

2017-02-16 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/179 +1. Great work, @hanm. Congrats. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] zookeeper pull request #179: ZOOKEEPER-2693: DOS attack on wchp/wchc four le...

2017-02-16 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/179#discussion_r101667879 --- Diff: src/java/main/org/apache/zookeeper/server/command/FourLetterCommands.java --- @@ -153,13 +155,33 @@ */ public final static

[GitHub] zookeeper pull request #179: ZOOKEEPER-2693: DOS attack on wchp/wchc four le...

2017-02-16 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/179#discussion_r101588332 --- Diff: src/java/main/org/apache/zookeeper/server/command/FourLetterCommands.java --- @@ -153,13 +155,33 @@ */ public final static

[GitHub] zookeeper pull request #179: ZOOKEEPER-2693: DOS attack on wchp/wchc four le...

2017-02-16 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/179#discussion_r101587320 --- Diff: src/java/main/org/apache/zookeeper/server/command/FourLetterCommands.java --- @@ -153,13 +155,33 @@ */ public final static

[GitHub] zookeeper pull request #179: ZOOKEEPER-2693: DOS attack on wchp/wchc four le...

2017-02-16 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/179#discussion_r101587208 --- Diff: src/java/main/org/apache/zookeeper/server/command/FourLetterCommands.java --- @@ -153,13 +155,33 @@ */ public final static

[GitHub] zookeeper pull request #165: ZOOKEEPER-2665 Port QA github pull request buil...

2017-02-14 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/165#discussion_r100232542 --- Diff: src/java/test/bin/test-github-pr.sh --- @@ -0,0 +1,616 @@ +#!/usr/bin/env bash +# Licensed under the Apache License, Version 2.0

[GitHub] zookeeper pull request #165: ZOOKEEPER-2665 Port QA github pull request buil...

2017-02-14 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/165#discussion_r100269807 --- Diff: src/java/test/bin/test-github-pr.sh --- @@ -0,0 +1,616 @@ +#!/usr/bin/env bash +# Licensed under the Apache License, Version 2.0

[GitHub] zookeeper pull request #165: ZOOKEEPER-2665 Port QA github pull request buil...

2017-02-14 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/165#discussion_r100269721 --- Diff: src/java/test/bin/test-github-pr.sh --- @@ -0,0 +1,616 @@ +#!/usr/bin/env bash +# Licensed under the Apache License, Version 2.0

[GitHub] zookeeper issue #169: ZOOKEEPER-2672: Remove CHANGE.txt.

2017-02-13 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/169 Um... close this PR? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled

[GitHub] zookeeper issue #168: ZOOKEEPER-2672: Remove CHANGE.txt.

2017-02-13 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/168 @hanm Could you close this PR, please? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] zookeeper issue #170: ZOOKEEPER-2689: Fix Kerberos Authentication related te...

2017-02-13 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/170 I didn't catch anything worth comment. :+1: --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] zookeeper issue #161: ZOOKEEPER-2680: Correct DataNode.getChildren() inconsi...

2017-02-13 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/161 Hi @arshadmohammad, this PR was merged, right? For whatever reason it was not closed. Could you close it, please? :) --- If your project is set up for it, you can reply to this email

[GitHub] zookeeper issue #162: ZOOKEEPER-2680: Correct DataNode.getChildren() inconsi...

2017-02-13 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/162 Hi @arshadmohammad, this PR was merged, right? For whatever reason it was not closed. Could you close it, please? :) --- If your project is set up for it, you can reply to this email

[GitHub] zookeeper issue #174: ZOOKEEPER-2617: correct a few spelling typos

2017-02-13 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/174 As far as I can infer, the current Jenkins errors (below) is because `ant` was compiled on JDK8 and run on JDK7. Exception in thread "main" java.lang.UnsupportedClassVe

[GitHub] zookeeper issue #174: ZOOKEEPER-2617: correct a few spelling typos

2017-02-13 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/174 Hi @rakeshadr, I have updated the PR for branch-3.5 and master. There's one less changed file wrt branch-3.4 https://github.com/apache/zookeeper/commit

[GitHub] zookeeper pull request #174: ZOOKEEPER-2617: correct a few spelling typos

2017-02-13 Thread eribeiro
GitHub user eribeiro opened a pull request: https://github.com/apache/zookeeper/pull/174 ZOOKEEPER-2617: correct a few spelling typos Hi - this PR contains corrections for some spelling typos. Most of them appear in comments, but a few appear in documentation and program output

[GitHub] zookeeper issue #127: ZOOKEEPER-2646: Java target in branch 3.4 doesn't matc...

2017-02-02 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/127 @hanm @fpj Another PR not closed automatically. Flávio, could you close it? :) --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well

[GitHub] zookeeper issue #156: ZOOKEEPER-2044:CancelledKeyException in zookeeper 3.4....

2017-02-02 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/156 @rakeshadr @hanm For whatever reason this PR was not closed. Could you close it Michael? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] zookeeper pull request #160: ZOOKEEPER-2680:Correct DataNode.getChildren() i...

2017-02-01 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/160#discussion_r98973726 --- Diff: src/java/main/org/apache/zookeeper/server/DataTree.java --- @@ -1045,18 +1046,16 @@ private void getCounts(String path, Counts counts

[GitHub] zookeeper pull request #160: ZOOKEEPER-2680:Correct DataNode.getChildren() i...

2017-02-01 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/160#discussion_r98968169 --- Diff: src/java/main/org/apache/zookeeper/server/DataTree.java --- @@ -1045,18 +1046,16 @@ private void getCounts(String path, Counts counts

[GitHub] zookeeper issue #160: ZOOKEEPER-2680:Correct DataNode.getChildren() inconsis...

2017-01-31 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/160 @arshadmohammad My two last questions (really!): * Is this change supposed to be applied to branch-3.4 and branch-3.5? * I see that `DataNode.getChildren()` is called in half

[GitHub] zookeeper pull request #160: ZOOKEEPER-2680:Correct DataNode.getChildren() i...

2017-01-31 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/160#discussion_r98745304 --- Diff: src/java/test/org/apache/zookeeper/server/DataNodeTest.java --- @@ -0,0 +1,66 @@ +/** + * Licensed to the Apache Software Foundation

[GitHub] zookeeper pull request #160: ZOOKEEPER-2680:Correct DataNode.getChildren() i...

2017-01-31 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/160#discussion_r98745482 --- Diff: src/java/test/org/apache/zookeeper/server/DataNodeTest.java --- @@ -0,0 +1,54 @@ +/** + * Licensed to the Apache Software Foundation

[GitHub] zookeeper pull request #160: ZOOKEEPER-2680:Correct DataNode.getChildren() i...

2017-01-31 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/160#discussion_r98745143 --- Diff: src/java/test/org/apache/zookeeper/server/DataNodeTest.java --- @@ -0,0 +1,66 @@ +/** + * Licensed to the Apache Software Foundation

[GitHub] zookeeper pull request #160: ZOOKEEPER-2680:Correct DataNode.getChildren() i...

2017-01-31 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/160#discussion_r98710030 --- Diff: src/java/test/org/apache/zookeeper/server/DataNodeTest.java --- @@ -0,0 +1,54 @@ +/** + * Licensed to the Apache Software Foundation

[GitHub] zookeeper pull request #160: ZOOKEEPER-2680:Correct DataNode.getChildren() i...

2017-01-31 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/160#discussion_r98709271 --- Diff: src/java/test/org/apache/zookeeper/server/DataNodeTest.java --- @@ -0,0 +1,54 @@ +/** + * Licensed to the Apache Software Foundation

[GitHub] zookeeper pull request #160: ZOOKEEPER-2680:Correct DataNode.getChildren() i...

2017-01-31 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/160#discussion_r98662079 --- Diff: src/java/test/org/apache/zookeeper/server/DataNodeTest.java --- @@ -0,0 +1,54 @@ +/** + * Licensed to the Apache Software Foundation

[GitHub] zookeeper pull request #150: ZOOKEEPER-2184: Zookeeper Client should re-reso...

2017-01-30 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/150#discussion_r98565216 --- Diff: src/java/main/org/apache/zookeeper/client/StaticHostProvider.java --- @@ -87,15 +75,106 @@ public StaticHostProvider(Collection

[GitHub] zookeeper pull request #150: ZOOKEEPER-2184: Zookeeper Client should re-reso...

2017-01-30 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/150#discussion_r98549400 --- Diff: src/java/main/org/apache/zookeeper/client/StaticHostProvider.java --- @@ -87,15 +75,106 @@ public StaticHostProvider(Collection

[GitHub] zookeeper issue #160: ZOOKEEPER-2680:Correct DataNode.getChildren() inconsis...

2017-01-30 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/160 +1. LGTM. :+1: --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] zookeeper issue #157: ZOOKEEPER-2678: Discovery and Sync can take a very lon...

2017-01-30 Thread eribeiro
Github user eribeiro commented on the issue: https://github.com/apache/zookeeper/pull/157 Hey @revans2, FYI. I was able to apply the both #158 and #159 without any explicit conflict on `branch-3.5` and `master` and #157 on branch-3.4 (but not on the others cited previously). So

[GitHub] zookeeper pull request #150: ZOOKEEPER-2184: Zookeeper Client should re-reso...

2017-01-30 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/150#discussion_r98484702 --- Diff: src/java/main/org/apache/zookeeper/client/StaticHostProvider.java --- @@ -122,18 +122,19 @@ public int size() { private int nextAdded

[GitHub] zookeeper pull request #150: ZOOKEEPER-2184: Zookeeper Client should re-reso...

2017-01-30 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/150#discussion_r98392957 --- Diff: src/java/main/org/apache/zookeeper/client/StaticHostProvider.java --- @@ -87,15 +75,104 @@ public StaticHostProvider(Collection

[GitHub] zookeeper pull request #150: ZOOKEEPER-2184: Zookeeper Client should re-reso...

2017-01-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/150#discussion_r98282550 --- Diff: src/java/main/org/apache/zookeeper/client/StaticHostProvider.java --- @@ -87,15 +75,104 @@ public StaticHostProvider(Collection

[GitHub] zookeeper pull request #150: ZOOKEEPER-2184: Zookeeper Client should re-reso...

2017-01-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/150#discussion_r98281621 --- Diff: src/java/main/org/apache/zookeeper/client/StaticHostProvider.java --- @@ -87,15 +75,104 @@ public StaticHostProvider(Collection

[GitHub] zookeeper pull request #150: ZOOKEEPER-2184: Zookeeper Client should re-reso...

2017-01-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/150#discussion_r98280911 --- Diff: src/java/main/org/apache/zookeeper/client/StaticHostProvider.java --- @@ -87,15 +75,104 @@ public StaticHostProvider(Collection

[GitHub] zookeeper pull request #150: ZOOKEEPER-2184: Zookeeper Client should re-reso...

2017-01-27 Thread eribeiro
Github user eribeiro commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/150#discussion_r98265031 --- Diff: src/java/main/org/apache/zookeeper/client/StaticHostProvider.java --- @@ -87,15 +75,104 @@ public StaticHostProvider(Collection

<    1   2   3   4   >