Re: Discover LEADER from JMX

2018-06-20 Thread Enrico Olivelli
This is my patch https://github.com/apache/zookeeper/pull/546 One question: I would like to force the cluster to change leader in HierarchicalQuorumTest, so that I can test that JMX will reflect the new status of the group. Any idea about how to bounce the leader ? Cheers Enrico Il giorno mer

[GitHub] zookeeper issue #546: ZOOKEEPER-3066 Expose on JMX of Followers the id of th...

2018-06-20 Thread eolivelli
Github user eolivelli commented on the issue: https://github.com/apache/zookeeper/pull/546 @ivankelly I have cleaned up the patch, restoring all trailing white spaces. I am trying to find the best way to force a leader election in HierarchicalQuorumTest but I am not finding

Success: ZOOKEEPER- PreCommit Build #1848

2018-06-20 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1848/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 86.51 MB...] [exec] +1

[jira] [Commented] (ZOOKEEPER-3066) Expose on JMX of Followers the id of the current leader

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

Re: ZK-3034 Unable to compile C++ test files with cppunit-1.14.0

2018-06-20 Thread Andor Molnar
What do you think @andschwa? You did some contribution on CMake recently. Andor On Wed, Jun 20, 2018 at 8:09 PM, Patrick Hunt wrote: > Hm. Not directly on point but related - should we move off auto* tools at > some point and just use cmake? (which is already in the codebase) Or some > other

Re: ZK-3034 Unable to compile C++ test files with cppunit-1.14.0

2018-06-20 Thread Patrick Hunt
Hm. Not directly on point but related - should we move off auto* tools at some point and just use cmake? (which is already in the codebase) Or some other option? Patrick On Wed, Jun 20, 2018 at 11:05 AM Andor Molnar wrote: > "When is pkg-config needed?" > > Both. You need the macro to generate

Re: ZK-3034 Unable to compile C++ test files with cppunit-1.14.0

2018-06-20 Thread Andor Molnar
"When is pkg-config needed?" Both. You need the macro to generate ./configure and you need pkg-config and cppunit.pc (part of cppunit package) to compile the tests. "Do we already do something special like generate the configure script and ship that as part of the release?" That's correct. We

Re: ZK-3034 Unable to compile C++ test files with cppunit-1.14.0

2018-06-20 Thread Patrick Hunt
When is pkg-config needed? If you want to compile from source or if you want to compile from the release artifact? Do we already do something special like generate the configure script and ship that as part of the release? Patrick On Fri, Jun 8, 2018 at 6:44 AM Andor Molnar wrote: > This PR is

[jira] [Commented] (ZOOKEEPER-3067) Optionally suppress client environment logging.

2018-06-20 Thread James Peach (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16518377#comment-16518377 ] James Peach commented on ZOOKEEPER-3067: Propose the following flag: {code} /** Disable

[jira] [Created] (ZOOKEEPER-3067) Optionally suppress client environment logging.

2018-06-20 Thread James Peach (JIRA)
James Peach created ZOOKEEPER-3067: -- Summary: Optionally suppress client environment logging. Key: ZOOKEEPER-3067 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3067 Project: ZooKeeper

[GitHub] zookeeper pull request #546: ZOOKEEPER-3066 Expose on JMX of Followers the i...

2018-06-20 Thread eolivelli
Github user eolivelli commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/546#discussion_r196841132 --- Diff: src/java/test/org/apache/zookeeper/test/HierarchicalQuorumTest.java --- @@ -227,37 +227,73 @@ void startServers(boolean withObservers) throws

[GitHub] zookeeper pull request #546: ZOOKEEPER-3066 Expose on JMX of Followers the i...

2018-06-20 Thread ivankelly
Github user ivankelly commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/546#discussion_r196821843 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/LocalPeerBean.java --- @@ -25,7 +25,7 @@ */ public class LocalPeerBean extends

[GitHub] zookeeper pull request #546: ZOOKEEPER-3066 Expose on JMX of Followers the i...

2018-06-20 Thread ivankelly
Github user ivankelly commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/546#discussion_r196823442 --- Diff: src/java/test/org/apache/zookeeper/test/HierarchicalQuorumTest.java --- @@ -227,37 +227,73 @@ void startServers(boolean withObservers) throws

ZooKeeper_branch34_jdk7 - Build # 1962 - Still Failing

2018-06-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk7/1962/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 3.20 KB...] clean: [echo] contrib: zkpython

[jira] [Commented] (ZOOKEEPER-2368) Client watches are not disconnected on close

2018-06-20 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16518198#comment-16518198 ] Hudson commented on ZOOKEEPER-2368: --- FAILURE: Integrated in Jenkins build ZooKeeper-trunk #68 (See

ZooKeeper-trunk - Build # 68 - Failure

2018-06-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/68/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 260.45 KB...] [exec] ] [exec] : elapsed 1001 : OK

[jira] [Commented] (ZOOKEEPER-2462) force authentication/authorization

2018-06-20 Thread Andor Molnar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16518168#comment-16518168 ] Andor Molnar commented on ZOOKEEPER-2462: - Hi [~botond.hejj] Would you like to carry out

[jira] [Commented] (ZOOKEEPER-3066) Expose on JMX of Followers the id of the current leader

2018-06-20 Thread Enrico Olivelli (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16518151#comment-16518151 ] Enrico Olivelli commented on ZOOKEEPER-3066: [~ikelly] we can split this new feature in

Failed: ZOOKEEPER- PreCommit Build #1847

2018-06-20 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1847/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 86.25 MB...] [exec]

[jira] [Commented] (ZOOKEEPER-3066) Expose on JMX of Followers the id of the current leader

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

ZooKeeper_branch35_jdk8 - Build # 1010 - Failure

2018-06-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/1010/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 62.06 KB...] [junit] Tests run: 1, Failures:

[GitHub] zookeeper issue #529: [ZOOKEEPER-2368] Send a watch event is when a client i...

2018-06-20 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/529 Committed to `master` and `3.5` branches. Thanks Tim! ---

[GitHub] zookeeper pull request #529: [ZOOKEEPER-2368] Send a watch event is when a c...

2018-06-20 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/zookeeper/pull/529 ---

[jira] [Updated] (ZOOKEEPER-3066) Expose on JMX of Followers the id of the current leader

2018-06-20 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated ZOOKEEPER-3066: -- Labels: pull-request-available (was: ) > Expose on JMX of Followers the id of the

[GitHub] zookeeper issue #546: ZOOKEEPER-3066 Expose on JMX of Followers the id of th...

2018-06-20 Thread eolivelli
Github user eolivelli commented on the issue: https://github.com/apache/zookeeper/pull/546 Patch contains a fix on trailing spaces for each file I have touched (I can revert this if you prefer). I would like to cherry pick to 3.5 branch ---

[GitHub] zookeeper pull request #546: ZOOKEEPER-3066 Expose on JMX of Followers the i...

2018-06-20 Thread eolivelli
GitHub user eolivelli opened a pull request: https://github.com/apache/zookeeper/pull/546 ZOOKEEPER-3066 Expose on JMX of Followers the id of the current leader Expose a new JMX attribute "isLeader" in RemotePeerBean and LocalPeerBean You can merge this pull request into a Git

ZooKeeper_branch34 - Build # 2385 - Still Failing

2018-06-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34/2385/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 28.73 KB...] [exec] Total time: 0 minutes 14

[GitHub] zookeeper issue #529: [ZOOKEEPER-2368] Send a watch event is when a client i...

2018-06-20 Thread timothyjward
Github user timothyjward commented on the issue: https://github.com/apache/zookeeper/pull/529 Retriggered. Overall +1 from Jenkins now. ---

Success: ZOOKEEPER- PreCommit Build #1846

2018-06-20 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1846/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 85.50 MB...] [exec] +1

[jira] [Commented] (ZOOKEEPER-2368) Client watches are not disconnected on close

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

ZooKeeper_branch34_jdk8 - Build # 1434 - Failure

2018-06-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/1434/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 40.85 KB...] [junit] Running

Re: Discover LEADER from JMX

2018-06-20 Thread Enrico Olivelli
This is my JIRA I am going to work on a patch https://issues.apache.org/jira/browse/ZOOKEEPER-3066 Enrico Il gio 10 mag 2018, 19:47 Andor Molnar ha scritto: > "in order to guess which is the leader I have to ask to all of the three > nodes in the cluster" > > That's correct. > > Regards, >

[jira] [Commented] (ZOOKEEPER-2368) Client watches are not disconnected on close

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

Failed: ZOOKEEPER- PreCommit Build #1845

2018-06-20 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1845/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 77.99 MB...] [exec]

[GitHub] zookeeper pull request #529: [ZOOKEEPER-2368] Send a watch event is when a c...

2018-06-20 Thread timothyjward
Github user timothyjward commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/529#discussion_r196731884 --- Diff: src/java/test/org/apache/zookeeper/test/WatcherTest.java --- @@ -140,6 +142,55 @@ public void processResult(int rc, String path, Object

[GitHub] zookeeper pull request #529: [ZOOKEEPER-2368] Send a watch event is when a c...

2018-06-20 Thread anmolnar
Github user anmolnar commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/529#discussion_r196712402 --- Diff: src/java/test/org/apache/zookeeper/test/WatcherTest.java --- @@ -140,6 +142,55 @@ public void processResult(int rc, String path, Object ctx) {