[GitHub] zookeeper pull request #201: ZOOKEEPER-2734: 3.5.3 should be a beta release ...

2017-03-27 Thread hanm
Github user hanm closed the pull request at: https://github.com/apache/zookeeper/pull/201 --- 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 pull request #195: ZOOKEEPER-2725: Promote local session to global...

2017-03-18 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/195#discussion_r106797356 --- Diff: src/java/test/org/apache/zookeeper/server/MultiOpSessionUpgradeTest.java --- @@ -0,0 +1,87 @@ +/** + * Licensed to the Apache Software

[GitHub] zookeeper pull request #195: ZOOKEEPER-2725: Promote local session to global...

2017-03-18 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/195#discussion_r106797374 --- Diff: src/java/test/org/apache/zookeeper/server/MultiOpSessionUpgradeTest.java --- @@ -0,0 +1,87 @@ +/** + * Licensed to the Apache Software

[GitHub] zookeeper pull request #195: ZOOKEEPER-2725: Promote local session to global...

2017-03-18 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/195#discussion_r106797340 --- Diff: src/java/test/org/apache/zookeeper/server/MultiOpSessionUpgradeTest.java --- @@ -0,0 +1,87 @@ +/** + * Licensed to the Apache Software

[GitHub] zookeeper issue #191: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-03-18 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/191 @skamille OK, for some reasons I can't even get a single repro with this patch now on Apache Jenkins. I've kicked 10+ builds on apache jenkins and all of them pass this test. Unfortunately the link

[GitHub] zookeeper issue #191: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-03-16 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/191 @skamille Interesting, curious to see what you find out. --- 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

[GitHub] zookeeper issue #191: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-03-16 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/191 >> if that creation is failing due to connection loss, shouldn't the places that check the watcher connection fail there instead of in your check? ConnectionLossException can happen

[GitHub] zookeeper pull request #194: ZOOKEEPER-2724: Skip cert files for releaseaudi...

2017-03-17 Thread hanm
Github user hanm closed the pull request at: https://github.com/apache/zookeeper/pull/194 --- 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 #200: ZOOKEEPER-2712: MiniKdc test case intermittently faili...

2017-03-18 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/200 I tested this patch, it works good for my local Linux environment. The previous test cases that failed deterministically now pass consistently. I've left a comment here and a couple of comments

[GitHub] zookeeper pull request #200: ZOOKEEPER-2712: MiniKdc test case intermittentl...

2017-03-18 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/200#discussion_r106792170 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumDigestAuthTest.java --- @@ -87,7 +87,7 @@ public void testValidCredentials() throws

[GitHub] zookeeper pull request #200: ZOOKEEPER-2712: MiniKdc test case intermittentl...

2017-03-18 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/200#discussion_r106792158 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumAuthUpgradeTest.java --- @@ -83,7 +83,7 @@ public void testNullAuthLearnerServer

[GitHub] zookeeper pull request #195: ZOOKEEPER-2725: Promote local session to global...

2017-03-20 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/195#discussion_r107051228 --- Diff: src/java/test/org/apache/zookeeper/server/MultiOpSessionUpgradeTest.java --- @@ -0,0 +1,135 @@ +/** + * Licensed to the Apache Software

[GitHub] zookeeper issue #200: ZOOKEEPER-2712: MiniKdc test case intermittently faili...

2017-03-20 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/200 lgtm! --- 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 #195: ZOOKEEPER-2725: Promote local session to global when e...

2017-03-20 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/195 LGTM, except it does not build with JDK 7. Will merge after the fix. --- 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

[GitHub] zookeeper pull request #195: ZOOKEEPER-2725: Promote local session to global...

2017-03-20 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/195#discussion_r107051170 --- Diff: src/java/test/org/apache/zookeeper/server/MultiOpSessionUpgradeTest.java --- @@ -0,0 +1,135 @@ +/** + * Licensed to the Apache Software

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

2017-03-15 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/192 LGTM. I did some testing using CLI and it works as expected. --- 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

[GitHub] zookeeper issue #191: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-03-15 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/191 So what happened chronically on Jenkins for this test could be: * ZK client connect to server. Watcher received connected (read only) events. * For some reasons when invoke zk.create we

[GitHub] zookeeper issue #191: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-03-15 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/191 >> So are we saying that the watcher.waitForConnected(CONNECTION_TIMEOUT) is not working correctly? I believe this works as expected. I don't see any of the flaky / normal test r

[GitHub] zookeeper issue #198: ZOOKEEPER-2726: Patch for ZOOKEEPER-2693 introduces po...

2017-03-16 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/198 merged, please close the pull request @knusbaum. --- 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 #191: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-03-16 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/191 Let me also check the Apache Jenkins logs on the failed cases see what happened there. --- 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 #191: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-03-16 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/191 I think we support running concurrent JUNIT tests and the number of parallel tests is controlled by test.junit.threads - which has default value of 1 in build.xml. The Jenkins log indicates

[GitHub] zookeeper issue #197: ZOOKEEPER-2726: Patch for ZOOKEEPER-2693 introduces po...

2017-03-16 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/197 merged, please close the pull request @knusbaum. --- 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 #191: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-03-16 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/191 That's a good one, it sounds possible. We can force the watcher only wait for SyncConnected event (rather than both SyncConnectedEvent and ConnectedReadyOnly event), so we will guarantee the client

[GitHub] zookeeper issue #191: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-03-16 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/191 I think this does not quite work still https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/434/testReport/junit/org.apache.zookeeper.test/ReadOnlyModeTest/testSessionEstablishment

[GitHub] zookeeper pull request #191: ZOOKEEPER-2722: fix flaky testSessionEstablishm...

2017-03-21 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/191#discussion_r107259910 --- Diff: src/java/test/org/apache/zookeeper/test/ClientBase.java --- @@ -96,24 +96,34 @@ public void process(WatchedEvent event) { /* nada

[GitHub] zookeeper pull request #191: ZOOKEEPER-2722: fix flaky testSessionEstablishm...

2017-03-14 Thread hanm
GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/191 ZOOKEEPER-2722: fix flaky testSessionEstablishment test. Use retry with timeouts to deal with ConnectionLossException in flaky apache test environment. You can merge this pull request into a Git

[GitHub] zookeeper pull request #194: ZOOKEEPER-2724: Skip cert files for releaseaudi...

2017-03-15 Thread hanm
GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/194 ZOOKEEPER-2724: Skip cert files for releaseaudit target. Skip the cert files as they are not source files, plus we already do the same for master branch.. You can merge this pull request

[GitHub] zookeeper issue #191: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-03-16 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/191 @skamille Implementing the idea of waiting for sync connected event to make sure we wait until a quorum is formed before prematurely trying a write operation. Made some comments in the test

[GitHub] zookeeper pull request #211: ZOOKEEPER-2743: Netty connection leaks JMX conn...

2017-04-01 Thread hanm
GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/211 ZOOKEEPER-2743: Netty connection leaks JMX connection bean. See https://issues.apache.org/jira/browse/ZOOKEEPER-2743 for details on the symptom and diagnostic. There are many ways

[GitHub] zookeeper pull request #213: ZOOKEEPER-2746: remove the check on the new lea...

2017-04-04 Thread hanm
GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/213 ZOOKEEPER-2746: remove the check on the new leader after a dynamic re… …config operation. This check might not always hold because the nominated leader could fail to lead the quorum

[GitHub] zookeeper pull request #211: ZOOKEEPER-2743: Netty connection leaks JMX conn...

2017-04-10 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/211#discussion_r110711280 --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxn.java --- @@ -87,6 +87,12 @@ public void close() { LOG.debug("

[GitHub] zookeeper pull request #224: ZOOKEEPER-2573: Introduce a python script that ...

2017-04-11 Thread hanm
GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/224 ZOOKEEPER-2573: Introduce a python script that generates flaky tests report. The script is self explaining, here are some notes: * The original work is done by Appy at Cloudera HBase team

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-05 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r110057806 --- Diff: src/java/main/org/apache/zookeeper/common/X509UtilTest.java --- @@ -0,0 +1,231 @@ +/** --- End diff -- This is supposed

[GitHub] zookeeper pull request #211: ZOOKEEPER-2743: Netty connection leaks JMX conn...

2017-04-05 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/211#discussion_r110082136 --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxn.java --- @@ -87,6 +87,12 @@ public void close() { LOG.debug("

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-05 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r110057980 --- Diff: src/java/main/org/apache/zookeeper/common/X509UtilTest.java --- @@ -0,0 +1,231 @@ +/** + * Licensed to the Apache Software Foundation (ASF

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-05 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r110061068 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/Learner.java --- @@ -253,7 +255,10 @@ protected void connectToLeader(InetSocketAddress addr

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-05 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r110060990 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/Learner.java --- @@ -193,21 +198,18 @@ void request(Request request) throws IOException

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-05 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r110061229 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/Learner.java --- @@ -230,15 +232,15 @@ protected void sockConnect(Socket sock, InetSocketAddress

[GitHub] zookeeper pull request #211: ZOOKEEPER-2743: Netty connection leaks JMX conn...

2017-04-05 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/211#discussion_r110081828 --- Diff: src/java/main/org/apache/zookeeper/server/NettyServerCnxn.java --- @@ -87,6 +87,12 @@ public void close() { LOG.debug("

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

2017-04-08 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/218 lgtm. --- 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 #216: ZOOKEEPER-2638: ZooKeeper should log which serverCnxnF...

2017-04-08 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/216 lgtm. Pending commit to branch-3.5 until after 3.5.3 release. --- 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

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

2017-04-08 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/219 merged, please close PR @afine --- 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 #221: ZOOKEEPER-2749: Cleanup findbug warnings in branch-3.4...

2017-04-08 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/221 >> We should also cherrypick this to 3.5 branch 3.5 is find bug clean... did you observe something bad in 3.5? --- If your project is set up for it, you can reply to this email an

[GitHub] zookeeper issue #214: ZOOKEEPER-2747: Fix ZooKeeperAdmin Compilation Warning

2017-04-08 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/214 lgtm. --- 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 #220: ZOOKEEPER-2729: Cleanup findbug warnings in branch-3.4...

2017-04-08 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/220 merged, please close pr @afine. --- 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 #221: ZOOKEEPER-2749: Cleanup findbug warnings in branch-3.4...

2017-04-08 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/221 merged please close pr @afine --- 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 #221: ZOOKEEPER-2749: Cleanup findbug warnings in branch-3.4...

2017-04-08 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/221 lgtm. --- 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 pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-13 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r111486323 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/LearnerHandler.java --- @@ -51,6 +53,8 @@ import org.slf4j.Logger; import

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-13 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r111485824 --- Diff: src/java/main/org/apache/zookeeper/common/ZKTrustManager.java --- @@ -0,0 +1,137 @@ +/** + * Licensed to the Apache Software Foundation

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-13 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r111486010 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/Follower.java --- @@ -71,7 +71,7 @@ void followLeader() throws InterruptedException

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-13 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r111484712 --- Diff: src/java/main/org/apache/zookeeper/common/X509Util.java --- @@ -150,7 +196,7 @@ public static X509KeyManager createKeyManager(String

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-13 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r111487159 --- Diff: src/java/test/org/apache/zookeeper/test/QuorumSSLTest.java --- @@ -0,0 +1,668 @@ +/** + * Licensed to the Apache Software Foundation (ASF

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-13 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r111483464 --- Diff: src/java/main/org/apache/zookeeper/client/FourLetterWordMain.java --- @@ -31,6 +31,7 @@ import javax.net.ssl.SSLSocket; import

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-13 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r111483370 --- Diff: src/java/main/org/apache/zookeeper/ClientCnxnSocketNetty.java --- @@ -21,6 +21,7 @@ import

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-13 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r111486591 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/LearnerHandler.java --- @@ -383,6 +387,7 @@ public void run

[GitHub] zookeeper pull request #235: ZOOKEEPER-2722: fix flaky testSessionEstablishm...

2017-04-21 Thread hanm
GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/235 ZOOKEEPER-2722: fix flaky testSessionEstablishment test. Make sure client is connected to a quorum before issuing a write operation to avoid possible race condition between connected to a RO server

[GitHub] zookeeper pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-13 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r111483819 --- Diff: src/java/main/org/apache/zookeeper/common/X509Util.java --- @@ -18,63 +18,110 @@ package org.apache.zookeeper.common; +import

[GitHub] zookeeper pull request #234: [ZOOKEEPER-2765] add C++ client library under c...

2017-04-19 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/234#discussion_r112275679 --- Diff: src/contrib/cppclient/DelegatingSessionEventWatcher.h --- @@ -0,0 +1,151 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] zookeeper issue #187: ZOOKEEPER-2716: fix flaky test testAddSessionAfterSess...

2017-03-09 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/187 I think this is a fairly obvious one - anyone want to review? --- 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

[GitHub] zookeeper pull request #187: ZOOKEEPER-2716: fix flaky test testAddSessionAf...

2017-03-09 Thread hanm
GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/187 ZOOKEEPER-2716: fix flaky test testAddSessionAfterSessionExpiry. We can't let the gate open until we increase the closed session count. Otherwise depends on timing, the test thread might see old

[GitHub] zookeeper issue #181: ZOOKEEPER-2706: checkstyle broken on branch-3.4

2017-03-09 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/181 Patch look good. Defer to @rakeshadr for another look and commit (since we are in the middle of 3.4 release.). --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] zookeeper issue #83: enable TCP keepalive for the leadership election/quorum...

2017-03-09 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/83 Thanks for the patch and detailed tech reports @gnethercutt. As @rgs1 commented on ZOOKEEPER-1748 JIRA we should have a feature switch that controls on / off of the keep alive option

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

2017-03-03 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/179#discussion_r104245364 --- Diff: src/java/test/org/apache/zookeeper/ZKTestCase.java --- @@ -51,6 +51,12 @@ public void starting(FrameworkMethod method

[GitHub] zookeeper issue #182: ZOOKEEPER-2709 Clarify documentation around the "auth"...

2017-03-08 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/182 Thanks @joshelser! Latest update looks great. Patch committed to master and branch-3.5. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] zookeeper issue #187: ZOOKEEPER-2716: fix flaky test testAddSessionAfterSess...

2017-03-12 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/187 @rakeshadr any chance you can take a look at this? --- 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 pull request #190: ZOOKEEPER-2718: fix flaky StandaloneDisabledTes...

2017-03-13 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/190#discussion_r105830547 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/StandaloneDisabledTest.java --- @@ -102,6 +102,8 @@ public void startSingleServerTest() throws

[GitHub] zookeeper pull request #190: ZOOKEEPER-2718: fix flaky StandaloneDisabledTes...

2017-03-13 Thread hanm
Github user hanm closed the pull request at: https://github.com/apache/zookeeper/pull/190 --- 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 pull request #190: ZOOKEEPER-2178: fix flaky StandaloneDisabledTes...

2017-03-13 Thread hanm
GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/190 ZOOKEEPER-2178: fix flaky StandaloneDisabledTest The flaky (that existing for a long time) is caused by a ghost server that although not appear in the quorum's config but still up and running

[GitHub] zookeeper issue #190: ZOOKEEPER-2178: fix flaky StandaloneDisabledTest

2017-03-13 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/190 @shralex You might want to take a look at this one :) --- 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 pull request #190: ZOOKEEPER-2718: fix flaky StandaloneDisabledTes...

2017-03-13 Thread hanm
GitHub user hanm reopened a pull request: https://github.com/apache/zookeeper/pull/190 ZOOKEEPER-2718: fix flaky StandaloneDisabledTest The flaky (that existing for a long time) is caused by a ghost server that although not appear in the quorum's config but still up and running

[GitHub] zookeeper issue #190: ZOOKEEPER-2718: fix flaky StandaloneDisabledTest

2017-03-14 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/190 Thanks for review, Alex! Committed and closing 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

[GitHub] zookeeper issue #165: ZOOKEEPER-2665 Port QA github pull request build to br...

2017-03-14 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/165 @eolivelli - can you please also closing this pull request? On a side note, this patch works, I see my PR to branch 3.5 is now kicking build bots. --- If your project is set up for it, you can

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

2017-03-06 Thread hanm
GitHub user hanm opened a pull request: https://github.com/apache/zookeeper/pull/183 ZOOKEEPER-2693: DOS attack on wchp/wchc four letter words (4lw). Similar as pull request 179, this PR introduces new property zookeeper.4lw.commands.whitelist to branch-3.4. Unlike branch-3.5

[GitHub] zookeeper issue #165: ZOOKEEPER-2665 Port QA github pull request build to br...

2017-03-06 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/165 I think it is fine to leave the names as they are for now and later update scripts for all branches all together. @eolivelli - are there any specific changes you made on top of ZOOKEEPER

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

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

[GitHub] zookeeper pull request #182: ZOOKEEPER-2709 Clarify documentation around the...

2017-03-06 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/182#discussion_r104595517 --- Diff: src/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml --- @@ -899,9 +899,12 @@ single id, anyone, that represents

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

2017-03-02 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/179 >> Can we introduce some keyword to include all the commands? Sounds reasonable. Will add 4lw.commands.whitelist=* as an option. --- If your project is set up for it, you can

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

2017-03-02 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/179 Another stab to address comments from @arshadmohammad * Introduced 4lw.commands.whitelist=* as a convient configuration option to enable all 4lw, with new test. * Remove dead code

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

2017-03-02 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/179#discussion_r104096586 --- Diff: src/java/test/org/apache/zookeeper/ZKTestCase.java --- @@ -51,6 +51,12 @@ public void starting(FrameworkMethod method

[GitHub] zookeeper issue #165: ZOOKEEPER-2665 Port QA github pull request build to br...

2017-03-07 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/165 Thanks @eolivelli, this is merged in 3.4. and 3.5. --- 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 #182: ZOOKEEPER-2709 Clarify documentation around the "auth"...

2017-03-07 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/182 Thanks for the quick update @joshelser ! The latest doc looks perfect minors what Abe pointed out. Do you mind to address Abe's comment regarding the id / expression clarification? --- If your

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

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

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

2017-03-07 Thread hanm
Github user hanm closed the pull request at: https://github.com/apache/zookeeper/pull/183 --- 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 pull request #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast...

2017-04-14 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/184#discussion_r111613841 --- Diff: src/java/main/org/apache/zookeeper/common/ZKTrustManager.java --- @@ -0,0 +1,137 @@ +/** + * Licensed to the Apache Software Foundation

[GitHub] zookeeper issue #151: Applying ZOOKEEPER-2642 patch to a 3.5 base

2017-04-17 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/151 @Randgalt : This is merged, please close the 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

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

2017-04-17 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/157 @revans2 Please close this pull request; it's merged. --- 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 pull request #232: ZOOKEEPER-2731: Cleanup findbug warnings in bra...

2017-04-24 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/232#discussion_r113011930 --- Diff: src/java/main/org/apache/jute/compiler/JType.java --- @@ -27,7 +27,7 @@ private String mCName; private String mCppName

[GitHub] zookeeper pull request #235: ZOOKEEPER-2722: fix flaky testSessionEstablishm...

2017-04-24 Thread hanm
Github user hanm closed the pull request at: https://github.com/apache/zookeeper/pull/235 --- 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 pull request #222: ZOOKEEPER-2697 Handle graceful stop of ZookKeep...

2017-04-24 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/222#discussion_r113008904 --- Diff: src/java/main/org/apache/zookeeper/ZooKeeper.java --- @@ -1325,6 +1325,23 @@ public synchronized void close() throws InterruptedException

[GitHub] zookeeper issue #222: ZOOKEEPER-2697 Handle graceful stop of ZookKeeper clie...

2017-04-24 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/222 Someone can correct me if I were wrong but I don't think we can cherry pick this to branch-3.5, which is in beta state now. A beta state means API is locked down: no addition, removal, or change

[GitHub] zookeeper pull request #222: ZOOKEEPER-2697 Handle graceful stop of ZookKeep...

2017-04-24 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/222#discussion_r113008830 --- Diff: src/java/main/org/apache/zookeeper/ZooKeeper.java --- @@ -1325,6 +1325,23 @@ public synchronized void close() throws InterruptedException

[GitHub] zookeeper pull request #222: ZOOKEEPER-2697 Handle graceful stop of ZookKeep...

2017-04-24 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/222#discussion_r113008213 --- Diff: src/java/main/org/apache/zookeeper/ZooKeeper.java --- @@ -1325,6 +1325,23 @@ public synchronized void close() throws InterruptedException

[GitHub] zookeeper issue #235: ZOOKEEPER-2722: fix flaky testSessionEstablishment tes...

2017-04-24 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/235 Merge and close 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 and wishes so

[GitHub] zookeeper pull request #223: ZOOKEEPER-2316: comment does not match code log...

2017-04-24 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/223#discussion_r113069120 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/Leader.java --- @@ -724,6 +724,8 @@ synchronized public boolean tryToCommit(Proposal p, long zxid

[GitHub] zookeeper pull request #312: ZOOKEEPER-1669: Operations to server will be ti...

2017-07-29 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/312#discussion_r130233880 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxn.java --- @@ -1001,25 +1010,14 @@ public String toString() { @Override

[GitHub] zookeeper pull request #312: ZOOKEEPER-1669: Operations to server will be ti...

2017-07-29 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/312#discussion_r130233860 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxn.java --- @@ -1001,25 +1010,14 @@ public String toString() { @Override

[GitHub] zookeeper pull request #304: ZOOKEEPER-2355: Ephemeral node is never deleted...

2017-08-01 Thread hanm
GitHub user hanm reopened a pull request: https://github.com/apache/zookeeper/pull/304 ZOOKEEPER-2355: Ephemeral node is never deleted if follower fails while reading the proposal packet. This commit is a port of the commit ca22b3db19371f6b0f5507b7dd80b283cddc7700 from branch-3.5

[GitHub] zookeeper pull request #304: ZOOKEEPER-2355: Ephemeral node is never deleted...

2017-08-01 Thread hanm
Github user hanm closed the pull request at: https://github.com/apache/zookeeper/pull/304 --- 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 pull request #312: ZOOKEEPER-1669: Operations to server will be ti...

2017-08-02 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/312#discussion_r131049051 --- Diff: src/java/main/org/apache/zookeeper/server/NIOServerCnxn.java --- @@ -1001,25 +1010,14 @@ public String toString() { @Override

[GitHub] zookeeper pull request #322: [ZOOKEEPER-2853] Update lastZxidSeen in FileTxn...

2017-08-02 Thread hanm
Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/322#discussion_r131049142 --- Diff: src/java/main/org/apache/zookeeper/server/persistence/FileTxnLog.java --- @@ -118,7 +118,7 @@ fsyncWarningThresholdMS

<    1   2   3   4   5   6   7   8   9   >