[jira] [Commented] (ZOOKEEPER-3106) Zookeeper client supports IPv6 address and document the "IPV6 feature"

2018-09-05 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16605227#comment-16605227 ] Hadoop QA commented on ZOOKEEPER-3106: -- -1 overall. GitHub Pull Request Build +1

[jira] [Commented] (ZOOKEEPER-3090) change continue to break

2018-09-05 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16605072#comment-16605072 ] Hudson commented on ZOOKEEPER-3090: --- SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #178 (See

[GitHub] zookeeper issue #580: ZOOKEEPER-3098: Add additional server metrics

2018-09-05 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/580 And yes like others commented, please rebase and resolve conflicts, and reply to previous unattended comments. My previous comments need address are: * Existing unit test failures and one

[GitHub] zookeeper issue #580: ZOOKEEPER-3098: Add additional server metrics

2018-09-05 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/580 One question about gathering metrics using this system: let's say I have a use case where I want to gather the number of requests processed by FinalRequestProcessor for each request type (e.g. Ping,

[GitHub] zookeeper issue #580: ZOOKEEPER-3098: Add additional server metrics

2018-09-05 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/580 We at Twitter manage large ZK clusters and we also have our own internal metrics system (you can't really operate things like ZK without metrics at large scale.). Our design is similar like this in

[GitHub] zookeeper issue #612: [ZOOKEEPER-3131] Remove watcher when session closed in...

2018-09-05 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/612 Close and reopen the pull request could also trigger a build, which might be more convenient than amending the commit. For committers or those who have admin access to apache JIRA, just find

[GitHub] zookeeper pull request #573: ZOOKEEPER-3090 continue can be replaced with br...

2018-09-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/zookeeper/pull/573 ---

[GitHub] zookeeper issue #615: ZOOKEEPER-3137: add a utility to truncate logs to a zx...

2018-09-05 Thread enixon
Github user enixon commented on the issue: https://github.com/apache/zookeeper/pull/615 @anmolnar , you can find a trial integration of the chop function with TxnLogToolkit at https://github.com/enixon/zookeeper/commit/b71ce04f70873f590c6cf5c24a691a1f1af82f48 . It's not the cleanest

[GitHub] zookeeper issue #573: ZOOKEEPER-3090 continue can be replaced with break

2018-09-05 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/573 I manually triggered a build and it's green now https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/2122/ Github integration still broken for this PR for some reasons. This

[GitHub] zookeeper issue #615: ZOOKEEPER-3137: add a utility to truncate logs to a zx...

2018-09-05 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/615 Integrate into TxnLogToolkit is a good idea. I did not mention it as I thought that might require a separate JIRA, because LogFormatter can also be integrated (it's the least powerful tool of the

[jira] [Commented] (ZOOKEEPER-3137) add a utility to truncate logs to a zxid

2018-09-05 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16605042#comment-16605042 ] Hadoop QA commented on ZOOKEEPER-3137: -- -1 overall. GitHub Pull Request Build +1

[GitHub] zookeeper issue #615: ZOOKEEPER-3137: add a utility to truncate logs to a zx...

2018-09-05 Thread enixon
Github user enixon commented on the issue: https://github.com/apache/zookeeper/pull/615 @hanm, I've made your recommended changes with the exception noted in my comment. @anmolnar , looking at TxnLogToolkit now - I think this should be easy to integrate :) ---

[GitHub] zookeeper pull request #615: ZOOKEEPER-3137: add a utility to truncate logs ...

2018-09-05 Thread enixon
Github user enixon commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/615#discussion_r215446231 --- Diff: src/java/main/org/apache/zookeeper/server/util/LogChopper.java --- @@ -0,0 +1,152 @@ +/** + * Licensed to the Apache Software Foundation

[jira] [Commented] (ZOOKEEPER-3127) Fixing potential data inconsistency due to update last processed zxid with partial multi-op txn

2018-09-05 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16605011#comment-16605011 ] Hudson commented on ZOOKEEPER-3127: --- SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #177 (See

[jira] [Commented] (ZOOKEEPER-3129) Improve ZK Client resiliency by throwing a jute.maxbuffer size exception before sending a request to server

2018-09-05 Thread Karan Mehta (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16605005#comment-16605005 ] Karan Mehta commented on ZOOKEEPER-3129: Thoughts anyone? > Improve ZK Client resiliency by

[GitHub] zookeeper issue #612: [ZOOKEEPER-3131] Remove watcher when session closed in...

2018-09-05 Thread lvfangmin
Github user lvfangmin commented on the issue: https://github.com/apache/zookeeper/pull/612 Is there any easy way to trigger the build? It's a bit painful to doing trigger this by adding empty commit. ---

[jira] [Resolved] (ZOOKEEPER-3111) Add socket buffer size option to tune the TCP throughput between leader and learner

2018-09-05 Thread Fangmin Lv (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fangmin Lv resolved ZOOKEEPER-3111. --- Resolution: Not A Problem > Add socket buffer size option to tune the TCP throughput

[jira] [Commented] (ZOOKEEPER-3111) Add socket buffer size option to tune the TCP throughput between leader and learner

2018-09-05 Thread Fangmin Lv (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16604962#comment-16604962 ] Fangmin Lv commented on ZOOKEEPER-3111: --- Commented in the PR, also mention it here for easier

[GitHub] zookeeper pull request #593: [ZOOKEEPER-3111] Add socket buffer size option ...

2018-09-05 Thread lvfangmin
Github user lvfangmin closed the pull request at: https://github.com/apache/zookeeper/pull/593 ---

[GitHub] zookeeper issue #606: [ZOOKEEPER-3127] Fixing potential data inconsistency d...

2018-09-05 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/606 committed to master @lvfangmin @breed ---

[jira] [Resolved] (ZOOKEEPER-3127) Fixing potential data inconsistency due to update last processed zxid with partial multi-op txn

2018-09-05 Thread Michael Han (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Han resolved ZOOKEEPER-3127. Resolution: Fixed Fix Version/s: (was: 3.4.14) (was:

[GitHub] zookeeper pull request #606: [ZOOKEEPER-3127] Fixing potential data inconsis...

2018-09-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/zookeeper/pull/606 ---

[GitHub] zookeeper issue #590: [ZOOKEEPER-1177] Add the memory optimized watch manage...

2018-09-05 Thread lvfangmin
Github user lvfangmin commented on the issue: https://github.com/apache/zookeeper/pull/590 Thanks @nkalmar for the suggestion of bench project position, I was following the same directory as the src/java/systest for now, do you think we can move them together later? I'm not against

[GitHub] zookeeper issue #593: [ZOOKEEPER-3111] Add socket buffer size option to tune...

2018-09-05 Thread lvfangmin
Github user lvfangmin commented on the issue: https://github.com/apache/zookeeper/pull/593 @maoling, sorry for the lately reply, I forgot to reply this PR. We've done some benchmark when we added this code a year ago, I was trying to find some benchmark data at that point,

[jira] [Commented] (ZOOKEEPER-2913) testEphemeralNodeDeletion is flaky

2018-09-05 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16604742#comment-16604742 ] Hudson commented on ZOOKEEPER-2913: --- SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #176 (See

[jira] [Updated] (ZOOKEEPER-3138) Potential race condition with Quorum Peer mutual authentication via SASL

2018-09-05 Thread Grzegorz Grzybek (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Grzybek updated ZOOKEEPER-3138: Description: I'm in the process of reconfiguring the ensemble to use mutual

[jira] [Updated] (ZOOKEEPER-3138) Potential race condition with Quorum Peer mutual authentication via SASL

2018-09-05 Thread Grzegorz Grzybek (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Grzybek updated ZOOKEEPER-3138: Description: I'm in the process of reconfiguring the ensemble to use mutual

[jira] [Updated] (ZOOKEEPER-3138) Potential race condition with Quorum Peer mutual authentication via SASL

2018-09-05 Thread Grzegorz Grzybek (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Grzybek updated ZOOKEEPER-3138: Description: I'm in the process of reconfiguring the ensemble to use mutual

[jira] [Created] (ZOOKEEPER-3138) Potential race condition with Quorum Peer mutual authentication via SASL

2018-09-05 Thread Grzegorz Grzybek (JIRA)
Grzegorz Grzybek created ZOOKEEPER-3138: --- Summary: Potential race condition with Quorum Peer mutual authentication via SASL Key: ZOOKEEPER-3138 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3138

[GitHub] zookeeper issue #587: ZOOKEEPER-3106: Zookeeper client supports IPv6 address...

2018-09-05 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/587 @maoling please rebase the patch ---

[GitHub] zookeeper issue #573: ZOOKEEPER-3090 continue can be replaced with break

2018-09-05 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/573 @a470577391 Mr Jenkins has come back.could you plz close and reopen this PR to kick off he? ping @anmolnar ---

[GitHub] zookeeper issue #608: ZOOKEEPER-2913:testEphemeralNodeDeletion is flaky

2018-09-05 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/608 > Do you mind opening a PR to fix the other test? @anmolnar other same tests should analyse on the specific circumstances.I will follow up and hope others' work about this issue.

[jira] [Commented] (ZOOKEEPER-1011) fix Java Barrier Documentation example's race condition issue and polish up the Barrier Documentation

2018-09-05 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16604492#comment-16604492 ] Hadoop QA commented on ZOOKEEPER-1011: -- -1 overall. GitHub Pull Request Build +1

[GitHub] zookeeper issue #593: [ZOOKEEPER-3111] Add socket buffer size option to tune...

2018-09-05 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/593 @lvfangmin it will be a very useful option for tunning the network perfermance between leader and follower. but you should give us some test evidence(smirk). can we get the inclusion:

[GitHub] zookeeper issue #593: [ZOOKEEPER-3111] Add socket buffer size option to tune...

2018-09-05 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/593 > What do you mean by 'do regression' exactly? @anmolnar like this(grin): `int index = 0; while (true) { try {

[GitHub] zookeeper issue #608: ZOOKEEPER-2913:testEphemeralNodeDeletion is flaky

2018-09-05 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/608 Committed. 3.5 and master branches. Thanks @maoling . Do you mind opening a PR to fix the other test? ---

[jira] [Resolved] (ZOOKEEPER-2913) testEphemeralNodeDeletion is flaky

2018-09-05 Thread Andor Molnar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andor Molnar resolved ZOOKEEPER-2913. - Resolution: Fixed Fix Version/s: 3.5.5 3.6.0 Issue

[GitHub] zookeeper pull request #608: ZOOKEEPER-2913:testEphemeralNodeDeletion is fla...

2018-09-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/zookeeper/pull/608 ---

[jira] [Updated] (ZOOKEEPER-1011) fix Java Barrier Documentation example's race condition issue and polish up the Barrier Documentation

2018-09-05 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated ZOOKEEPER-1011: -- Labels: pull-request-available (was: ) > fix Java Barrier Documentation example's

[GitHub] zookeeper issue #608: ZOOKEEPER-2913:testEphemeralNodeDeletion is flaky

2018-09-05 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/608 @anmolnar Take it easy(grin). > Do you think other flaky test could be impacted by the same issue? I dig into another issue[

[GitHub] zookeeper issue #611: ZOOKEEPER-3131

2018-09-05 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/611 @enixon I think it leaks the map anyway, because when the new Watcher is added, new Watcher instance gets created which will be added to Map anyway and the empty one remains forever.

[GitHub] zookeeper issue #593: [ZOOKEEPER-3111] Add socket buffer size option to tune...

2018-09-05 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/593 @maoling I've run the test a few times on Mac and CentOs, but it doesn't seem to be flaky for me. What do you mean by 'do regression' exactly? ---

[GitHub] zookeeper issue #608: ZOOKEEPER-2913:testEphemeralNodeDeletion is flaky

2018-09-05 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/608 @maoling +1 for the solution anyway. I tend to commit this anyway. Do you think other flaky test could be impacted by the same issue? ---

[GitHub] zookeeper issue #608: ZOOKEEPER-2913:testEphemeralNodeDeletion is flaky

2018-09-05 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/608 @anmolnar This flaky test had happend many times found by ZOOKEEPER-2913 and ZOOKEEPER-3040 reported by Patrick Hunt The build failed report url about it is

[GitHub] zookeeper issue #608: ZOOKEEPER-2913:testEphemeralNodeDeletion is flaky

2018-09-05 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/608 Good job @maoling . However I can't see this test in the latest flaky test report: https://builds.apache.org/job/ZooKeeper-Find-Flaky-Tests/lastSuccessfulBuild/artifact/report.html Is

[GitHub] zookeeper issue #607: WIP - ZOOKEEPER-2990: Implement probabilistic tracing

2018-09-05 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/607 Basically my biggest concern is that this patch shouldn't go into 3.4, because it's not critical. 3.5 is just around the corner and improvements like this will encourage people to upgrade

[GitHub] zookeeper issue #607: WIP - ZOOKEEPER-2990: Implement probabilistic tracing

2018-09-05 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/607 Thanks for the contribution @lavacat . Please take a look at my comments in the Jira. ---

[jira] [Commented] (ZOOKEEPER-2990) Implement probabilistic tracing

2018-09-05 Thread Andor Molnar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16604232#comment-16604232 ] Andor Molnar commented on ZOOKEEPER-2990: - [~bkanivets] What are the target versions of this

[GitHub] zookeeper issue #590: [ZOOKEEPER-1177] Add the memory optimized watch manage...

2018-09-05 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/590 @lvfangmin Docs for the new caching parameter `zookeeper.bitHashCacheSize`? ---

[GitHub] zookeeper pull request #590: [ZOOKEEPER-1177] Add the memory optimized watch...

2018-09-05 Thread anmolnar
Github user anmolnar commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/590#discussion_r215183702 --- Diff: src/java/main/org/apache/zookeeper/server/watch/WatchManagerOptimized.java --- @@ -0,0 +1,355 @@ +/** + * Licensed to the Apache

[GitHub] zookeeper pull request #590: [ZOOKEEPER-1177] Add the memory optimized watch...

2018-09-05 Thread anmolnar
Github user anmolnar commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/590#discussion_r215180602 --- Diff: src/java/main/org/apache/zookeeper/server/watch/WatchManager.java --- @@ -46,15 +48,26 @@ private final Map> watch2Paths =

[GitHub] zookeeper issue #615: ZOOKEEPER-3137: add a utility to truncate logs to a zx...

2018-09-05 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/615 @enixon Your patch looks good, this is going to be a useful tool for ZooKeeper. Have you considered adding this functionality to `TxnLogToolkit` (a tool developed by me :), instead of