zookeeper git commit: ZOOKEEPER-3090: continue can be replaced with break

2018-09-05 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master e501d9cc6 -> 0b65e3d4c ZOOKEEPER-3090: continue can be replaced with break change continue to break Author: zhangbo Reviewers: hanm, nkalmar, maoling Closes #573 from a470577391/master Project: http://git-wip-us.apache.org/re

zookeeper git commit: ZOOKEEPER-3131: Remove watcher when session closed in NettyServerCnxn

2018-09-06 Thread hanm
with NIO implementation. Author: Fangmin Lyu Reviewers: hanm, anmolnar, nkalmar Closes #612 from lvfangmin/ZOOKEEPER-3131 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/95557a30 Tree: http://git-wip-us.apache.org/r

zookeeper git commit: ZOOKEEPER-3136: Reduce log in ClientBase in case of ConnectException

2018-09-06 Thread hanm
ico Olivelli Reviewers: hanm, maoling Closes #614 from eolivelli/fix/ZOOKEEPER-3136-noisy-log Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/27db6bd2 Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/27db6bd2 D

zookeeper git commit: ZOOKEEPER-2261: When only secureClientPort is configured connections, configuration, connection_stat_reset, and stats admin commands throw NullPointerException

2018-09-10 Thread hanm
ver tests to relevant places. Second commit is the actual fix + new unit tests. Sorry about indentation changes, but `FileTxnLogTest.java` was indented by 2 spaces instead of 4. Author: Andor Molnar Author: Andor Molnar Reviewers: breed, hanm, nkalmar Closes #545 from anmolnar/ZOOKEEPER-2

zookeeper git commit: ZOOKEEPER-2261: When only secureClientPort is configured connections, configuration, connection_stat_reset, and stats admin commands throw NullPointerException

2018-09-11 Thread hanm
ver tests to relevant places. Second commit is the actual fix + new unit tests. Sorry about indentation changes, but `FileTxnLogTest.java` was indented by 2 spaces instead of 4. Author: Andor Molnar Author: Andor Molnar Reviewers: breed, hanm, nkalmar Closes #545 from anmolnar/ZOOKEEPER-2

zookeeper git commit: ZOOKEEPER-3137: add a utility to truncate logs to a zxid

2018-09-14 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 14870ddd4 -> 716300812 ZOOKEEPER-3137: add a utility to truncate logs to a zxid Author: Brian Nixon Reviewers: Michael Han , Andor Molnár Closes #615 from enixon/add-chop Project: http://git-wip-us.apache.org/repos/asf/zookeeper/

zookeeper git commit: ZOOKEEPER-3144: Fix potential ephemeral nodes inconsistent due to global session inconsistent with fuzzy snapshot

2018-09-14 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 716300812 -> b58791016 ZOOKEEPER-3144: Fix potential ephemeral nodes inconsistent due to global session inconsistent with fuzzy snapshot There is a race condition between update the lastProcessedZxid and the actual session change in D

zookeeper git commit: ZOOKEEPER-3142: Extend SnapshotFormatter to dump data in json format

2018-09-14 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master b58791016 -> 657e2e832 ZOOKEEPER-3142: Extend SnapshotFormatter to dump data in json format Author: Brian Nixon Reviewers: Michael Han Closes #619 from enixon/extend-sf Project: http://git-wip-us.apache.org/repos/asf/zookeeper/rep

zookeeper git commit: ZOOKEEPER-3098: Add additional server metrics

2018-09-17 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 657e2e832 -> f4cbb689a ZOOKEEPER-3098: Add additional server metrics This patch adds several new server-side metrics as well as makes it easier to add new metrics in the future. This patch also includes a handful of other minor metric

zookeeper git commit: ZOOKEEPER-2847: Cannot bind to client port when reconfig based on old static config

2018-09-21 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master f4cbb689a -> e116d32b6 ZOOKEEPER-2847: Cannot bind to client port when reconfig based on old static config Fixed the issue where clientPortAddress in the static config is not correctly saved in QuorumVerifier. This can cause zookeeper

zookeeper git commit: ZOOKEEPER-3146: Limit the maximum client connections per IP in NettyServerCnxnFactory

2018-09-21 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master e116d32b6 -> 4ebb847bc ZOOKEEPER-3146: Limit the maximum client connections per IP in NettyServerCnxnFactory Add similar max cnxn per ip throttling logic to Netty implementation. Author: Fangmin Lyu Reviewers: h...@apache.org Close

[1/2] zookeeper git commit: ZOOKEEPER-1177: Add the memory optimized watch manager for concentrate watches scenario

2018-09-28 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 4ebb847bc -> fdde8b006 http://git-wip-us.apache.org/repos/asf/zookeeper/blob/fdde8b00/src/java/main/org/apache/zookeeper/server/watch/WatcherOrBitSet.java -- diff --git

[2/2] zookeeper git commit: ZOOKEEPER-1177: Add the memory optimized watch manager for concentrate watches scenario

2018-09-28 Thread hanm
ZOOKEEPER-1177: Add the memory optimized watch manager for concentrate watches scenario The current HashSet based WatcherManager will consume more than 40GB memory when creating 300M watches. This patch optimized the memory and time complexity for concentrate watches scenario, compared to Watch

zookeeper git commit: ZOOKEEPER-2847: Cannot bind to client port when reconfig based on old static config

2018-09-30 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master fdde8b006 -> a8cf62678 ZOOKEEPER-2847: Cannot bind to client port when reconfig based on old static config PR No.2: Prevent removing client info from static config file to fix ReconfigLegacyTest Author: Yisong Yue Reviewers: Allan

zookeeper git commit: ZOOKEEPER-2316: comment does not match code logic

2017-04-27 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 3042a50a3 -> 7dfaeb4de ZOOKEEPER-2316: comment does not match code logic Fixing ZOOKEEPER-2316. Author: Umesh Panchaksharaiah Author: Umesh Panchaksharaiah Reviewers: Abraham Fine , Michael Han Closes #223 from upangit/ZOOKEEP

zookeeper git commit: ZOOKEEPER-2316: comment does not match code logic

2017-04-27 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master a6b168a81 -> f7281f304 ZOOKEEPER-2316: comment does not match code logic Fixing ZOOKEEPER-2316. Author: Umesh Panchaksharaiah Author: Umesh Panchaksharaiah Reviewers: Abraham Fine , Michael Han Closes #223 from upangit/ZOOKEEPER-2

zookeeper git commit: ZOOKEEPER-2662: Export a metric for txn log sync times

2017-04-27 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master f7281f304 -> 425fdbb8f ZOOKEEPER-2662: Export a metric for txn log sync times Author: Edward Ribeiro Reviewers: Michael Han Closes #241 from eribeiro/ZOOKEEPER-2662 and squashes the following commits: 1d24e06 [Edward Ribeiro] Addre

zookeeper git commit: ZOOKEEPER-2759: Flaky test: org.apache.zookeeper.server.quorum.QuorumCnxManagerTest.testNoAuthLearnerConnectToAuthRequiredServerWithHigherSid

2017-04-28 Thread hanm
com/apache/zookeeper/pull/229 as per hanm Author: Abraham Fine Reviewers: Michael Han Closes #242 from afine/ZOOKEEPER-2759_fixed Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/ad26e22d Tree: http://git-

zookeeper git commit: ZOOKEEPER-2662: Export a metric for txn log sync times

2017-04-28 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 7dfaeb4de -> 1a4042be5 ZOOKEEPER-2662: Export a metric for txn log sync times Addressed review comments Author: Edward Ribeiro Reviewers: Michael Han Closes #243 from eribeiro/ZOOKEEPER-2662-branch-3.5 Project: http://git-wip

zookeeper git commit: ZOOKEEPER-2697: Handle graceful stop of ZookKeeper client

2017-05-01 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 017ca1a24 -> acfc471ec ZOOKEEPER-2697: Handle graceful stop of ZookKeeper client Add a ZooKeeper.close(int timeout) method which waits for internal resources to be released Author: eolivelli Reviewers: Michael Han Closes #222 from

zookeeper git commit: ZOOKEEPER-2697: Handle graceful stop of ZookKeeper client

2017-05-01 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 acd116af6 -> 1b855d201 ZOOKEEPER-2697: Handle graceful stop of ZookKeeper client Add a ZooKeeper.close(int timeout) method which waits for internal resources to be released Author: eolivelli Reviewers: Michael Han Closes #222

zookeeper git commit: ZOOKEEPER-2785: Server inappropriately throttles connections under loa…

2017-05-18 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 1b855d201 -> 561a45a1e ZOOKEEPER-2785: Server inappropriately throttles connections under loa… …d before SASL completes Author: Abhishek Singh Chouhan Reviewers: Michael Han Closes #256 from abhishek-chouhan/ZOOKEEPER-2785

zookeeper git commit: ZOOKEEPER-2785: Server inappropriately throttles connections under loa…

2017-05-18 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master a680655a3 -> 0a3e2d1d4 ZOOKEEPER-2785: Server inappropriately throttles connections under loa… …d before SASL completes Author: Abhishek Singh Chouhan Reviewers: Michael Han Closes #256 from abhishek-chouhan/ZOOKEEPER-2785 Pr

zookeeper git commit: ZOOKEEPER-2785: Server inappropriately throttles connections under loa…

2017-05-18 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 ad26e22df -> 593c99c3c ZOOKEEPER-2785: Server inappropriately throttles connections under loa… …d before SASL completes Author: Abhishek Singh Chouhan Reviewers: Michael Han Closes #256 from abhishek-chouhan/ZOOKEEPER-2785

zookeeper git commit: Ephemeral znode will not be removed when sesstion timeout, if the system time of ZooKeeper node changes unexpectedly.

2017-05-18 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 593c99c3c -> 3c4f01f64 Ephemeral znode will not be removed when sesstion timeout, if the system time of ZooKeeper node changes unexpectedly. Author: Jiang Jiafu Author: JiangJiafu Reviewers: Michael Han Closes #253 from JiangJ

zookeeper git commit: ZOOKEEPER-2691: recreateSocketAddresses may recreate the unreachable …

2017-05-26 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 3a5381499 -> 159ead6f1 ZOOKEEPER-2691: recreateSocketAddresses may recreate the unreachable … …IP address Author: Jiang Jiafu Author: JiangJiafu Reviewers: Michael Han , Abraham Fine , Edward Ribeiro Closes #173 from Jian

zookeeper git commit: ZOOKEEPER-2757: Incorrect path crashes zkCli

2017-05-26 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 0a3e2d1d4 -> b0b194533 ZOOKEEPER-2757: Incorrect path crashes zkCli This issue is caused by ZooKeeper relying on `IllegalArgumentException` in `PathUtils#validatePath`. `IllegalArgumentException` is an unchecked exception and we never

zookeeper git commit: ZOOKEEPER-2757: Incorrect path crashes zkCli

2017-05-26 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 561a45a1e -> ac544de9b ZOOKEEPER-2757: Incorrect path crashes zkCli This issue is caused by ZooKeeper relying on `IllegalArgumentException` in `PathUtils#validatePath`. `IllegalArgumentException` is an unchecked exception and we n

zookeeper git commit: ZOOKEEPER-2767: Corrected keystore related messages to truststore mess…

2017-05-26 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master b0b194533 -> 5bfcc13fd ZOOKEEPER-2767: Corrected keystore related messages to truststore mess… possible fix for "https://issues.apache.org/jira/browse/ZOOKEEPER-2767"; Author: Ramu Reviewers: Michael Han Closes #263 from ramu11/Z

zookeeper git commit: ZOOKEEPER-2767: Corrected keystore related messages to truststore mess…

2017-05-26 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 ac544de9b -> d02e666e4 ZOOKEEPER-2767: Corrected keystore related messages to truststore mess… possible fix for "https://issues.apache.org/jira/browse/ZOOKEEPER-2767"; Author: Ramu Reviewers: Michael Han Closes #263 from ramu

zookeeper git commit: ZOOKEEPER-2796: Fix broken test testCreateNodeWithoutData caused by ZK-2757.

2017-05-30 Thread hanm
ing. Author: Michael Han Closes #265 from hanm/ZOOKEEPER-2796 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/ce0aa2ba Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/ce0aa2ba Diff: http://git-

zookeeper git commit: ZOOKEEPER-2796: Fix broken test testCreateNodeWithoutData caused by ZK-2757.

2017-05-30 Thread hanm
was expecting. Author: Michael Han Closes #265 from hanm/ZOOKEEPER-2796 (cherry picked from commit ce0aa2bac7faf1eff3a6317aa8fc889ba13e7130) Signed-off-by: Michael Han Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/4138c

zookeeper git commit: ZOOKEEPER-2788: remove unused MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java.

2017-05-30 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 4138cb0ff -> c6685ac73 ZOOKEEPER-2788: remove unused MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java. Author: Abraham Fine Reviewers: Michael Han Closes #266 from afine/ZOOKEEPER-2788 (cherry picked from commit e358a808d172c31

zookeeper git commit: ZOOKEEPER-2788: remove unused MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java.

2017-05-30 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master ce0aa2bac -> e358a808d ZOOKEEPER-2788: remove unused MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java. Author: Abraham Fine Reviewers: Michael Han Closes #266 from afine/ZOOKEEPER-2788 Project: http://git-wip-us.apache.org/repos/a

zookeeper git commit: ZOOKEEPER-2797: Defend against bad TTLs from misbehaving clients

2017-05-31 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master e358a808d -> 3824da0b6 ZOOKEEPER-2797: Defend against bad TTLs from misbehaving clients Validate the TTL before it makes it to the commit processor to prevent blowing up ZK Author: Patrick White Reviewers: Jordan Zimmerman , Abraham

zookeeper git commit: ZOOKEEPER-2797: Defend against bad TTLs from misbehaving clients

2017-05-31 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 c6685ac73 -> 90495d961 ZOOKEEPER-2797: Defend against bad TTLs from misbehaving clients Validate the TTL before it makes it to the commit processor to prevent blowing up ZK Author: Patrick White Reviewers: Jordan Zimmerman , Abr

zookeeper git commit: ZOOKEEPER-2788: remove unused variable MAX_CONNECTION_ATTEMPTS.

2017-05-31 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 159ead6f1 -> 3289ebbaa ZOOKEEPER-2788: remove unused variable MAX_CONNECTION_ATTEMPTS. Author: Abraham Fine Reviewers: Michael Han Closes #268 from afine/ZOOKEEPER-2788_3.4 Project: http://git-wip-us.apache.org/repos/asf/zooke

zookeeper git commit: ZOOKEEPER-2359: ZooKeeper client has unnecessary logs for watcher removal errors. An error code/exception is generated so the logs are noisy and unnecessary. If the client handle

2017-06-01 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 3824da0b6 -> 1f2eb3a04 ZOOKEEPER-2359: ZooKeeper client has unnecessary logs for watcher removal errors. An error code/exception is generated so the logs are noisy and unnecessary. If the client handles the error there's still a log me

zookeeper git commit: ZOOKEEPER-2359: ZooKeeper client has unnecessary logs for watcher removal errors. An error code/exception is generated so the logs are noisy and unnecessary. If the client handle

2017-06-01 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 90495d961 -> beed6cb02 ZOOKEEPER-2359: ZooKeeper client has unnecessary logs for watcher removal errors. An error code/exception is generated so the logs are noisy and unnecessary. If the client handles the error there's still a lo

zookeeper git commit: ZOOKEEPER-1748: Add option for tcp keepalive

2017-06-08 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 3289ebbaa -> 51cdeb407 ZOOKEEPER-1748: Add option for tcp keepalive As referenced in https://issues.apache.org/jira/browse/ZOOKEEPER-1748 and https://github.com/apache/zookeeper/pull/83, add the option to use keepalived on quorum

zookeeper git commit: ZOOKEEPER-2798: Fix flaky test: org.apache.zookeeper.test.ReadOnlyModeTest.testConnectionEvents

2017-06-08 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 beed6cb02 -> 643e551ea ZOOKEEPER-2798: Fix flaky test: org.apache.zookeeper.test.ReadOnlyModeTest.testConnectionEvents See https://github.com/apache/zookeeper/pull/270 for a description of the bug. Author: Abraham Fine Reviewers

zookeeper git commit: ZOOKEEPER-2798: Fix flaky test: org.apache.zookeeper.test.ReadOnlyModeTest.testConnectionEvents

2017-06-08 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 1f2eb3a04 -> 1038966e8 ZOOKEEPER-2798: Fix flaky test: org.apache.zookeeper.test.ReadOnlyModeTest.testConnectionEvents See https://github.com/apache/zookeeper/pull/270 for a description of the bug. Author: Abraham Fine Reviewers: Mi

zookeeper git commit: ZOOKEEPER-2798: Fix flaky test: org.apache.zookeeper.test.ReadOnlyModeTest.testConnectionEvents

2017-06-08 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 51cdeb407 -> 06889c82f ZOOKEEPER-2798: Fix flaky test: org.apache.zookeeper.test.ReadOnlyModeTest.testConnectionEvents When a client connection occurs, the `ClientCnxn`'s `state` is changed and then a watcher event is queued. This

zookeeper git commit: ZOOKEEPER-2775: ZK Client not able to connect with Xid out of order error

2017-06-08 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 1038966e8 -> fa1dc109d ZOOKEEPER-2775: ZK Client not able to connect with Xid out of order error Once client enters into Xid out of order issue, It never comes to normal state. It keeps trying to connect and fail with the same error.

zookeeper git commit: ZOOKEEPER-2775: ZK Client not able to connect with Xid out of order error

2017-06-08 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 643e551ea -> 0026e27e8 ZOOKEEPER-2775: ZK Client not able to connect with Xid out of order error Once client enters into Xid out of order issue, It never comes to normal state. It keeps trying to connect and fail with the same err

zookeeper git commit: fix documentation source for ZOOKEEPER-1748.

2017-06-09 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 06889c82f -> ca4a91dc7 fix documentation source for ZOOKEEPER-1748. As referenced in https://issues.apache.org/jira/browse/ZOOKEEPER-1748 and https://github.com/apache/zookeeper/pull/83, add the option to use keepalived on quorum

zookeeper git commit: ZOOKEEPER-1748: add tcp keepalive option for branch 3.5

2017-06-09 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 0026e27e8 -> e47e6bb87 ZOOKEEPER-1748: add tcp keepalive option for branch 3.5 Adding TCP keepalive for branch 3.5, as described in https://issues.apache.org/jira/browse/ZOOKEEPER-1748 and https://github.com/apache/zookeeper/pull/

zookeeper git commit: ZOOKEEPER-1748: add tcp keepalive option for branch 3.5

2017-06-09 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master fa1dc109d -> 451705051 ZOOKEEPER-1748: add tcp keepalive option for branch 3.5 Adding TCP keepalive for branch 3.5, as described in https://issues.apache.org/jira/browse/ZOOKEEPER-1748 and https://github.com/apache/zookeeper/pull/274

zookeeper git commit: Fix a typo in doc source in commit ca4a91dc7ef01c34e3849d99fa3764003fc89715 that breaks the build.

2017-06-09 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 ca4a91dc7 -> 411293a0b Fix a typo in doc source in commit ca4a91dc7ef01c34e3849d99fa3764003fc89715 that breaks the build. Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/as

zookeeper git commit: Fix a typo in commit e47e6bb8791b2dce9b82ebe96a1c0d8a173726e0 that breaks the build.

2017-06-09 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 e47e6bb87 -> 20dafe7be Fix a typo in commit e47e6bb8791b2dce9b82ebe96a1c0d8a173726e0 that breaks the build. Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/co

zookeeper git commit: Fix a typo in commit e47e6bb8791b2dce9b82ebe96a1c0d8a173726e0 that breaks the build.

2017-06-09 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 451705051 -> 77ceace94 Fix a typo in commit e47e6bb8791b2dce9b82ebe96a1c0d8a173726e0 that breaks the build. Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit

zookeeper git commit: ZOOKEEPER-2775: ZK Client not able to connect with Xid out of order error

2017-06-12 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 411293a0b -> ac5fa3f54 ZOOKEEPER-2775: ZK Client not able to connect with Xid out of order error Same as PR https://github.com/apache/zookeeper/pull/254 but this is for branch-3.4 Author: Mohammad Arshad Reviewers: Michael Han

zookeeper git commit: ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode

2017-06-15 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 20dafe7be -> c89784cc5 ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode On branch 3.5, testNonExistingOpCode appears to always take 30 seconds to execute (far too long): https://builds.apache

zookeeper git commit: ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode

2017-06-15 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 77ceace94 -> c38febe2d ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode On branch 3.5, testNonExistingOpCode appears to always take 30 seconds to execute (far too long): https://builds.apache.org

zookeeper git commit: ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode

2017-06-15 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 ac5fa3f54 -> 83e0ab896 ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode On branch 3.4 we attempt to check that an invalid opcode in a request causes the server to disconnect the client with:

zookeeper git commit: ZOOKEEPER-2808: fix miss-referenced ACL count issue when upgrading the ZooKeeper

2017-06-18 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 c89784cc5 -> b9ff4935b ZOOKEEPER-2808: fix miss-referenced ACL count issue when upgrading the ZooKeeper Author: Fangmin Lyu Reviewers: Michael Han Closes #284 from lvfangmin/ZOOKEEPER-2808 (cherry picked from commit 111ae5a5b67

zookeeper git commit: ZOOKEEPER-2808: fix miss-referenced ACL count issue when upgrading the ZooKeeper

2017-06-18 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master c38febe2d -> 111ae5a5b ZOOKEEPER-2808: fix miss-referenced ACL count issue when upgrading the ZooKeeper Author: Fangmin Lyu Reviewers: Michael Han Closes #284 from lvfangmin/ZOOKEEPER-2808 Project: http://git-wip-us.apache.org/rep

zookeeper git commit: ZOOKEEPER-2691: fix documentation issue. The configuration option should not have zookeeper as its prefix.

2017-06-20 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 b3e514659 -> 677b5ccb7 ZOOKEEPER-2691: fix documentation issue. The configuration option should not have zookeeper as its prefix. Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/r

zookeeper git commit: ZOOKEEPER-1782: Let a SASL super user be super

2017-06-23 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 111ae5a5b -> fb267672d ZOOKEEPER-1782: Let a SASL super user be super Author: Robert Evans Reviewers: Michael Han , Mohammad Arshad Closes #282 from revans2/ZOOKEEPER-1782 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/

zookeeper git commit: ZOOKEEPER-1782: Let a SASL super user be super

2017-06-23 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 b9ff4935b -> 822e51a01 ZOOKEEPER-1782: Let a SASL super user be super Author: Robert Evans Reviewers: Michael Han , Mohammad Arshad Closes #282 from revans2/ZOOKEEPER-1782 (cherry picked from commit fb267672d219c73c0cf2527fafeb

zookeeper git commit: ZOOKEEPER-2815: 1. Using try clause to close resource; 2. Others code refactoring for PERSISTENCE module

2017-06-25 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master fb267672d -> 8ec4c58eb ZOOKEEPER-2815: 1. Using try clause to close resource; 2. Others code refactoring for PERSISTENCE module MINOR: * Using try clause to close resource; * Others code refactoring for PERSISTENCE module. Author: asd

zookeeper git commit: ZOOKEEPER-2815: 1. Using try clause to close resource; 2. Others code refactoring for PERSISTENCE module

2017-06-25 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 822e51a01 -> ef0f453d4 ZOOKEEPER-2815: 1. Using try clause to close resource; 2. Others code refactoring for PERSISTENCE module MINOR: * Using try clause to close resource; * Others code refactoring for PERSISTENCE module. Author:

zookeeper git commit: ZOOKEEPER-2816: Code refactoring for `ZK_SERVER` module

2017-06-25 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 8ec4c58eb -> a0eba7abd ZOOKEEPER-2816: Code refactoring for `ZK_SERVER` module * Fix spell issues * Merge exceptions with `|` character * Remove unnecessary boxing * Remove unused import * Using enhanced `for` loop * Using `LinkedList`

zookeeper git commit: ZOOKEEPER-2816: Code refactoring for `ZK_SERVER` module

2017-06-25 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 ef0f453d4 -> 6e1357bb9 ZOOKEEPER-2816: Code refactoring for `ZK_SERVER` module * Fix spell issues * Merge exceptions with `|` character * Remove unnecessary boxing * Remove unused import * Using enhanced `for` loop * Using `LinkedLi

zookeeper git commit: Fix branch-3.5 build break caused by missing import of org.apache.zookeeper.server.auth.AuthenticationProvider. Commit 6e1357bb98ee9b6d0fd68169502cf46c89cbd5c2 removed import org

2017-06-25 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 6e1357bb9 -> 749b6024b Fix branch-3.5 build break caused by missing import of org.apache.zookeeper.server.auth.AuthenticationProvider. Commit 6e1357bb98ee9b6d0fd68169502cf46c89cbd5c2 removed import org.apache.zookeeper.server.auth.

zookeeper git commit: ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode

2017-06-30 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 749b6024b -> 74e45a0d6 ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode As hanm noticed and mentioned on the JIRA this flaky test can still fail. The reason is that we can reconnect bef

zookeeper git commit: ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode

2017-06-30 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master a0eba7abd -> eab6e7a13 ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode As hanm noticed and mentioned on the JIRA this flaky test can still fail. The reason is that we can reconnect bef

zookeeper git commit: ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode

2017-06-30 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 677b5ccb7 -> 4638b5585 ZOOKEEPER-2786: Flaky test: org.apache.zookeeper.test.ClientTest.testNonExistingOpCode See https://github.com/apache/zookeeper/pull/286 for description. Author: Abraham Fine Reviewers: Michael Han Closes

zookeeper git commit: ZOOKEEPER-2355: Ephemeral node is never deleted if follower fails while reading the proposal packet

2017-07-03 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master eab6e7a13 -> 697101810 ZOOKEEPER-2355: Ephemeral node is never deleted if follower fails while reading the proposal packet ZOOKEEPER-2355:Ephemeral node is never deleted if follower fails while reading the proposal packet Author: ars

zookeeper git commit: ZOOKEEPER-2355: Ephemeral node is never deleted if follower fails while reading the proposal packet

2017-07-03 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 74e45a0d6 -> ca22b3db1 ZOOKEEPER-2355: Ephemeral node is never deleted if follower fails while reading the proposal packet ZOOKEEPER-2355:Ephemeral node is never deleted if follower fails while reading the proposal packet Author:

zookeeper git commit: ZOOKEEPER-2818: Improve the ZooKeeper#setACL java doc

2017-07-03 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 697101810 -> 7db83eb9d ZOOKEEPER-2818: Improve the ZooKeeper#setACL java doc Author: b00902108 Reviewers: Michael Han Closes #291 from brahmareddybattula/ZOOKEEPER-2818 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/rep

zookeeper git commit: ZOOKEEPER-2818: Improve the ZooKeeper#setACL java doc

2017-07-03 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 ca22b3db1 -> 2d843405b ZOOKEEPER-2818: Improve the ZooKeeper#setACL java doc Author: b00902108 Reviewers: Michael Han Closes #291 from brahmareddybattula/ZOOKEEPER-2818 (cherry picked from commit 7db83eb9dcbd26b79f852e93520db82

zookeeper git commit: ZOOKEEPER-2818: Improve the ZooKeeper#setACL java doc

2017-07-03 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 4638b5585 -> 4eab48f49 ZOOKEEPER-2818: Improve the ZooKeeper#setACL java doc Author: b00902108 Reviewers: Michael Han Closes #291 from brahmareddybattula/ZOOKEEPER-2818 (cherry picked from commit 7db83eb9dcbd26b79f852e93520db82

zookeeper git commit: ZOOKEEPER-2819: Changing membership configuration via rolling restart …

2017-07-06 Thread hanm
for users to continue using the old rolling restart approach. shralex PTAL. Author: Michael Han Reviewers: Alexander Shraer , asdf2014 <1571805...@qq.com> Closes #292 from hanm/ZOOKEEPER-2819 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.

zookeeper git commit: ZOOKEEPER-2819: Changing membership configuration via rolling restart …

2017-07-06 Thread hanm
ble for users to continue using the old rolling restart approach. shralex PTAL. Author: Michael Han Reviewers: Alexander Shraer , asdf2014 <1571805...@qq.com> Closes #292 from hanm/ZOOKEEPER-2819 (cherry picked from commit ddf0364903bf7ac7cd25b2e1927f0d9d3c7203c4) Signed-off-by: Mi

zookeeper git commit: ZOOKEEPER-2811: PurgeTxnLog#validateAndGetFile: return tag has no argument.

2017-07-06 Thread hanm
rom hanm/ZOOKEEPER-2811 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/3872e49f Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/3872e49f Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/3872e

zookeeper git commit: ZOOKEEPER-2841: ZooKeeper public include files leak porting changes

2017-07-18 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master ddf036490 -> f60928787 ZOOKEEPER-2841: ZooKeeper public include files leak porting changes This patch primarily adds a cross-platform CMake build system. This is in addition to the Autotools system on Linux, until it can be deprecated,

zookeeper git commit: ZOOKEEPER-2740: close netty connection when exceptions occur during write to channel to prevent resource leak.

2017-07-20 Thread hanm
it tests. This commit is cherry picked from ZOOKEEPER-2737 / 5c356f5a47402c000b5e206a536273afc75de883. Author: Michael Han Reviewers: Brian Nixon , Abraham Fine , Rakesh Radhakrishnan , Patrick Hunt Closes #207 from hanm/ZOOKEEPER-2737 Project: http://git-wip-us.apache.org/repos/asf/zookee

[2/3] zookeeper git commit: ZOOKEEPER-2792 ZOOKEEPER-1045: Port implementation from branch-3.4 to branch-3.5.

2017-07-24 Thread hanm
http://git-wip-us.apache.org/repos/asf/zookeeper/blob/5a29daed/src/java/main/org/apache/zookeeper/server/quorum/auth/NullQuorumAuthLearner.java -- diff --git a/src/java/main/org/apache/zookeeper/server/quorum/auth/NullQuorumAuthLe

[3/3] zookeeper git commit: ZOOKEEPER-2792 ZOOKEEPER-1045: Port implementation from branch-3.4 to branch-3.5.

2017-07-24 Thread hanm
work will be covered by a separate pull request targeting ZOOKEEPER-2793 and ZOOKEEPER-2794. Author: Michael Han Reviewers: Rakesh Radhakrishnan Closes #272 from hanm/ZOOKEEPER-2792 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf

[1/3] zookeeper git commit: ZOOKEEPER-2792 ZOOKEEPER-1045: Port implementation from branch-3.4 to branch-3.5.

2017-07-24 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 6ab74115e -> 5a29daede http://git-wip-us.apache.org/repos/asf/zookeeper/blob/5a29daed/src/java/test/org/apache/zookeeper/server/quorum/auth/MiniKdc.java -- diff --gi

zookeeper git commit: ZOOKEEPER-2856: ZooKeeperSaslClient#respondToServer should log exception

2017-07-26 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master f60928787 -> 41b30a74e ZOOKEEPER-2856: ZooKeeperSaslClient#respondToServer should log exception See https://issues.apache.org/jira/browse/ZOOKEEPER-2856 for details. When upstream like HBase call ZooKeeperSaslClient with security enabl

zookeeper git commit: ZOOKEEPER-2856: ZooKeeperSaslClient#respondToServer should log exception

2017-07-26 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 5a29daede -> f671a6a08 ZOOKEEPER-2856: ZooKeeperSaslClient#respondToServer should log exception See https://issues.apache.org/jira/browse/ZOOKEEPER-2856 for details. When upstream like HBase call ZooKeeperSaslClient with security e

zookeeper git commit: ZOOKEEPER-2856: ZooKeeperSaslClient#respondToServer should log exception

2017-07-26 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 f8b5be0af -> 90652669b ZOOKEEPER-2856: ZooKeeperSaslClient#respondToServer should log exception See https://issues.apache.org/jira/browse/ZOOKEEPER-2856 for details. When upstream like HBase call ZooKeeperSaslClient with security e

zookeeper git commit: ZOOKEEPER-2577: Fix flaky testDuringLeaderSync test.

2017-07-27 Thread hanm
er Shraer Closes #315 from hanm/working Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/837b3763 Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/837b3763 Diff: http://git-wip-us.apache.org/repos/asf/

zookeeper git commit: ZOOKEEPER-2577: Fix flaky testDuringLeaderSync test.

2017-07-27 Thread hanm
er Shraer Closes #315 from hanm/working Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/32794ca5 Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/32794ca5 Diff: http://git-wip-us.apache.org/repos/asf/zookeepe

zookeeper git commit: ZOOKEEPER-2829: Interface usability / compatibility improvements through Java annotation.

2017-07-27 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 837b37636 -> 1bda92c26 ZOOKEEPER-2829: Interface usability / compatibility improvements through Java annotation. This patch uses Apache Yetus audience annotations to label our publicly available interfaces and then generate our ja

zookeeper git commit: ZOOKEEPER-2829: Interface usability / compatibility improvements through Java annotation.

2017-07-27 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 32794ca5d -> 0cb4011da ZOOKEEPER-2829: Interface usability / compatibility improvements through Java annotation. This patch uses Apache Yetus audience annotations to label our publicly available interfaces and then generate our javado

zookeeper git commit: ZOOKEEPER-2829: Interface usability / compatibility improvements through Java annotation.

2017-07-27 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 90652669b -> 76553b0ca ZOOKEEPER-2829: Interface usability / compatibility improvements through Java annotation. This patch uses Apache Yetus audience annotations to label our publicly available interfaces and then generate our ja

zookeeper git commit: ZOOKEEPER-2841: ZooKeeper public include files leak porting change

2017-07-27 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 1bda92c26 -> 2c08d794d ZOOKEEPER-2841: ZooKeeper public include files leak porting change This patch primarily adds a cross-platform CMake build system. This is in addition to the Autotools system on Linux, until it can be deprecate

zookeeper git commit: ZOOKEEPER-1643. Windows: fetch_and_add not 64bit-compatible, may not be correct (Erik Anderson via michim)

2017-08-01 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 76553b0ca -> 7956f138a ZOOKEEPER-1643. Windows: fetch_and_add not 64bit-compatible, may not be correct (Erik Anderson via michim) git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1448007 13f79535-47bb-0310-9956-ffa450e

zookeeper git commit: ZOOKEEPER-2841: ZooKeeper public include files leak porting changes

2017-08-01 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 7956f138a -> ce67fdd46 ZOOKEEPER-2841: ZooKeeper public include files leak porting changes This patch primarily adds a cross-platform CMake build system. This is in addition to the Autotools system on Linux, until it can be deprecat

zookeeper git commit: ZOOKEEPER-2614 ZOOKEEPER-1576: Port to branch 3.4

2017-08-01 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 ce67fdd46 -> be1409cc9 ZOOKEEPER-2614 ZOOKEEPER-1576: Port to branch 3.4 This is a backport of ZOOKEEPER-1576 to the 3.4-line. When running Zookeeper as an ensemble in a dynamic environment such as Kubernetes, the DNS entry of a Zo

zookeeper git commit: ZOOKEEPER-2355: Ephemeral node is never deleted if follower fails while reading the proposal packet.

2017-08-03 Thread hanm
rom hanm/ZOOKEEPER-2355 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/1789e0d6 Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/1789e0d6 Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/1789e

zookeeper git commit: ZOOKEEPER-1669: Operations to server will be timed-out while thousands of sessions expired same time

2017-08-03 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.4 1789e0d6f -> 7294f8b1b ZOOKEEPER-1669: Operations to server will be timed-out while thousands of sessions expired same time The issue is raised while tens thousands of clients try to reconnect ZooKeeper service. Actually, we came

zookeeper git commit: ZOOKEEPER-2852: Read snapshotSizeFactor from system property

2017-08-03 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 0cb4011da -> 3f7e4133f ZOOKEEPER-2852: Read snapshotSizeFactor from system property Author: Fangmin Lyu Reviewers: Michael Han Closes #321 from lvfangmin/ZOOKEEPER-2852 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/rep

zookeeper git commit: ZOOKEEPER-2852: Read snapshotSizeFactor from system property

2017-08-03 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/branch-3.5 2c08d794d -> fce828668 ZOOKEEPER-2852: Read snapshotSizeFactor from system property Author: Fangmin Lyu Reviewers: Michael Han Closes #321 from lvfangmin/ZOOKEEPER-2852 (cherry picked from commit 3f7e4133f3abc17df5eb4f0145d0833

zookeeper git commit: ZOOKEEPER-2862: Incorrect javadoc syntax for web links in StaticHostProvider.java.

2017-08-03 Thread hanm
f the classes / methods. Use normal html markup instead. This fixes warning messages generated when running "ant javadoc". Verified generated javadoc that the web link is functional. Author: Michael Han Closes #326 from hanm/ZOOKEEPER-2862 Project: http://git-wip-us.apache.org/repos/as

zookeeper git commit: ZOOKEEPER-2862: Incorrect javadoc syntax for web links in StaticHostProvider.java.

2017-08-03 Thread hanm
f the classes / methods. Use normal html markup instead. This fixes warning messages generated when running "ant javadoc". Verified generated javadoc that the web link is functional. Author: Michael Han Closes #326 from hanm/ZOOKEEPER-2862 (ch

zookeeper git commit: ZOOKEEPER-2853: Update lastZxidSeen in FileTxnLog

2017-08-03 Thread hanm
Repository: zookeeper Updated Branches: refs/heads/master 69c8cbea1 -> 5c4e44332 ZOOKEEPER-2853: Update lastZxidSeen in FileTxnLog Author: Fangmin Lyu Reviewers: Michael Han , maoling Closes #322 from lvfangmin/ZOOKEEPER-2853 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo

<    1   2   3   4   5   6   >