[jira] [Updated] (ZOOKEEPER-1985) Memory leak in C client

2014-07-22 Thread desmondhe (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] desmondhe updated ZOOKEEPER-1985: - Description: in the file zookeeper.c, most function call of "close_buffer_oarchive(&oa, 0)"

[jira] [Updated] (ZOOKEEPER-1985) Memory leak in C client

2014-07-22 Thread desmondhe (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] desmondhe updated ZOOKEEPER-1985: - Description: in the file zookeeper.c, most function call of "close_buffer_oarchive(&oa, 0)"

[jira] [Created] (ZOOKEEPER-1985) Memory leak in C client

2014-07-22 Thread desmondhe (JIRA)
desmondhe created ZOOKEEPER-1985: Summary: Memory leak in C client Key: ZOOKEEPER-1985 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1985 Project: ZooKeeper Issue Type: Bug C

Failed: ZOOKEEPER-1984 PreCommit Build #2216

2014-07-22 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1984 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2216/ ### ## LAST 60 LINES OF THE CONSOLE ### [

[jira] [Commented] (ZOOKEEPER-1984) testLeaderTimesoutOnNewQuorum is a flakey test

2014-07-22 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071057#comment-14071057 ] Hadoop QA commented on ZOOKEEPER-1984: -- -1 overall. Here are the results of test

Failed: ZOOKEEPER-1982 PreCommit Build #2215

2014-07-22 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1982 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2215/ ### ## LAST 60 LINES OF THE CONSOLE ### [

[jira] [Commented] (ZOOKEEPER-1982) Refactor (touch|add)Session in SessionTrackerImpl.java

2014-07-22 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071005#comment-14071005 ] Hadoop QA commented on ZOOKEEPER-1982: -- -1 overall. Here are the results of test

[jira] [Updated] (ZOOKEEPER-1984) testLeaderTimesoutOnNewQuorum is a flakey test

2014-07-22 Thread Alexander Shraer (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Shraer updated ZOOKEEPER-1984: Attachment: small_fix.patch removing the part of the test that fails since its

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Patrick Hunt
Thanks Alex. I've created a jira for this: https://issues.apache.org/jira/browse/ZOOKEEPER-1984 Let's discuss further there. I will try the patch on my jenkins box later today. Thanks! Patrick On Tue, Jul 22, 2014 at 2:07 PM, Alexander Shraer wrote: > Actually if servers 1 and 3 are talking an

[jira] [Commented] (ZOOKEEPER-1984) testLeaderTimesoutOnNewQuorum is a flakey test

2014-07-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070951#comment-14070951 ] Patrick Hunt commented on ZOOKEEPER-1984: - bq. Is it possible that writing the

[jira] [Assigned] (ZOOKEEPER-1984) testLeaderTimesoutOnNewQuorum is a flakey test

2014-07-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt reassigned ZOOKEEPER-1984: --- Assignee: Alexander Shraer Alex would you mind attaching your proposed patch here

[jira] [Commented] (ZOOKEEPER-1984) testLeaderTimesoutOnNewQuorum is a flakey test

2014-07-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070949#comment-14070949 ] Patrick Hunt commented on ZOOKEEPER-1984: - Alex mentioned: yep, I think what

[jira] [Created] (ZOOKEEPER-1984) testLeaderTimesoutOnNewQuorum is a flakey test

2014-07-22 Thread Patrick Hunt (JIRA)
Patrick Hunt created ZOOKEEPER-1984: --- Summary: testLeaderTimesoutOnNewQuorum is a flakey test Key: ZOOKEEPER-1984 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1984 Project: ZooKeeper

Re: ulimit changed with Apache Jenkins upgrade?

2014-07-22 Thread Patrick Hunt
Thanks Giri! Unfortunately though it seems to not have taken effect, I just kicked off a precommit build and I see core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending sig

[jira] [Updated] (ZOOKEEPER-1983) Append to zookeeper.out (not overwrite) to support logrotation

2014-07-22 Thread Shyamal Prasad (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shyamal Prasad updated ZOOKEEPER-1983: -- Attachment: ZK1983.patch Simple patch (to trunk) demonstrating a fix that works at

[jira] [Updated] (ZOOKEEPER-1983) Append to zookeeper.out (not overwrite) to support logrotation

2014-07-22 Thread Shyamal Prasad (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shyamal Prasad updated ZOOKEEPER-1983: -- Description: Currently zkServer.sh will redirect output to zookeeper.out using a si

[jira] [Created] (ZOOKEEPER-1983) Append to zookeeper.out (not overwrite) to support logrotation

2014-07-22 Thread Shyamal Prasad (JIRA)
Shyamal Prasad created ZOOKEEPER-1983: - Summary: Append to zookeeper.out (not overwrite) to support logrotation Key: ZOOKEEPER-1983 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1983 Projec

[jira] [Commented] (ZOOKEEPER-1982) Refactor (touch|add)Session in SessionTrackerImpl.java

2014-07-22 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070876#comment-14070876 ] Hadoop QA commented on ZOOKEEPER-1982: -- -1 overall. Here are the results of test

Failed: ZOOKEEPER-1982 PreCommit Build #2214

2014-07-22 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1982 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2214/ ### ## LAST 60 LINES OF THE CONSOLE ### [

Re: ulimit changed with Apache Jenkins upgrade?

2014-07-22 Thread Giridharan Kesavan
jenkins@asf901:~$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 386178 max locked memory (kbytes, -l) 64 max memory size

[jira] [Updated] (ZOOKEEPER-1982) Refactor (touch|add)Session in SessionTrackerImpl.java

2014-07-22 Thread Hongchao Deng (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hongchao Deng updated ZOOKEEPER-1982: - Attachment: ZOOKEEPER-1982.patch > Refactor (touch|add)Session in SessionTrackerImpl.

[jira] [Created] (ZOOKEEPER-1982) Refactor (touch|add)Session in SessionTrackerImpl.java

2014-07-22 Thread Hongchao Deng (JIRA)
Hongchao Deng created ZOOKEEPER-1982: Summary: Refactor (touch|add)Session in SessionTrackerImpl.java Key: ZOOKEEPER-1982 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1982 Project: ZooKeepe

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Alexander Shraer
yep, I think what happens is that server 3 is becoming leader and not server 1, so its not completing the reconfig. Let me think about how to solve this... On Tue, Jul 22, 2014 at 12:21 PM, Patrick Hunt wrote: > Also if you want to submit a patch that provides more insight (logs) > for that ope

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Patrick Hunt
Also if you want to submit a patch that provides more insight (logs) for that operation/test lmk and I'll be happy to review/commit it. Should help with debugging the issue and debugging in the field. Thanks! Patrick On Tue, Jul 22, 2014 at 12:17 PM, Patrick Hunt wrote: > Here's the logs (attac

[jira] [Commented] (ZOOKEEPER-1978) Fix Multithreaded correctness Warnings

2014-07-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070738#comment-14070738 ] Patrick Hunt commented on ZOOKEEPER-1978: - Sounds reasonable. Can we update th

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Alexander Shraer
Unfortunately doesn't look like we have enough logging going on there. For example would be nice to know what's the committed config and last seen config of the leader when it comes up (leader.lead()). and what configuration is sent in the NEWLEADER message sent out in LeaderHandler:

Re: ulimit changed with Apache Jenkins upgrade?

2014-07-22 Thread Patrick Hunt
Giri any chance can you take a look at the ulimit issue on the H# machines? All the ZK precommit builds are failing as a result. I updated the precommit build last night to output "ulimit -a" and it says the current limit is 4096, can we bump that up or set the default to unlimited? Thanks! Patr

[jira] [Commented] (ZOOKEEPER-1978) Fix Multithreaded correctness Warnings

2014-07-22 Thread Hongchao Deng (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070692#comment-14070692 ] Hongchao Deng commented on ZOOKEEPER-1978: -- [~rakeshr][~phunt] Here is my con

Re: Apache Jenkins jobs unable to find "ant" (new issue)

2014-07-22 Thread Giridharan Kesavan
Let me know if you see issues with ant -giri On Mon, Jul 21, 2014 at 3:44 PM, Andrew Bayer wrote: > I think that was a transient thing - I think Giri fixed the tools > paths, but I could be wrong. > > A. > > On Fri, Jul 18, 2014 at 1:32 PM, Patrick Hunt wrote: > > Ok, that's good to know. > >

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Patrick Hunt
On Tue, Jul 22, 2014 at 11:29 AM, Alexander Shraer wrote: > Hmm. It doesn't really make sense to me - the reconfig should be completed > before > the servers come up and process new ops. We submitted the reconfig to > server 1, it timed out > on new quorum, but when 1 becomes leader again after 2

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Alexander Shraer
Hmm. It doesn't really make sense to me - the reconfig should be completed before the servers come up and process new ops. We submitted the reconfig to server 1, it timed out on new quorum, but when 1 becomes leader again after 2 restarts 1 should complete the reconfig. is 1 becoming leader after 2

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Patrick Hunt
Hm. I'm a bit concerned by something related to reconfig. I see that "getConfig" and "reconfig" APIs were added to the ZooKeeper client object. It seems that these should not be exposed to regular users, rather just to administrators. What security controls have we put in place around these apis?

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Patrick Hunt
Looks like 3 hasn't been removed (unfortunately the assertion doesn't include any msg detail, but that's the way it looks to me like the test is setup): if (leavingServers != null) { for (String leaving : leavingServers) Assert.assertFalse(configStr.contains("server.".concat(l

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Patrick Hunt
Looks like 3 hasn't been removed (unfortunately the assertion doesn't include any msg detail, but that's the way it looks to me like the test is setup): if (leavingServers != null) { for (String leaving : leavingServers) Assert.assertFalse(configStr.contains("server.".concat(l

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Alexander Shraer
Hi Patrick, I'm not sure why you're seeing this - it consistently passes on my machine. In case you'd like to take a look, the test has tons of comments explaining the scenario. Let me know how I can help. On Tue, Jul 22, 2014 at 9:53 AM, Patrick Hunt wrote: > Hi Alex, I've also seen the test "

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Patrick Hunt
Hi Alex, I've also seen the test "testLeaderTimesoutOnNewQuorum" fail multiple times (not every time, but ~50%, so flakey) in the last few days. It's failing both on jdk6 and jdk7. (this is my personal jenkins, I haven't see any other failures than this during the past few days). junit.framework.A

[jira] [Commented] (ZOOKEEPER-1978) Fix Multithreaded correctness Warnings

2014-07-22 Thread Patrick Hunt (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070479#comment-14070479 ] Patrick Hunt commented on ZOOKEEPER-1978: - Hi [~rakeshr], yes, your idea makes

Re: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Alexander Shraer
Hi Rakesh, Thanks for looking at this. In general even if we find the bug since we should test it before committing a fix, it seems better to remove the test for now and debug this on a build machine. I'm trying to get access to it. Looking at this log: https://builds.apache.org/view/S-Z/view/Zoo

[jira] [Commented] (ZOOKEEPER-1907) Improve Thread handling

2014-07-22 Thread Hongchao Deng (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070381#comment-14070381 ] Hongchao Deng commented on ZOOKEEPER-1907: -- SessionTrackerImpl.java still con

[jira] [Commented] (ZOOKEEPER-1907) Improve Thread handling

2014-07-22 Thread Hongchao Deng (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070328#comment-14070328 ] Hongchao Deng commented on ZOOKEEPER-1907: -- [~rakeshr] My jenkins job reporte

[jira] [Commented] (ZOOKEEPER-1981) Fix Dodgy Code Warnings identified by findbugs 2.0.3

2014-07-22 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070143#comment-14070143 ] Hudson commented on ZOOKEEPER-1981: --- FAILURE: Integrated in ZooKeeper-trunk #2382 (S

[jira] [Commented] (ZOOKEEPER-1979) Fix Performance Warnings found by Findbugs 2.0.3

2014-07-22 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070142#comment-14070142 ] Hudson commented on ZOOKEEPER-1979: --- FAILURE: Integrated in ZooKeeper-trunk #2382 (S

ZooKeeper-trunk - Build # 2382 - Still Failing

2014-07-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/2382/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 316691 lines...] [junit] 2014-07-22 11:31:25,140 [myid:

ZooKeeper-trunk-jdk8 - Build # 85 - Still Failing

2014-07-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/85/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 325565 lines...] [junit] 2014-07-22 11:07:01,056 [my

RE: ZooKeeper 3.5.0-alpha planning

2014-07-22 Thread Rakesh R
Hi Alex, Yeah it is consistently passing in my machine also. I have quickly gone through the testCurrentObserverIsParticipantInNewConfig failure logs in PreCommit-ZOOKEEPER-Build. It looks like 2 (n.config version) has not taken and still leader election is seeing 1 (n.config

ZooKeeper-trunk-WinVS2008_java - Build # 782 - Still Failing

2014-07-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008_java/782/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 300286 lines...] [junit] 2014-07-22 11:28

ZooKeeper-trunk-jdk7 - Build # 922 - Failure

2014-07-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk7/922/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 326757 lines...] [junit] 2014-07-22 10:27:42,615 [m

ZooKeeper_branch33 - Build # 1359 - Failure

2014-07-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch33/1359/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 104605 lines...] [junit] 2014-07-22 10:04:36,386 - I

ZooKeeper-trunk-WinVS2008 - Build # 1449 - Still Failing

2014-07-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/1449/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 170 lines...] .\src\zookeeper.c(2505): warning C4

ZooKeeper-3.4-WinVS2008_java - Build # 537 - Still Failing

2014-07-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-3.4-WinVS2008_java/537/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 173424 lines...] [junit] 2014-07-22 10:11:3

ZooKeeper_branch34 - Build # 1025 - Failure

2014-07-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34/1025/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 211405 lines...] [junit] 2014-07-22 08:55:11,854 [my

[jira] [Commented] (ZOOKEEPER-1907) Improve Thread handling

2014-07-22 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069914#comment-14069914 ] Hadoop QA commented on ZOOKEEPER-1907: -- -1 overall. Here are the results of test

Failed: ZOOKEEPER-1907 PreCommit Build #2213

2014-07-22 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1907 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2213/ ### ## LAST 60 LINES OF THE CONSOLE ### [