[jira] Updated: (ZOOKEEPER-534) The test target in contib/bookkeeper does not depend on jar target.

2009-12-02 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-534:
---

Attachment: ZOOKEEPER-534.patch

updated bk and rest contribs to get common (ie log4j and junit) jars using ivy

fixed bk init to depend on checkmain, now always checks for zk being compiled 
first and gives sane warning

 The test target in contib/bookkeeper does not depend on jar target.
 ---

 Key: ZOOKEEPER-534
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-534
 Project: Zookeeper
  Issue Type: Bug
  Components: contrib-bookkeeper
Affects Versions: 3.2.0, 3.2.1
Reporter: Mahadev konar
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-534.patch


 The test target in contib/bookkeeper does not depend on jar target. So the 
 ant test target gives compilation errors if the main is not compiled which 
 can be prevented if it depends on jar. It can then check if main has been 
 compiled or not and throw out a reasonable error.

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



[jira] Updated: (ZOOKEEPER-534) The test target in contib/bookkeeper does not depend on jar target.

2009-12-02 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-534:
---

Status: Patch Available  (was: Open)

 The test target in contib/bookkeeper does not depend on jar target.
 ---

 Key: ZOOKEEPER-534
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-534
 Project: Zookeeper
  Issue Type: Bug
  Components: contrib-bookkeeper
Affects Versions: 3.2.1, 3.2.0
Reporter: Mahadev konar
Assignee: Patrick Hunt
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-534.patch


 The test target in contib/bookkeeper does not depend on jar target. So the 
 ant test target gives compilation errors if the main is not compiled which 
 can be prevented if it depends on jar. It can then check if main has been 
 compiled or not and throw out a reasonable error.

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



[jira] Assigned: (ZOOKEEPER-486) Improve bookie performance for large number of ledgers

2009-12-02 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira reassigned ZOOKEEPER-486:


Assignee: Benjamin Reed

 Improve bookie performance for large number of ledgers
 --

 Key: ZOOKEEPER-486
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-486
 Project: Zookeeper
  Issue Type: Improvement
  Components: contrib-bookkeeper
Reporter: Flavio Paiva Junqueira
Assignee: Benjamin Reed

 If we write simultaneously to a large number of ledgers on a bookie, then 
 performance drops significantly due to more seeks on the ledger device. In 
 such cases, we should be clustering ledgers into files to reduce the number 
 of seeks, and performing sequential writes on each file. Clustering ledgers 
 will impact read performance, so we would to have a knob to control such a 
 feature.

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



[jira] Updated: (ZOOKEEPER-486) Improve bookie performance for large number of ledgers

2009-12-02 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira updated ZOOKEEPER-486:
-

Attachment: ZOOKEEPER-486.patch

Separated the bookie part of patch ZOOKEEPER-507. There is one test failing 
because a bookie is apparently failing to handle a missing ledger.

 Improve bookie performance for large number of ledgers
 --

 Key: ZOOKEEPER-486
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-486
 Project: Zookeeper
  Issue Type: Improvement
  Components: contrib-bookkeeper
Reporter: Flavio Paiva Junqueira
Assignee: Benjamin Reed
 Attachments: ZOOKEEPER-486.patch


 If we write simultaneously to a large number of ledgers on a bookie, then 
 performance drops significantly due to more seeks on the ledger device. In 
 such cases, we should be clustering ledgers into files to reduce the number 
 of seeks, and performing sequential writes on each file. Clustering ledgers 
 will impact read performance, so we would to have a knob to control such a 
 feature.

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



[jira] Commented: (ZOOKEEPER-486) Improve bookie performance for large number of ledgers

2009-12-02 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira commented on ZOOKEEPER-486:
--

Here is the log output for the failing test:

{noformat}
2009-12-02 09:46:22,952 - INFO  - [main:bookieclientt...@198] - Starting no 
ledger test
2009-12-02 09:46:22,956 - INFO  - [Thread-4:bookieclienttes...@75] - Capacity 
16, 0
2009-12-02 09:46:22,957 - INFO  - [Thread-4:bookieclienttes...@83] - Received 0
2009-12-02 09:46:23,001 - ERROR - [SyncThread:bookie$lastlogm...@295] - 
Problems writing to 
/var/folders/iq/iqmyL+XiGjqE2AjRkKTe-E+++TI/-Tmp-/bookie2550661167481866393test/lastMark
java.io.FileNotFoundException: 
/var/folders/iq/iqmyL+XiGjqE2AjRkKTe-E+++TI/-Tmp-/bookie2550661167481866393test/lastMark
 (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:179)
at java.io.FileOutputStream.init(FileOutputStream.java:131)
at 
org.apache.bookkeeper.bookie.Bookie$LastLogMark.rollLog(Bookie.java:290)
at org.apache.bookkeeper.bookie.Bookie$SyncThread.run(Bookie.java:116)
2009-12-02 09:46:23,002 - FATAL - [Thread-3:boo...@375] - Bookie thread exiting
java.lang.InterruptedException
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1899)
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1934)
at 
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
at org.apache.bookkeeper.bookie.Bookie.run(Bookie.java:341)
{noformat}

and the assert statement that fails:

{noformat}
Testcase: testNoLedger took 0.132 sec
FAILED
expected:1 but was:2
junit.framework.AssertionFailedError: expected:1 but was:2
at 
org.apache.bookkeeper.test.BookieClientTest.testNoLedger(BookieClientTest.java:204)
{noformat}

It seems to me that the problem is that the bookie is not processing the 
FileNotFoundException properly. It should send a ENOLEDGER value back. 

 Improve bookie performance for large number of ledgers
 --

 Key: ZOOKEEPER-486
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-486
 Project: Zookeeper
  Issue Type: Improvement
  Components: contrib-bookkeeper
Reporter: Flavio Paiva Junqueira
Assignee: Benjamin Reed
 Attachments: ZOOKEEPER-486.patch


 If we write simultaneously to a large number of ledgers on a bookie, then 
 performance drops significantly due to more seeks on the ledger device. In 
 such cases, we should be clustering ledgers into files to reduce the number 
 of seeks, and performing sequential writes on each file. Clustering ledgers 
 will impact read performance, so we would to have a knob to control such a 
 feature.

-- 
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 #560

2009-12-02 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/560/

--
[...truncated 117604 lines...]
[junit] 2009-12-02 11:32:14,138 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:34703
[junit] 2009-12-02 11:32:14,139 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@688] - Client attempting to renew 
session 0x1254f29643f at /127.0.0.1:34703
[junit] 2009-12-02 11:32:14,139 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@1131] - Established session 
0x1254f29643f for client /127.0.0.1:34703
[junit] 2009-12-02 11:32:14,139 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@640] - Session 
establishment complete, sessionid = 0x1254f29643f
[junit] 2009-12-02 11:32:14,148 - INFO  [main:clientb...@385] - STOPPING 
server
[junit] 2009-12-02 11:32:14,149 - INFO  [main:nioserverc...@974] - Closed 
socket connection for client /127.0.0.1:34703 which had sessionid 
0x1254f29643f
[junit] 2009-12-02 11:32:14,149 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@1047] - Unable to read 
additional data from server sessionid 0x1254f29643f, likely server has 
closed socket, closing socket connection and attempting reconnect
[junit] 2009-12-02 11:32:14,149 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@241] - NIOServerCnxn factory 
exited run method
[junit] 2009-12-02 11:32:14,150 - INFO  [main:finalrequestproces...@365] - 
shutdown of request processor complete
[junit] 2009-12-02 11:32:14,150 - INFO  
[SyncThread:0:syncrequestproces...@151] - SyncRequestProcessor exited!
[junit] 2009-12-02 11:32:14,150 - INFO  
[ProcessThread:-1:preprequestproces...@119] - PrepRequestProcessor exited loop!
[junit] ensureOnly:[]
[junit] 2009-12-02 11:32:14,249 - INFO  [main:clientb...@378] - STARTING 
server
[junit] 2009-12-02 11:32:14,250 - INFO  [main:zookeeperser...@160] - 
Created server
[junit] 2009-12-02 11:32:14,250 - INFO  [main:nioservercnxn$fact...@123] - 
binding to port 11225
[junit] 2009-12-02 11:32:14,252 - INFO  [main:files...@81] - Reading 
snapshot 
http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/test/tmp/test8415224342189327333.junit.dir/version-2/snapshot.5
[junit] 2009-12-02 11:32:14,254 - INFO  [main:filetxnsnap...@208] - 
Snapshotting: 6
[junit] 2009-12-02 11:32:14,256 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:34705
[junit] 2009-12-02 11:32:14,256 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@782] - Processing stat command from 
/127.0.0.1:34705
[junit] 2009-12-02 11:32:14,257 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@974] - Closed socket connection for 
client /127.0.0.1:34705 (no session established for client)
[junit] ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] expect:InMemoryDataTree
[junit] found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] expect:StandaloneServer_port
[junit] found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2009-12-02 11:32:15,000 - INFO  
[SessionTracker:sessiontrackeri...@145] - SessionTrackerImpl exited loop!
[junit] 2009-12-02 11:32:15,000 - INFO  
[SessionTracker:sessiontrackeri...@145] - SessionTrackerImpl exited loop!
[junit] 2009-12-02 11:32:15,275 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@929] - Opening socket 
connection to server localhost/127.0.0.1:11225
[junit] 2009-12-02 11:32:15,276 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@837] - Socket 
connection established to localhost/127.0.0.1:11225, initiating session
[junit] 2009-12-02 11:32:15,276 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:34706
[junit] 2009-12-02 11:32:15,276 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@688] - Client attempting to renew 
session 0x1254f29643f at /127.0.0.1:34706
[junit] 2009-12-02 11:32:15,277 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@1131] - Established session 
0x1254f29643f for client /127.0.0.1:34706
[junit] 2009-12-02 11:32:15,277 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@640] - Session 
establishment complete, sessionid = 0x1254f29643f
[junit] 2009-12-02 11:32:16,286 - INFO  
[ProcessThread:-1:preprequestproces...@385] - Processed session termination for 
sessionid: 0x1254f29643f
[junit] 2009-12-02 11:32:16,287 - INFO  [main:zookee...@524] - Session: 
0x1254f29643f closed
[junit] 2009-12-02 11:32:16,287 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@974] - Closed socket connection for 
client /127.0.0.1:34706 which had sessionid 0x1254f29643f
[junit] 2009-12-02 11:32:16,287 - INFO  

[jira] Updated: (ZOOKEEPER-597) ASyncHammerTest is failing intermittently on hudson trunk

2009-12-02 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-597:


Status: Open  (was: Patch Available)

 ASyncHammerTest is failing intermittently on hudson trunk
 -

 Key: ZOOKEEPER-597
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-597
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Reporter: Patrick Hunt
Assignee: Patrick Hunt
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-597.patch, ZOOKEEPER-597.patch


 ASyncHammerTest is failing intermittently on hudson trunk. There is no clear 
 reason why this is happening, but
 it seems from the logs that a session connection to a follower is failing 
 during session establishment - the
 failure seems to be a problem either on the follower or leader. The server 
 gets the session create request, but
 it stalls in the request processor pipeline. (we see it go in, but we do not 
 see it com eout)
 unfortunately all efforts to reproduce this on non-hudson trunk have failed. 
 Even trying to reproduce by
 running on hudson host itself (manually) has failed.
 We need to instrument the client session creation code in the test to dump 
 the thread stack if the
 session creation fails.

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



[jira] Updated: (ZOOKEEPER-597) ASyncHammerTest is failing intermittently on hudson trunk

2009-12-02 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-597:


Status: Patch Available  (was: Open)

 ASyncHammerTest is failing intermittently on hudson trunk
 -

 Key: ZOOKEEPER-597
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-597
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Reporter: Patrick Hunt
Assignee: Patrick Hunt
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-597.patch, ZOOKEEPER-597.patch


 ASyncHammerTest is failing intermittently on hudson trunk. There is no clear 
 reason why this is happening, but
 it seems from the logs that a session connection to a follower is failing 
 during session establishment - the
 failure seems to be a problem either on the follower or leader. The server 
 gets the session create request, but
 it stalls in the request processor pipeline. (we see it go in, but we do not 
 see it com eout)
 unfortunately all efforts to reproduce this on non-hudson trunk have failed. 
 Even trying to reproduce by
 running on hudson host itself (manually) has failed.
 We need to instrument the client session creation code in the test to dump 
 the thread stack if the
 session creation fails.

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



[jira] Created: (ZOOKEEPER-607) improve bookkeeper overview

2009-12-02 Thread Benjamin Reed (JIRA)
improve bookkeeper overview
---

 Key: ZOOKEEPER-607
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-607
 Project: Zookeeper
  Issue Type: Improvement
  Components: contrib-bookkeeper
Reporter: Benjamin Reed


fix the overview section in the bookkeeper documentation to introduce the 
programmer/admin to bookkeeper before giving the details.

-- 
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 #561

2009-12-02 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/561/

--
[...truncated 57522 lines...]
[junit] 2009-12-02 16:55:12,921 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@929] - Opening socket 
connection to server localhost/127.0.0.1:11225
[junit] 2009-12-02 16:55:12,921 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@837] - Socket 
connection established to localhost/127.0.0.1:11225, initiating session
[junit] 2009-12-02 16:55:12,921 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:50105
[junit] 2009-12-02 16:55:12,922 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@688] - Client attempting to renew 
session 0x125505118d4 at /127.0.0.1:50105
[junit] 2009-12-02 16:55:12,922 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@1131] - Established session 
0x125505118d4 for client /127.0.0.1:50105
[junit] 2009-12-02 16:55:12,922 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@640] - Session 
establishment complete, sessionid = 0x125505118d4
[junit] 2009-12-02 16:55:12,931 - INFO  [main:clientb...@385] - STOPPING 
server
[junit] 2009-12-02 16:55:12,932 - INFO  [main:nioserverc...@974] - Closed 
socket connection for client /127.0.0.1:50105 which had sessionid 
0x125505118d4
[junit] 2009-12-02 16:55:12,932 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@1047] - Unable to read 
additional data from server sessionid 0x125505118d4, likely server has 
closed socket, closing socket connection and attempting reconnect
[junit] 2009-12-02 16:55:12,932 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@241] - NIOServerCnxn factory 
exited run method
[junit] 2009-12-02 16:55:12,933 - INFO  [main:finalrequestproces...@365] - 
shutdown of request processor complete
[junit] 2009-12-02 16:55:12,933 - INFO  
[SyncThread:0:syncrequestproces...@151] - SyncRequestProcessor exited!
[junit] 2009-12-02 16:55:12,933 - INFO  
[ProcessThread:-1:preprequestproces...@119] - PrepRequestProcessor exited loop!
[junit] ensureOnly:[]
[junit] 2009-12-02 16:55:13,032 - INFO  [main:clientb...@378] - STARTING 
server
[junit] 2009-12-02 16:55:13,033 - INFO  [main:zookeeperser...@160] - 
Created server
[junit] 2009-12-02 16:55:13,033 - INFO  [main:nioservercnxn$fact...@123] - 
binding to port 11225
[junit] 2009-12-02 16:55:13,041 - INFO  [main:files...@81] - Reading 
snapshot 
http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/test/tmp/test5866307379883881403.junit.dir/version-2/snapshot.5
[junit] 2009-12-02 16:55:13,043 - INFO  [main:filetxnsnap...@208] - 
Snapshotting: 6
[junit] 2009-12-02 16:55:13,046 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:50107
[junit] 2009-12-02 16:55:13,047 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@782] - Processing stat command from 
/127.0.0.1:50107
[junit] 2009-12-02 16:55:13,047 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@974] - Closed socket connection for 
client /127.0.0.1:50107 (no session established for client)
[junit] ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] expect:InMemoryDataTree
[junit] found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] expect:StandaloneServer_port
[junit] found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2009-12-02 16:55:14,462 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@929] - Opening socket 
connection to server localhost/127.0.0.1:11225
[junit] 2009-12-02 16:55:14,463 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@837] - Socket 
connection established to localhost/127.0.0.1:11225, initiating session
[junit] 2009-12-02 16:55:14,463 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:50108
[junit] 2009-12-02 16:55:14,463 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@688] - Client attempting to renew 
session 0x125505118d4 at /127.0.0.1:50108
[junit] 2009-12-02 16:55:14,465 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@1131] - Established session 
0x125505118d4 for client /127.0.0.1:50108
[junit] 2009-12-02 16:55:14,465 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@640] - Session 
establishment complete, sessionid = 0x125505118d4
[junit] 2009-12-02 16:55:15,000 - INFO  
[SessionTracker:sessiontrackeri...@145] - SessionTrackerImpl exited loop!
[junit] 2009-12-02 16:55:15,473 - INFO  
[ProcessThread:-1:preprequestproces...@385] - Processed session termination for 
sessionid: 0x125505118d4
[junit] 2009-12-02 16:55:15,474 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@974] - 

[jira] Commented: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api

2009-12-02 Thread Alex Newman (JIRA)

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

Alex Newman commented on ZOOKEEPER-604:
---

Looks like I can't get it scheduled, can someone else write a patch?

On Dec 2, 2009 9:50am, Alex Newman (JIRA) j...@apache.org wrote:


























































































































 zk needs to prevent export of any symbol not listed in their api
 

 Key: ZOOKEEPER-604
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-604
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 
 3.3.0, 4.0.0
 Environment: All
Reporter: Alex Newman
Priority: Critical
 Fix For: 3.3.0


 Currently the zookeeper seems to be exporting symbols not in the api. An 
 example of this seems to be the symbol hash, which interferes with me using 
 memcached and zookeeper in the same program.

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



[jira] Commented: (ZOOKEEPER-604) zk needs to prevent export of any symbol not listed in their api

2009-12-02 Thread Patrick Hunt (JIRA)

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

Patrick Hunt commented on ZOOKEEPER-604:


No worries, we just don't want to dup the work. thanks!

 zk needs to prevent export of any symbol not listed in their api
 

 Key: ZOOKEEPER-604
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-604
 Project: Zookeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 
 3.3.0, 4.0.0
 Environment: All
Reporter: Alex Newman
Priority: Critical
 Fix For: 3.3.0


 Currently the zookeeper seems to be exporting symbols not in the api. An 
 example of this seems to be the symbol hash, which interferes with me using 
 memcached and zookeeper in the same program.

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



[jira] Commented: (ZOOKEEPER-597) ASyncHammerTest is failing intermittently on hudson trunk

2009-12-02 Thread Mahadev konar (JIRA)

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

Mahadev konar commented on ZOOKEEPER-597:
-

+1 ... one minor nit .. can you change Throwable to Exception?

 ASyncHammerTest is failing intermittently on hudson trunk
 -

 Key: ZOOKEEPER-597
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-597
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Reporter: Patrick Hunt
Assignee: Patrick Hunt
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-597.patch, ZOOKEEPER-597.patch, 
 ZOOKEEPER-597.patch


 ASyncHammerTest is failing intermittently on hudson trunk. There is no clear 
 reason why this is happening, but
 it seems from the logs that a session connection to a follower is failing 
 during session establishment - the
 failure seems to be a problem either on the follower or leader. The server 
 gets the session create request, but
 it stalls in the request processor pipeline. (we see it go in, but we do not 
 see it com eout)
 unfortunately all efforts to reproduce this on non-hudson trunk have failed. 
 Even trying to reproduce by
 running on hudson host itself (manually) has failed.
 We need to instrument the client session creation code in the test to dump 
 the thread stack if the
 session creation fails.

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



[jira] Updated: (ZOOKEEPER-597) ASyncHammerTest is failing intermittently on hudson trunk

2009-12-02 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-597:


Attachment: ZOOKEEPER-597.patch

changes to cache Exception not Throwable.

 ASyncHammerTest is failing intermittently on hudson trunk
 -

 Key: ZOOKEEPER-597
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-597
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Reporter: Patrick Hunt
Assignee: Patrick Hunt
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-597.patch, ZOOKEEPER-597.patch, 
 ZOOKEEPER-597.patch


 ASyncHammerTest is failing intermittently on hudson trunk. There is no clear 
 reason why this is happening, but
 it seems from the logs that a session connection to a follower is failing 
 during session establishment - the
 failure seems to be a problem either on the follower or leader. The server 
 gets the session create request, but
 it stalls in the request processor pipeline. (we see it go in, but we do not 
 see it com eout)
 unfortunately all efforts to reproduce this on non-hudson trunk have failed. 
 Even trying to reproduce by
 running on hudson host itself (manually) has failed.
 We need to instrument the client session creation code in the test to dump 
 the thread stack if the
 session creation fails.

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



[jira] Updated: (ZOOKEEPER-597) ASyncHammerTest is failing intermittently on hudson trunk

2009-12-02 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-597:


Assignee: Benjamin Reed  (was: Patrick Hunt)
  Status: Patch Available  (was: Open)

 ASyncHammerTest is failing intermittently on hudson trunk
 -

 Key: ZOOKEEPER-597
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-597
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Reporter: Patrick Hunt
Assignee: Benjamin Reed
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-597.patch, ZOOKEEPER-597.patch, 
 ZOOKEEPER-597.patch


 ASyncHammerTest is failing intermittently on hudson trunk. There is no clear 
 reason why this is happening, but
 it seems from the logs that a session connection to a follower is failing 
 during session establishment - the
 failure seems to be a problem either on the follower or leader. The server 
 gets the session create request, but
 it stalls in the request processor pipeline. (we see it go in, but we do not 
 see it com eout)
 unfortunately all efforts to reproduce this on non-hudson trunk have failed. 
 Even trying to reproduce by
 running on hudson host itself (manually) has failed.
 We need to instrument the client session creation code in the test to dump 
 the thread stack if the
 session creation fails.

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



[jira] Commented: (ZOOKEEPER-597) ASyncHammerTest is failing intermittently on hudson trunk

2009-12-02 Thread Benjamin Reed (JIRA)

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

Benjamin Reed commented on ZOOKEEPER-597:
-

Committed revision 886241.
(waiting for a couple of successful runs before i close)

 ASyncHammerTest is failing intermittently on hudson trunk
 -

 Key: ZOOKEEPER-597
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-597
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Reporter: Patrick Hunt
Assignee: Benjamin Reed
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-597.patch, ZOOKEEPER-597.patch, 
 ZOOKEEPER-597.patch


 ASyncHammerTest is failing intermittently on hudson trunk. There is no clear 
 reason why this is happening, but
 it seems from the logs that a session connection to a follower is failing 
 during session establishment - the
 failure seems to be a problem either on the follower or leader. The server 
 gets the session create request, but
 it stalls in the request processor pipeline. (we see it go in, but we do not 
 see it com eout)
 unfortunately all efforts to reproduce this on non-hudson trunk have failed. 
 Even trying to reproduce by
 running on hudson host itself (manually) has failed.
 We need to instrument the client session creation code in the test to dump 
 the thread stack if the
 session creation fails.

-- 
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 #564

2009-12-02 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/564/

--
[...truncated 119908 lines...]
[junit] 2009-12-02 18:39:31,749 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@929] - Opening socket 
connection to server localhost/127.0.0.1:11225
[junit] 2009-12-02 18:39:31,750 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:34710
[junit] 2009-12-02 18:39:31,750 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@837] - Socket 
connection established to localhost/127.0.0.1:11225, initiating session
[junit] 2009-12-02 18:39:31,750 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@688] - Client attempting to renew 
session 0x12550b09770 at /127.0.0.1:34710
[junit] 2009-12-02 18:39:31,751 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@1131] - Established session 
0x12550b09770 for client /127.0.0.1:34710
[junit] 2009-12-02 18:39:31,751 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@640] - Session 
establishment complete, sessionid = 0x12550b09770
[junit] 2009-12-02 18:39:31,759 - INFO  [main:clientb...@385] - STOPPING 
server
[junit] 2009-12-02 18:39:31,760 - INFO  [main:nioserverc...@974] - Closed 
socket connection for client /127.0.0.1:34710 which had sessionid 
0x12550b09770
[junit] 2009-12-02 18:39:31,760 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@1047] - Unable to read 
additional data from server sessionid 0x12550b09770, likely server has 
closed socket, closing socket connection and attempting reconnect
[junit] 2009-12-02 18:39:31,761 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@241] - NIOServerCnxn factory 
exited run method
[junit] 2009-12-02 18:39:31,761 - INFO  [main:finalrequestproces...@365] - 
shutdown of request processor complete
[junit] 2009-12-02 18:39:31,761 - INFO  
[ProcessThread:-1:preprequestproces...@119] - PrepRequestProcessor exited loop!
[junit] 2009-12-02 18:39:31,761 - INFO  
[SyncThread:0:syncrequestproces...@151] - SyncRequestProcessor exited!
[junit] ensureOnly:[]
[junit] 2009-12-02 18:39:31,861 - INFO  [main:clientb...@378] - STARTING 
server
[junit] 2009-12-02 18:39:31,861 - INFO  [main:zookeeperser...@160] - 
Created server
[junit] 2009-12-02 18:39:31,862 - INFO  [main:nioservercnxn$fact...@123] - 
binding to port 11225
[junit] 2009-12-02 18:39:31,863 - INFO  [main:files...@81] - Reading 
snapshot 
http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/test/tmp/test6074413301639657744.junit.dir/version-2/snapshot.5
[junit] 2009-12-02 18:39:31,866 - INFO  [main:filetxnsnap...@208] - 
Snapshotting: 6
[junit] 2009-12-02 18:39:31,867 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:34712
[junit] 2009-12-02 18:39:31,868 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@782] - Processing stat command from 
/127.0.0.1:34712
[junit] 2009-12-02 18:39:31,868 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@974] - Closed socket connection for 
client /127.0.0.1:34712 (no session established for client)
[junit] ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] expect:InMemoryDataTree
[junit] found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] expect:StandaloneServer_port
[junit] found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2009-12-02 18:39:32,910 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@929] - Opening socket 
connection to server localhost/127.0.0.1:11225
[junit] 2009-12-02 18:39:32,910 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:34713
[junit] 2009-12-02 18:39:32,910 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@837] - Socket 
connection established to localhost/127.0.0.1:11225, initiating session
[junit] 2009-12-02 18:39:32,911 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@688] - Client attempting to renew 
session 0x12550b09770 at /127.0.0.1:34713
[junit] 2009-12-02 18:39:32,911 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@1131] - Established session 
0x12550b09770 for client /127.0.0.1:34713
[junit] 2009-12-02 18:39:32,912 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@640] - Session 
establishment complete, sessionid = 0x12550b09770
[junit] 2009-12-02 18:39:33,000 - INFO  
[SessionTracker:sessiontrackeri...@145] - SessionTrackerImpl exited loop!
[junit] 2009-12-02 18:39:33,921 - INFO  
[ProcessThread:-1:preprequestproces...@385] - Processed session termination for 
sessionid: 0x12550b09770
[junit] 2009-12-02 18:39:33,922 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@974] 

Hudson build is back to normal: ZooKeeper-trunk #565

2009-12-02 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/565/changes




[jira] Commented: (ZOOKEEPER-597) ASyncHammerTest is failing intermittently on hudson trunk

2009-12-02 Thread Hudson (JIRA)

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

Hudson commented on ZOOKEEPER-597:
--

Integrated in ZooKeeper-trunk #565 (See 
[http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/565/])
. ASyncHammerTest is failing intermittently on hudson trunk


 ASyncHammerTest is failing intermittently on hudson trunk
 -

 Key: ZOOKEEPER-597
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-597
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Reporter: Patrick Hunt
Assignee: Benjamin Reed
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-597.patch, ZOOKEEPER-597.patch, 
 ZOOKEEPER-597.patch


 ASyncHammerTest is failing intermittently on hudson trunk. There is no clear 
 reason why this is happening, but
 it seems from the logs that a session connection to a follower is failing 
 during session establishment - the
 failure seems to be a problem either on the follower or leader. The server 
 gets the session create request, but
 it stalls in the request processor pipeline. (we see it go in, but we do not 
 see it com eout)
 unfortunately all efforts to reproduce this on non-hudson trunk have failed. 
 Even trying to reproduce by
 running on hudson host itself (manually) has failed.
 We need to instrument the client session creation code in the test to dump 
 the thread stack if the
 session creation fails.

-- 
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 #566

2009-12-02 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/566/

--
[...truncated 119547 lines...]
[junit] 2009-12-03 00:04:16,273 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@929] - Opening socket 
connection to server localhost/127.0.0.1:11225
[junit] 2009-12-03 00:04:16,274 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:54282
[junit] 2009-12-03 00:04:16,274 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@837] - Socket 
connection established to localhost/127.0.0.1:11225, initiating session
[junit] 2009-12-03 00:04:16,274 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@688] - Client attempting to renew 
session 0x12551d9e9c9 at /127.0.0.1:54282
[junit] 2009-12-03 00:04:16,275 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@1137] - Established session 
0x12551d9e9c9 for client /127.0.0.1:54282
[junit] 2009-12-03 00:04:16,275 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@640] - Session 
establishment complete, sessionid = 0x12551d9e9c9
[junit] 2009-12-03 00:04:16,283 - INFO  [main:clientb...@385] - STOPPING 
server
[junit] 2009-12-03 00:04:16,284 - INFO  [main:nioserverc...@976] - Closed 
socket connection for client /127.0.0.1:54282 which had sessionid 
0x12551d9e9c9
[junit] 2009-12-03 00:04:16,284 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@1047] - Unable to read 
additional data from server sessionid 0x12551d9e9c9, likely server has 
closed socket, closing socket connection and attempting reconnect
[junit] 2009-12-03 00:04:16,285 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@241] - NIOServerCnxn factory 
exited run method
[junit] 2009-12-03 00:04:16,285 - INFO  [main:finalrequestproces...@365] - 
shutdown of request processor complete
[junit] 2009-12-03 00:04:16,285 - INFO  
[SyncThread:0:syncrequestproces...@151] - SyncRequestProcessor exited!
[junit] 2009-12-03 00:04:16,285 - INFO  
[ProcessThread:-1:preprequestproces...@119] - PrepRequestProcessor exited loop!
[junit] ensureOnly:[]
[junit] 2009-12-03 00:04:16,385 - INFO  [main:clientb...@378] - STARTING 
server
[junit] 2009-12-03 00:04:16,385 - INFO  [main:zookeeperser...@160] - 
Created server
[junit] 2009-12-03 00:04:16,386 - INFO  [main:nioservercnxn$fact...@123] - 
binding to port 11225
[junit] 2009-12-03 00:04:16,387 - INFO  [main:files...@81] - Reading 
snapshot 
http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/test/tmp/test2810600338766002238.junit.dir/version-2/snapshot.5
[junit] 2009-12-03 00:04:16,389 - INFO  [main:filetxnsnap...@208] - 
Snapshotting: 6
[junit] 2009-12-03 00:04:16,391 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:54284
[junit] 2009-12-03 00:04:16,392 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@782] - Processing stat command from 
/127.0.0.1:54284
[junit] 2009-12-03 00:04:16,392 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@976] - Closed socket connection for 
client /127.0.0.1:54284 (no session established for client)
[junit] ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] expect:InMemoryDataTree
[junit] found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] expect:StandaloneServer_port
[junit] found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2009-12-03 00:04:17,792 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@929] - Opening socket 
connection to server localhost/127.0.0.1:11225
[junit] 2009-12-03 00:04:17,792 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@837] - Socket 
connection established to localhost/127.0.0.1:11225, initiating session
[junit] 2009-12-03 00:04:17,792 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:54285
[junit] 2009-12-03 00:04:17,793 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@688] - Client attempting to renew 
session 0x12551d9e9c9 at /127.0.0.1:54285
[junit] 2009-12-03 00:04:17,793 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@1137] - Established session 
0x12551d9e9c9 for client /127.0.0.1:54285
[junit] 2009-12-03 00:04:17,793 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@640] - Session 
establishment complete, sessionid = 0x12551d9e9c9
[junit] 2009-12-03 00:04:18,000 - INFO  
[SessionTracker:sessiontrackeri...@145] - SessionTrackerImpl exited loop!
[junit] 2009-12-03 00:04:18,801 - INFO  
[ProcessThread:-1:preprequestproces...@385] - Processed session termination for 
sessionid: 0x12551d9e9c9
[junit] 2009-12-03 00:04:18,802 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@976] 

[jira] Updated: (ZOOKEEPER-597) ASyncHammerTest is failing intermittently on hudson trunk

2009-12-02 Thread Patrick Hunt (JIRA)

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

Patrick Hunt updated ZOOKEEPER-597:
---

Attachment: ZOOKEEPER-597_2.patch

log the throwable if commit rp exits

 ASyncHammerTest is failing intermittently on hudson trunk
 -

 Key: ZOOKEEPER-597
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-597
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Reporter: Patrick Hunt
Assignee: Benjamin Reed
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-597.patch, ZOOKEEPER-597.patch, 
 ZOOKEEPER-597.patch, ZOOKEEPER-597_2.patch


 ASyncHammerTest is failing intermittently on hudson trunk. There is no clear 
 reason why this is happening, but
 it seems from the logs that a session connection to a follower is failing 
 during session establishment - the
 failure seems to be a problem either on the follower or leader. The server 
 gets the session create request, but
 it stalls in the request processor pipeline. (we see it go in, but we do not 
 see it com eout)
 unfortunately all efforts to reproduce this on non-hudson trunk have failed. 
 Even trying to reproduce by
 running on hudson host itself (manually) has failed.
 We need to instrument the client session creation code in the test to dump 
 the thread stack if the
 session creation fails.

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



[jira] Commented: (ZOOKEEPER-597) ASyncHammerTest is failing intermittently on hudson trunk

2009-12-02 Thread Mahadev konar (JIRA)

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

Mahadev konar commented on ZOOKEEPER-597:
-

I just committed 597_2.

 ASyncHammerTest is failing intermittently on hudson trunk
 -

 Key: ZOOKEEPER-597
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-597
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Reporter: Patrick Hunt
Assignee: Benjamin Reed
Priority: Critical
 Fix For: 3.3.0

 Attachments: ZOOKEEPER-597.patch, ZOOKEEPER-597.patch, 
 ZOOKEEPER-597.patch, ZOOKEEPER-597_2.patch


 ASyncHammerTest is failing intermittently on hudson trunk. There is no clear 
 reason why this is happening, but
 it seems from the logs that a session connection to a follower is failing 
 during session establishment - the
 failure seems to be a problem either on the follower or leader. The server 
 gets the session create request, but
 it stalls in the request processor pipeline. (we see it go in, but we do not 
 see it com eout)
 unfortunately all efforts to reproduce this on non-hudson trunk have failed. 
 Even trying to reproduce by
 running on hudson host itself (manually) has failed.
 We need to instrument the client session creation code in the test to dump 
 the thread stack if the
 session creation fails.

-- 
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 #567

2009-12-02 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/567/changes

Changes:

[mahadev] ZOOKEEPER-597. ASyncHammerTest is failing intermittently on hudson 
trunk (take 3) (phunt via mahadev)

--
[...truncated 69963 lines...]
[junit] 2009-12-03 04:14:47,533 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@837] - Socket 
connection established to localhost/127.0.0.1:11225, initiating session
[junit] 2009-12-03 04:14:47,540 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@688] - Client attempting to renew 
session 0x12552bf46a0 at /127.0.0.1:52276
[junit] 2009-12-03 04:14:47,541 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@1137] - Established session 
0x12552bf46a0 for client /127.0.0.1:52276
[junit] 2009-12-03 04:14:47,541 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@640] - Session 
establishment complete, sessionid = 0x12552bf46a0
[junit] 2009-12-03 04:14:47,551 - INFO  [main:clientb...@385] - STOPPING 
server
[junit] 2009-12-03 04:14:47,552 - INFO  [main:nioserverc...@976] - Closed 
socket connection for client /127.0.0.1:52276 which had sessionid 
0x12552bf46a0
[junit] 2009-12-03 04:14:47,552 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@1047] - Unable to read 
additional data from server sessionid 0x12552bf46a0, likely server has 
closed socket, closing socket connection and attempting reconnect
[junit] 2009-12-03 04:14:47,552 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@241] - NIOServerCnxn factory 
exited run method
[junit] 2009-12-03 04:14:47,553 - INFO  [main:finalrequestproces...@365] - 
shutdown of request processor complete
[junit] 2009-12-03 04:14:47,553 - INFO  
[SyncThread:0:syncrequestproces...@151] - SyncRequestProcessor exited!
[junit] 2009-12-03 04:14:47,553 - INFO  
[ProcessThread:-1:preprequestproces...@119] - PrepRequestProcessor exited loop!
[junit] ensureOnly:[]
[junit] 2009-12-03 04:14:47,652 - INFO  [main:clientb...@378] - STARTING 
server
[junit] 2009-12-03 04:14:47,653 - INFO  [main:zookeeperser...@160] - 
Created server
[junit] 2009-12-03 04:14:47,653 - INFO  [main:nioservercnxn$fact...@123] - 
binding to port 11225
[junit] 2009-12-03 04:14:47,659 - INFO  [main:files...@81] - Reading 
snapshot 
http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/test/tmp/test7294083460976472600.junit.dir/version-2/snapshot.5
[junit] 2009-12-03 04:14:47,662 - INFO  [main:filetxnsnap...@208] - 
Snapshotting: 6
[junit] 2009-12-03 04:14:47,665 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:52278
[junit] 2009-12-03 04:14:47,665 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@782] - Processing stat command from 
/127.0.0.1:52278
[junit] 2009-12-03 04:14:47,666 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@976] - Closed socket connection for 
client /127.0.0.1:52278 (no session established for client)
[junit] ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] expect:InMemoryDataTree
[junit] found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] expect:StandaloneServer_port
[junit] found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2009-12-03 04:14:48,000 - INFO  
[SessionTracker:sessiontrackeri...@145] - SessionTrackerImpl exited loop!
[junit] 2009-12-03 04:14:48,001 - INFO  
[SessionTracker:sessiontrackeri...@145] - SessionTrackerImpl exited loop!
[junit] 2009-12-03 04:14:49,605 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@929] - Opening socket 
connection to server localhost/127.0.0.1:11225
[junit] 2009-12-03 04:14:49,605 - INFO  
[NIOServerCxn.Factory:11225:nioservercnxn$fact...@214] - Accepted socket 
connection from /127.0.0.1:52279
[junit] 2009-12-03 04:14:49,605 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@837] - Socket 
connection established to localhost/127.0.0.1:11225, initiating session
[junit] 2009-12-03 04:14:49,606 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@688] - Client attempting to renew 
session 0x12552bf46a0 at /127.0.0.1:52279
[junit] 2009-12-03 04:14:49,608 - INFO  
[NIOServerCxn.Factory:11225:nioserverc...@1137] - Established session 
0x12552bf46a0 for client /127.0.0.1:52279
[junit] 2009-12-03 04:14:49,608 - INFO  
[main-SendThread(localhost:11225):clientcnxn$sendthr...@640] - Session 
establishment complete, sessionid = 0x12552bf46a0
[junit] 2009-12-03 04:14:50,616 - INFO  
[ProcessThread:-1:preprequestproces...@385] - Processed session termination for 
sessionid: 0x12552bf46a0
[junit] 2009-12-03 04:14:50,617 - INFO  [main:zookee...@524] - Session: 
0x12552bf46a0 closed
[junit] 2009-12-03 04:14:50,618 - INFO