[jira] Issue Comment Edited: (ZOOKEEPER-57) Connection times out when idle

2009-01-16 Thread Flavio Paiva Junqueira (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12664414#action_12664414
 ] 

fpj edited comment on ZOOKEEPER-57 at 1/16/09 12:44 AM:
---

It seems that what was causing this problem to one of our users was some 
networking issue, and we couldn't point out to any problem with ZooKeeper, so 
I'm closing it for now.

  was (Author: fpj):
It seems that cause of this problem to one of our users was some networking 
issue, and we couldn't point out to any problem with ZooKeeper, so I'm closing 
it for now.
  
 Connection times out when idle
 --

 Key: ZOOKEEPER-57
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-57
 Project: Zookeeper
  Issue Type: Bug
  Components: java client
Reporter: Flavio Paiva Junqueira
Assignee: Flavio Paiva Junqueira

 I have observed several connection timeouts with one single client, during 
 periods of inactivity. From reports of other users, it seems that others are 
 observing a similar issue. 
 In my case, tickTime is 2000, and the client sets session timeout to be 
 1. Client and servers are on different sites. I suspect there is 
 something wrong with the mechanism that issues ping messages.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Build failed in Hudson: ZooKeeper-trunk #197

2009-01-16 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/197/changes

Changes:

[breed] ZOOKEEPER-259. cleanup the logging levels used (use the correct level)
and messages generated. (phunt via breed)

[phunt] ZOOKEEPER-234. Eliminate using statics to initialize the sever. Should 
allow server to be more embeddable in OSGi enviorments.

--
[...truncated 133042 lines...]
[junit] 2009-01-16 10:51:20,837 - INFO  
[SyncThread:0:syncrequestproces...@117] - SyncRequestProcessor exited!
[junit] 2009-01-16 10:51:20,837 - INFO  
[ProcessThread:0:preprequestproces...@104] - PrepRequestProcessor exited loop!
[junit] 2009-01-16 10:51:20,837 - INFO  [main:finalrequestproces...@265] - 
shutdown of request processor complete
[junit] 2009-01-16 10:51:20,838 - ERROR [main:mbeanregis...@92] - Failed to 
unregister MBean InMemoryDataTree
[junit] javax.management.InstanceNotFoundException: 
org.apache.ZooKeeperService:name0=StandaloneServer_port0,name1=InMemoryDataTree
[junit] at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
[junit] at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:354)
[junit] at 
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:527)
[junit] at 
org.apache.zookeeper.jmx.MBeanRegistry.unregister(MBeanRegistry.java:90)
[junit] at 
org.apache.zookeeper.jmx.MBeanRegistry.unregister(MBeanRegistry.java:106)
[junit] at 
org.apache.zookeeper.server.ZooKeeperServer.unregisterJMX(ZooKeeperServer.java:399)
[junit] at 
org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:392)
[junit] at 
org.apache.zookeeper.server.NIOServerCnxn$Factory.shutdown(NIOServerCnxn.java:209)
[junit] at 
org.apache.zookeeper.test.ClientBase.shutdownServerInstance(ClientBase.java:265)
[junit] at 
org.apache.zookeeper.test.ClientBase.stopServer(ClientBase.java:301)
[junit] at 
org.apache.zookeeper.test.WatcherTest.testWatcherAutoReset(WatcherTest.java:318)
[junit] at 
org.apache.zookeeper.test.WatcherTest.testWatcherAutoResetWithLocal(WatcherTest.java:195)
[junit] at 
org.apache.zookeeper.test.WatcherTest.testWatcherAutoResetDisabledWithLocal(WatcherTest.java:208)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:585)
[junit] at junit.framework.TestCase.runTest(TestCase.java:168)
[junit] at junit.framework.TestCase.runBare(TestCase.java:134)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
[junit] at junit.framework.TestResult.run(TestResult.java:113)
[junit] at junit.framework.TestCase.run(TestCase.java:124)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:232)
[junit] at junit.framework.TestSuite.run(TestSuite.java:227)
[junit] at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
[junit] at 
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:36)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
[junit] 2009-01-16 10:51:20,839 - ERROR [main:mbeanregis...@92] - Failed to 
unregister MBean StandaloneServer_port0
[junit] javax.management.InstanceNotFoundException: 
org.apache.ZooKeeperService:name0=StandaloneServer_port0
[junit] at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
[junit] at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:354)
[junit] at 
com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:527)
[junit] at 
org.apache.zookeeper.jmx.MBeanRegistry.unregister(MBeanRegistry.java:90)
[junit] at 
org.apache.zookeeper.jmx.MBeanRegistry.unregister(MBeanRegistry.java:106)
[junit] at 
org.apache.zookeeper.server.ZooKeeperServer.unregisterJMX(ZooKeeperServer.java:402)
[junit] at 
org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:392)
[junit] at 
org.apache.zookeeper.server.NIOServerCnxn$Factory.shutdown(NIOServerCnxn.java:209)
[junit] at 

[jira] Commented: (ZOOKEEPER-234) Eliminate using statics to initialize the sever. Should allow server to be more embeddable in OSGi enviorments.

2009-01-16 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12664596#action_12664596
 ] 

Hudson commented on ZOOKEEPER-234:
--

Integrated in ZooKeeper-trunk #198 (See 
[http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/198/])


 Eliminate using statics to initialize the sever.  Should allow server to be 
 more embeddable in OSGi enviorments.
 

 Key: ZOOKEEPER-234
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-234
 Project: Zookeeper
  Issue Type: Improvement
  Components: server
Reporter: Hiram Chirino
Assignee: Patrick Hunt
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-234_step1.patch, ZOOKEEPER-234_step3.patch


 Patrick request I open up this in issue in this [email 
 thread|http://n2.nabble.com/ActiveMQ-is-now-using-ZooKeeper-td1573272.html]
 The main culprit I've noticed is:
 {code}
 ServerStats.registerAsConcrete();
 {code}
 But there may be others.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Delaying 3.1 release by 2 to 3 weeks?

2009-01-16 Thread Mahadev Konar
 we should delay. it would be good to try out quotas for a bit before we do the
 release. quotas are also a key part of the release. 3 weeks seem a little long
 though.
3 weeks is just a worst case estimate... We should probably be done in 2
weeks. 

mahadev
 
 ben
 
 From: Mahadev Konar [maha...@yahoo-inc.com]
 Sent: Thursday, January 15, 2009 4:32 PM
 To: zookeeper-dev@hadoop.apache.org
 Cc: zookeeper-u...@hadoop.apache.org
 Subject: Re: Delaying 3.1 release by 2 to 3 weeks?
 
 That was release 3.1 and not 3.2 :)
 
 mahadev
 
 
 On 1/15/09 4:26 PM, Mahadev Konar maha...@yahoo-inc.com wrote:
 
 Hi all,
   I needed to get quotas in zookeeper 3.2.0 and wanted to see if delaying
 the release by 2-3 weeks is ok with everyone?
 Here is the jira for it -
 
 http://issues.apache.org/jira/browse/ZOOKEEPER-231
 
 Please respond if you have any issues with the delay.
 
 thanks
 mahadev
 
 
 



[jira] Commented: (ZOOKEEPER-80) Document process for client recipe contributions

2009-01-16 Thread Benjamin Reed (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12664645#action_12664645
 ] 

Benjamin Reed commented on ZOOKEEPER-80:


My perspective on the issue of the directory layout is that different language 
bindings for a given recipe should interoperate. to that end it seems best to 
have a directory representing a recipe, have the recipe specification in that 
directory and have the different language bindings as subdirectories of that 
directory. that way if the recipe needs to change, because of a bug for 
example, it is clear exactly what implementations need to be updated.

 Document process for client recipe contributions
 

 Key: ZOOKEEPER-80
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-80
 Project: Zookeeper
  Issue Type: Task
  Components: documentation
Reporter: Patrick Hunt
Assignee: Patrick Hunt

 Per Doug's suggestion I'll use a link instead of copy/paste:
 http://mail-archives.apache.org/mod_mbox/hadoop-zookeeper-dev/200807.mbox/%3c487f8262.9020...@yahoo-inc.com%3e

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Delaying 3.1 release by 2 to 3 weeks?

2009-01-16 Thread Patrick Hunt
Mahadev, can you complete quotas in 2 weeks? This includes completing 
the code itself, documentation, tests, and incorporating review feedback?


Parick

Benjamin Reed wrote:

we should delay. it would be good to try out quotas for a bit before
we do the release. quotas are also a key part of the release. 3 weeks
seem a little long though.

ben  From: Mahadev Konar
[maha...@yahoo-inc.com] Sent: Thursday, January 15, 2009 4:32 PM To:
zookeeper-dev@hadoop.apache.org Cc: zookeeper-u...@hadoop.apache.org 
Subject: Re: Delaying 3.1 release by 2 to 3 weeks?


That was release 3.1 and not 3.2 :)

mahadev


On 1/15/09 4:26 PM, Mahadev Konar maha...@yahoo-inc.com wrote:


Hi all, I needed to get quotas in zookeeper 3.2.0 and wanted to see
if delaying the release by 2-3 weeks is ok with everyone? Here is
the jira for it -

http://issues.apache.org/jira/browse/ZOOKEEPER-231

Please respond if you have any issues with the delay.

thanks mahadev






[jira] Updated: (ZOOKEEPER-231) Quotas in zookeeper

2009-01-16 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-231:


Attachment: ZOOKEEPER-231.patch

updated patch ... shaked out some bugs... still needs tests and 
documentation... please review the code ill be making some changes  but 
not drastic ones... the one thing to keep in mind is htat the current code 
forbids setting of quota if a path does not already exist (just an easier 
implementation choice) ... I will be changing that to setting of quota only if 
a path exists.

 Quotas in zookeeper
 ---

 Key: ZOOKEEPER-231
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-231
 Project: Zookeeper
  Issue Type: New Feature
Affects Versions: 3.0.0
Reporter: Mahadev konar
Assignee: Mahadev konar
 Fix For: 3.1.0

 Attachments: ZOOKEEPER-231.patch, ZOOKEEPER-231.patch, 
 ZOOKEEPER-231.patch


 creating quota's in zookeeper so that a runaway application does not bring 
 down the zookeeper cluster.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Delaying 3.1 release by 2 to 3 weeks?

2009-01-16 Thread Mahadev Konar
I think it should be done in 2 weeks..

mahadev


On 1/16/09 2:34 PM, Patrick Hunt ph...@apache.org wrote:

 Mahadev, can you complete quotas in 2 weeks? This includes completing
 the code itself, documentation, tests, and incorporating review feedback?
 
 Parick
 
 Benjamin Reed wrote:
 we should delay. it would be good to try out quotas for a bit before
 we do the release. quotas are also a key part of the release. 3 weeks
 seem a little long though.
 
 ben  From: Mahadev Konar
 [maha...@yahoo-inc.com] Sent: Thursday, January 15, 2009 4:32 PM To:
 zookeeper-dev@hadoop.apache.org Cc: zookeeper-u...@hadoop.apache.org
 Subject: Re: Delaying 3.1 release by 2 to 3 weeks?
 
 That was release 3.1 and not 3.2 :)
 
 mahadev
 
 
 On 1/15/09 4:26 PM, Mahadev Konar maha...@yahoo-inc.com wrote:
 
 Hi all, I needed to get quotas in zookeeper 3.2.0 and wanted to see
 if delaying the release by 2-3 weeks is ok with everyone? Here is
 the jira for it -
 
 http://issues.apache.org/jira/browse/ZOOKEEPER-231
 
 Please respond if you have any issues with the delay.
 
 thanks mahadev
 
 
 



Build failed in Hudson: ZooKeeper-trunk #199

2009-01-16 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/199/changes

--
[...truncated 309 lines...]
AUsrc/c/src/zookeeper.c
AUsrc/c/src/zk_hashtable.h
AUsrc/c/src/zk_log.c
AUsrc/c/src/recordio.c
AUsrc/c/src/cli.c
AUsrc/c/src/load_gen.c
A src/c/src/hashtable
AUsrc/c/src/hashtable/hashtable_itr.h
AUsrc/c/src/hashtable/LICENSE.txt
AUsrc/c/src/hashtable/hashtable.h
AUsrc/c/src/hashtable/hashtable_itr.c
AUsrc/c/src/hashtable/hashtable_private.h
AUsrc/c/src/hashtable/hashtable.c
AUsrc/c/src/mt_adaptor.c
AUsrc/c/src/zk_log.h
AUsrc/c/Makefile.am
AUsrc/c/README
AUsrc/c/aminclude.am
A src/lastRevision.bat
A src/docs
AUsrc/docs/forrest.properties
AUsrc/docs/status.xml
A src/docs/src
A src/docs/src/documentation
AUsrc/docs/src/documentation/TODO.txt
AUsrc/docs/src/documentation/skinconf.xml
A src/docs/src/documentation/content
A src/docs/src/documentation/content/xdocs
AUsrc/docs/src/documentation/content/xdocs/zookeeperOtherInfo.xml
AUsrc/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml
AUsrc/docs/src/documentation/content/xdocs/zookeeperInternals.xml
AUsrc/docs/src/documentation/content/xdocs/site.xml
AUsrc/docs/src/documentation/content/xdocs/index.xml
AUsrc/docs/src/documentation/content/xdocs/zookeeperTutorial.xml
AUsrc/docs/src/documentation/content/xdocs/releasenotes.xml
AUsrc/docs/src/documentation/content/xdocs/tabs.xml
AUsrc/docs/src/documentation/content/xdocs/recipes.xml
AUsrc/docs/src/documentation/content/xdocs/zookeeperStarted.xml
AUsrc/docs/src/documentation/content/xdocs/zookeeperAdmin.xml
AUsrc/docs/src/documentation/content/xdocs/javaExample.xml
AUsrc/docs/src/documentation/content/xdocs/zookeeperOver.xml
A src/docs/src/documentation/resources
A src/docs/src/documentation/resources/images
AUsrc/docs/src/documentation/resources/images/zookeeper_small.gif
AUsrc/docs/src/documentation/resources/images/zknamespace.jpg
AUsrc/docs/src/documentation/resources/images/zkarch.jpg
AUsrc/docs/src/documentation/resources/images/zkservice.jpg
AUsrc/docs/src/documentation/resources/images/2pc.png
AUsrc/docs/src/documentation/resources/images/hadoop-logo.jpg
AUsrc/docs/src/documentation/resources/images/zkcomponents.jpg
AUsrc/docs/src/documentation/resources/images/zkperfRW.jpg
AUsrc/docs/src/documentation/resources/images/zkperfreliability.jpg
AUsrc/docs/src/documentation/resources/images/favicon.ico
AUsrc/docs/src/documentation/README.txt
A src/docs/src/documentation/classes
AUsrc/docs/src/documentation/classes/CatalogManager.properties
AUsrc/zookeeper.jute
AUsrc/lastRevision.sh
A bin
AUbin/zkServer.sh
AUbin/zkCleanup.sh
AUbin/zkCli.sh
AUbin/zkEnv.sh
A docs
AUdocs/index.pdf
AUdocs/zookeeperAdmin.html
AUdocs/zookeeperOtherInfo.html
AUdocs/zookeeperAdmin.pdf
AUdocs/zookeeperProgrammers.html
AUdocs/zookeeperInternals.html
AUdocs/zookeeperOtherInfo.pdf
AUdocs/zookeeperTutorial.html
AUdocs/zookeeperProgrammers.pdf
AUdocs/zookeeperInternals.pdf
AUdocs/releasenotes.html
AUdocs/zookeeperStarted.html
AUdocs/broken-links.xml
AUdocs/recipes.html
AUdocs/linkmap.html
AUdocs/zookeeperTutorial.pdf
AUdocs/javaExample.html
AUdocs/releasenotes.pdf
AUdocs/recipes.pdf
AUdocs/zookeeperOver.html
AUdocs/zookeeperStarted.pdf
AUdocs/linkmap.pdf
A docs/skin
AUdocs/skin/getMenu.js
AUdocs/skin/menu.js
AUdocs/skin/prototype.js
A docs/skin/translations
AUdocs/skin/note.txt
AUdocs/skin/print.css
A docs/skin/scripts
AUdocs/skin/CommonMessages_de.xml
AUdocs/skin/profile.css
A docs/skin/css
AUdocs/skin/getBlank.js
AUdocs/skin/breadcrumbs.js
A docs/skin/images
AUdocs/skin/images/page.gif
AUdocs/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png
AUdocs/skin/images/label.gif
AUdocs/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png
AUdocs/skin/images/warning.png
AUdocs/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png
AUdocs/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png
AUdocs/skin/images/chapter.gif
AUdocs/skin/images/poddoc.png
AUdocs/skin/images/success.png
AUdocs/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png
AU