[jira] [Commented] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Raul Gutierrez Segales (JIRA)

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

Raul Gutierrez Segales commented on ZOOKEEPER-1805:
---

Patch looks correct to me - thanks for the swift response [~fpj].

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Attachments: ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


ZooKeeper_branch34_solaris - Build # 695 - Still Failing

2013-10-31 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_solaris/695/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 156627 lines...]
[junit] 2013-10-31 08:16:48,161 [myid:] - INFO  
[Thread-4:NIOServerCnxn@997] - Closed socket connection for client 
/127.0.0.1:59055 (no session established for client)
[junit] 2013-10-31 08:16:48,161 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] 2013-10-31 08:16:48,163 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-10-31 08:16:48,163 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-10-31 08:16:48,163 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-10-31 08:16:48,163 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-10-31 08:16:48,163 [myid:] - INFO  [main:ClientBase@421] - 
STOPPING server
[junit] 2013-10-31 08:16:48,167 [myid:] - INFO  [main:ZooKeeperServer@441] 
- shutting down
[junit] 2013-10-31 08:16:48,167 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2013-10-31 08:16:48,167 [myid:] - INFO  
[main:PrepRequestProcessor@761] - Shutting down
[junit] 2013-10-31 08:16:48,167 [myid:] - INFO  
[main:SyncRequestProcessor@209] - Shutting down
[junit] 2013-10-31 08:16:48,167 [myid:] - INFO  [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2013-10-31 08:16:48,167 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited!
[junit] 2013-10-31 08:16:48,168 [myid:] - INFO  
[main:FinalRequestProcessor@415] - shutdown of request processor complete
[junit] 2013-10-31 08:16:48,168 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-10-31 08:16:48,168 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[]
[junit] 2013-10-31 08:16:48,169 [myid:] - INFO  [main:ClientBase@414] - 
STARTING server
[junit] 2013-10-31 08:16:48,170 [myid:] - INFO  [main:ZooKeeperServer@162] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/trunk/build/test/tmp/test8053451701489904130.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/trunk/build/test/tmp/test8053451701489904130.junit.dir/version-2
[junit] 2013-10-31 08:16:48,170 [myid:] - INFO  
[main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-10-31 08:16:48,173 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-10-31 08:16:48,174 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:59057
[junit] 2013-10-31 08:16:48,174 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@817] - Processing 
stat command from /127.0.0.1:59057
[junit] 2013-10-31 08:16:48,174 [myid:] - INFO  
[Thread-5:NIOServerCnxn$StatCommand@653] - Stat command output
[junit] 2013-10-31 08:16:48,175 [myid:] - INFO  
[Thread-5:NIOServerCnxn@997] - Closed socket connection for client 
/127.0.0.1:59057 (no session established for client)
[junit] 2013-10-31 08:16:48,175 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] 2013-10-31 08:16:48,177 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-10-31 08:16:48,177 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-10-31 08:16:48,177 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-10-31 08:16:48,177 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-10-31 08:16:48,177 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@57] - FINISHED TEST METHOD testQuota
[junit] 2013-10-31 08:16:48,178 [myid:] - INFO  [main:ClientBase@451] - 
tearDown starting
[junit] 2013-10-31 08:16:48,504 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@509] - EventThread shut down
[junit] 2013-10-31 08:16:48,504 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x1420d960db9 closed
[junit] 2013-10-31 08:16:48,505 [myid:] - INFO  [main:ClientBase@421] - 
STOPPING server
[junit] 2013-10-31 08:16:48,506 [myid:] - INFO  [main:ZooKeeperServer@441] 
- shutting down
[junit] 2013-10-31 08:16:48,506 

ZooKeeper-trunk-solaris - Build # 717 - Still Failing

2013-10-31 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/717/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 227683 lines...]
[junit] 2013-10-31 09:08:05,630 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2013-10-31 09:08:05,630 [myid:] - INFO  [main:ZooKeeperServer@428] 
- shutting down
[junit] 2013-10-31 09:08:05,630 [myid:] - INFO  
[main:SessionTrackerImpl@183] - Shutting down
[junit] 2013-10-31 09:08:05,631 [myid:] - INFO  
[main:PrepRequestProcessor@972] - Shutting down
[junit] 2013-10-31 09:08:05,631 [myid:] - INFO  
[main:SyncRequestProcessor@190] - Shutting down
[junit] 2013-10-31 09:08:05,631 [myid:] - INFO  [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@156] - PrepRequestProcessor exited loop!
[junit] 2013-10-31 09:08:05,631 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@168] - SyncRequestProcessor exited!
[junit] 2013-10-31 09:08:05,631 [myid:] - INFO  
[main:FinalRequestProcessor@442] - shutdown of request processor complete
[junit] 2013-10-31 09:08:05,632 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-10-31 09:08:05,632 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[]
[junit] 2013-10-31 09:08:05,633 [myid:] - INFO  [main:ClientBase@414] - 
STARTING server
[junit] 2013-10-31 09:08:05,633 [myid:] - INFO  [main:ZooKeeperServer@149] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test1592587919473319973.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test1592587919473319973.junit.dir/version-2
[junit] 2013-10-31 09:08:05,634 [myid:] - INFO  
[main:NIOServerCnxnFactory@670] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2013-10-31 09:08:05,634 [myid:] - INFO  
[main:NIOServerCnxnFactory@683] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-10-31 09:08:05,635 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test1592587919473319973.junit.dir/version-2/snapshot.b
[junit] 2013-10-31 09:08:05,638 [myid:] - INFO  [main:FileTxnSnapLog@297] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test1592587919473319973.junit.dir/version-2/snapshot.b
[junit] 2013-10-31 09:08:05,639 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-10-31 09:08:05,639 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:37837
[junit] 2013-10-31 09:08:05,640 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@828] - Processing stat command from 
/127.0.0.1:37837
[junit] 2013-10-31 09:08:05,640 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn$StatCommand@677] - Stat command output
[junit] 2013-10-31 09:08:05,641 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@999] - Closed socket connection for client 
/127.0.0.1:37837 (no session established for client)
[junit] 2013-10-31 09:08:05,641 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] 2013-10-31 09:08:05,642 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-10-31 09:08:05,642 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-10-31 09:08:05,643 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-10-31 09:08:05,643 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-10-31 09:08:05,643 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@57] - FINISHED TEST METHOD testQuota
[junit] 2013-10-31 09:08:05,643 [myid:] - INFO  [main:ClientBase@451] - 
tearDown starting
[junit] 2013-10-31 09:08:05,721 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down
[junit] 2013-10-31 09:08:05,721 [myid:] - INFO  [main:ZooKeeper@777] - 
Session: 0x1420dc5065c closed
[junit] 2013-10-31 09:08:05,721 [myid:] - INFO  [main:ClientBase@421] - 
STOPPING server
[junit] 2013-10-31 09:08:05,722 [myid:] - INFO  

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

2013-10-31 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-3.4-WinVS2008_java/339/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 202425 lines...]
[junit] 2013-10-31 11:31:02,327 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@224] - 
NIOServerCnxn factory exited run method
[junit] 2013-10-31 11:31:02,328 [myid:] - INFO  [main:ZooKeeperServer@441] 
- shutting down
[junit] 2013-10-31 11:31:02,427 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2013-10-31 11:31:02,427 [myid:] - INFO  
[main:PrepRequestProcessor@761] - Shutting down
[junit] 2013-10-31 11:31:02,427 [myid:] - INFO  
[main:SyncRequestProcessor@209] - Shutting down
[junit] 2013-10-31 11:31:02,427 [myid:] - INFO  [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2013-10-31 11:31:02,427 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited!
[junit] 2013-10-31 11:31:02,427 [myid:] - INFO  
[main:FinalRequestProcessor@415] - shutdown of request processor complete
[junit] 2013-10-31 11:31:02,528 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-10-31 11:31:02,529 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@968] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:11221. Will not attempt to 
authenticate using SASL (java.lang.SecurityException: Unable to locate a login 
configuration)
[junit] 2013-10-31 11:31:03,001 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2013-10-31 11:31:03,001 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2013-10-31 11:31:03,527 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[]
[junit] 2013-10-31 11:31:03,528 [myid:] - WARN  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@1095] - Session 
0x1420e47dd18 for server null, unexpected error, closing socket connection 
and attempting reconnect
[junit] java.net.ConnectException: Connection refused: no further 
information
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1074)
[junit] 2013-10-31 11:31:03,528 [myid:] - INFO  [main:ClientBase@414] - 
STARTING server
[junit] 2013-10-31 11:31:03,535 [myid:] - INFO  [main:ZooKeeperServer@162] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
f:\hudson\hudson-slave\workspace\ZooKeeper-3.4-WinVS2008_java\branch-3.4\build\test\tmp\test1027414236203482693.junit.dir\version-2
 snapdir 
f:\hudson\hudson-slave\workspace\ZooKeeper-3.4-WinVS2008_java\branch-3.4\build\test\tmp\test1027414236203482693.junit.dir\version-2
[junit] 2013-10-31 11:31:03,536 [myid:] - INFO  
[main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-10-31 11:31:03,541 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-10-31 11:31:03,543 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:49986
[junit] 2013-10-31 11:31:03,543 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@817] - Processing 
stat command from /127.0.0.1:49986
[junit] 2013-10-31 11:31:03,543 [myid:] - INFO  
[Thread-5:NIOServerCnxn$StatCommand@653] - Stat command output
[junit] 2013-10-31 11:31:03,544 [myid:] - INFO  
[Thread-5:NIOServerCnxn@997] - Closed socket connection for client 
/127.0.0.1:49986 (no session established for client)
[junit] 2013-10-31 11:31:03,642 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] 2013-10-31 11:31:03,644 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-10-31 11:31:03,644 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-10-31 11:31:03,644 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-10-31 11:31:03,644 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-10-31 11:31:03,644 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@57] - FINISHED TEST METHOD testQuota
[junit] 2013-10-31 11:31:03,743 [myid:] - INFO  [main:ClientBase@451] - 
tearDown starting
[junit] 2013-10-31 11:31:03,951 [myid:] 

ZooKeeper_branch34_jdk7 - Build # 391 - Failure

2013-10-31 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk7/391/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 211936 lines...]
[junit] 2013-10-31 11:39:52,789 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-10-31 11:39:52,790 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-10-31 11:39:52,790 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-10-31 11:39:52,790 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-10-31 11:39:52,790 [myid:] - INFO  [main:ClientBase@421] - 
STOPPING server
[junit] 2013-10-31 11:39:52,790 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@224] - 
NIOServerCnxn factory exited run method
[junit] 2013-10-31 11:39:52,790 [myid:] - INFO  [main:ZooKeeperServer@441] 
- shutting down
[junit] 2013-10-31 11:39:52,791 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2013-10-31 11:39:52,791 [myid:] - INFO  
[main:PrepRequestProcessor@761] - Shutting down
[junit] 2013-10-31 11:39:52,791 [myid:] - INFO  
[main:SyncRequestProcessor@209] - Shutting down
[junit] 2013-10-31 11:39:52,791 [myid:] - INFO  [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2013-10-31 11:39:52,791 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited!
[junit] 2013-10-31 11:39:52,791 [myid:] - INFO  
[main:FinalRequestProcessor@415] - shutdown of request processor complete
[junit] 2013-10-31 11:39:52,792 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-10-31 11:39:52,792 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[]
[junit] 2013-10-31 11:39:52,793 [myid:] - INFO  [main:ClientBase@414] - 
STARTING server
[junit] 2013-10-31 11:39:52,794 [myid:] - INFO  [main:ZooKeeperServer@162] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/branch-3.4/build/test/tmp/test5474606878880180479.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/branch-3.4/build/test/tmp/test5474606878880180479.junit.dir/version-2
[junit] 2013-10-31 11:39:52,794 [myid:] - INFO  
[main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-10-31 11:39:52,797 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-10-31 11:39:52,797 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:37275
[junit] 2013-10-31 11:39:52,798 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@817] - Processing 
stat command from /127.0.0.1:37275
[junit] 2013-10-31 11:39:52,798 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@653] - Stat command output
[junit] 2013-10-31 11:39:52,798 [myid:] - INFO  
[Thread-4:NIOServerCnxn@997] - Closed socket connection for client 
/127.0.0.1:37275 (no session established for client)
[junit] 2013-10-31 11:39:52,798 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] 2013-10-31 11:39:52,800 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-10-31 11:39:52,800 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-10-31 11:39:52,800 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-10-31 11:39:52,800 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-10-31 11:39:52,801 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@57] - FINISHED TEST METHOD testQuota
[junit] 2013-10-31 11:39:52,801 [myid:] - INFO  [main:ClientBase@451] - 
tearDown starting
[junit] 2013-10-31 11:39:52,878 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x1420e4ffc6b closed
[junit] 2013-10-31 11:39:52,878 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@509] - EventThread shut down
[junit] 2013-10-31 11:39:52,878 [myid:] - INFO  [main:ClientBase@421] - 
STOPPING server
[junit] 2013-10-31 11:39:52,879 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@224] - 
NIOServerCnxn factory exited run method
[junit] 2013-10-31 11:39:52,879 [myid:] - INFO  [main:ZooKeeperServer@441] 
- shutting down
[junit] 2013-10-31 11:39:52,879 [myid:] - INFO  

[jira] [Updated] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira updated ZOOKEEPER-1805:


Fix Version/s: 3.5.0
   3.4.6

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira updated ZOOKEEPER-1805:


Attachment: ZOOKEEPER-1805.patch

Added one more test case.

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (BOOKKEEPER-429) Provide separate read and write threads in the bookkeeper server

2013-10-31 Thread Ivan Kelly (JIRA)

[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13810296#comment-13810296
 ] 

Ivan Kelly commented on BOOKKEEPER-429:
---

ya, I saw the NUM_ADD_WORKER_THREADS already existed when rebasing. I assumed 
it was like this in the twitter branch. Never occurred this was the problem 
when the failure happened, and I didn't have time to look deeper. Journal and 
dispatcher threads should use separate pools though, so one of these options 
should be renamed.

 Provide separate read and write threads in the bookkeeper server
 

 Key: BOOKKEEPER-429
 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-429
 Project: Bookkeeper
  Issue Type: Improvement
  Components: bookkeeper-server
Affects Versions: 4.2.0
Reporter: Aniruddha
Assignee: Aniruddha
 Fix For: 4.3.0

 Attachments: 
 0001-BOOKKEEPER-429-Provide-separate-read-and-write-threa.patch, 
 BK-429.patch, BOOKKEEPER-429.diff, BOOKKEEPER-429.diff


 The current bookkeeper server is single threaded. The same thread handles 
 reads and writes. When reads are slow (possibly because of excessive seeks), 
 add entry operations suffer in terms of latencies. Providing separate read 
 and write threads helps in reducing add entry latencies and increasing 
 throughput even when we're facing slow reads. Having a single read thread 
 also results in low disk utilization because seeks can't be ordered 
 efficiently by the OS. Multiple read threads would help in improving the read 
 throughput. 
 Discussion on this can be found at 
 http://mail-archives.apache.org/mod_mbox/zookeeper-bookkeeper-dev/201209.mbox/%3ccaolhydqpzn-v10zynfwud_h0qzrxtmjgttx7a9eofohyyty...@mail.gmail.com%3e
 Reviewboard : https://reviews.apache.org/r/7560/



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-1805:
--

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12611390/ZOOKEEPER-1805.patch
  against trunk revision 1535491.

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 3 new or modified tests.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

+1 core tests.  The patch passed core unit tests.

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1730//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1730//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1730//console

This message is automatically generated.

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Success: ZOOKEEPER-1805 PreCommit Build #1730

2013-10-31 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1730/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 292331 lines...]
 [exec] BUILD SUCCESSFUL
 [exec] Total time: 0 seconds
 [exec] 
 [exec] 
 [exec] 
 [exec] 
 [exec] +1 overall.  Here are the results of testing the latest attachment 
 [exec]   
http://issues.apache.org/jira/secure/attachment/12611390/ZOOKEEPER-1805.patch
 [exec]   against trunk revision 1535491.
 [exec] 
 [exec] +1 @author.  The patch does not contain any @author tags.
 [exec] 
 [exec] +1 tests included.  The patch appears to include 3 new or 
modified tests.
 [exec] 
 [exec] +1 javadoc.  The javadoc tool did not generate any warning 
messages.
 [exec] 
 [exec] +1 javac.  The applied patch does not increase the total number 
of javac compiler warnings.
 [exec] 
 [exec] +1 findbugs.  The patch does not introduce any new Findbugs 
(version 1.3.9) warnings.
 [exec] 
 [exec] +1 release audit.  The applied patch does not increase the 
total number of release audit warnings.
 [exec] 
 [exec] +1 core tests.  The patch passed core unit tests.
 [exec] 
 [exec] +1 contrib tests.  The patch passed contrib unit tests.
 [exec] 
 [exec] Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1730//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1730//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1730//console
 [exec] 
 [exec] This message is automatically generated.
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Adding comment to Jira.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] Comment added.
 [exec] 10056aae7b0388aabb6b642a32f274c4739d8d0b logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

BUILD SUCCESSFUL
Total time: 33 minutes 13 seconds
Archiving artifacts
Recording test results
Description set: ZOOKEEPER-1805
Email was triggered for: Success
Sending email for trigger: Success



###
## FAILED TESTS (if any) 
##
All tests passed

ZooKeeper-trunk-jdk7 - Build # 698 - Failure

2013-10-31 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk7/698/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 296633 lines...]
[junit] 2013-10-31 16:04:20,459 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x203eb to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test4692052836437164156.junit.dir/version-2/snapshot.203eb
[junit] 2013-10-31 16:04:20,584 [myid:] - INFO  
[SyncThread:4:FileTxnLog@200] - Creating new log file: log.203ed
[junit] 2013-10-31 16:04:20,890 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x203f2 to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test7893192698003529362.junit.dir/version-2/snapshot.203f2
[junit] 2013-10-31 16:04:20,926 [myid:] - INFO  
[SyncThread:2:FileTxnLog@200] - Creating new log file: log.203f4
[junit] 2013-10-31 16:04:23,657 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x2042e to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test8679219361638603076.junit.dir/version-2/snapshot.2042e
[junit] 2013-10-31 16:04:23,704 [myid:] - INFO  
[SyncThread:3:FileTxnLog@200] - Creating new log file: log.20430
[junit] 2013-10-31 16:04:23,705 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x2042f to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test7721460247375847266.junit.dir/version-2/snapshot.2042f
[junit] 2013-10-31 16:04:23,726 [myid:] - INFO  
[SyncThread:1:FileTxnLog@200] - Creating new log file: log.20431
[junit] 2013-10-31 16:04:24,229 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x2043a to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test4692052836437164156.junit.dir/version-2/snapshot.2043a
[junit] 2013-10-31 16:04:24,270 [myid:] - INFO  
[SyncThread:4:FileTxnLog@200] - Creating new log file: log.2043c
[junit] 2013-10-31 16:04:25,410 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x20452 to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test7893192698003529362.junit.dir/version-2/snapshot.20452
[junit] 2013-10-31 16:04:25,455 [myid:] - INFO  
[SyncThread:2:FileTxnLog@200] - Creating new log file: log.20454
[junit] 2013-10-31 16:04:26,324 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x20465 to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test8679219361638603076.junit.dir/version-2/snapshot.20465
[junit] 2013-10-31 16:04:26,379 [myid:] - INFO  
[SyncThread:3:FileTxnLog@200] - Creating new log file: log.20467
[junit] 2013-10-31 16:04:27,711 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x20477 to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test4692052836437164156.junit.dir/version-2/snapshot.20477
[junit] 2013-10-31 16:04:27,756 [myid:] - INFO  
[SyncThread:4:FileTxnLog@200] - Creating new log file: log.20479
[junit] 2013-10-31 16:04:27,756 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x20478 to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test7721460247375847266.junit.dir/version-2/snapshot.20478
[junit] 2013-10-31 16:04:27,837 [myid:] - INFO  
[SyncThread:1:FileTxnLog@200] - Creating new log file: log.2047a
[junit] 2013-10-31 16:04:30,619 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x204ae to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test7893192698003529362.junit.dir/version-2/snapshot.204ae
[junit] 2013-10-31 16:04:30,619 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x204ae to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test4692052836437164156.junit.dir/version-2/snapshot.204ae
[junit] 2013-10-31 16:04:30,687 [myid:] - INFO  
[SyncThread:4:FileTxnLog@200] - Creating new log file: log.204b0
[junit] 2013-10-31 16:04:30,687 [myid:] - INFO  
[SyncThread:2:FileTxnLog@200] - Creating new log file: log.204b0
[junit] 2013-10-31 16:04:31,826 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - Snapshotting: 0x204c5 to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test8679219361638603076.junit.dir/version-2/snapshot.204c5
[junit] 2013-10-31 16:04:31,863 [myid:] - INFO  
[SyncThread:3:FileTxnLog@200] - Creating new log file: log.204c7
[junit] 2013-10-31 16:04:32,449 [myid:] - INFO  [Snapshot 
Thread:FileTxnSnapLog@297] - 

[jira] [Commented] (ZOOKEEPER-1579) Compile error of UnixOperationSystemMXBean with open JDK

2013-10-31 Thread Jake Farrell (JIRA)

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

Jake Farrell commented on ZOOKEEPER-1579:
-

just closed INFRA-6706 add IBM jdk 1.7,  IBM 1.7 64-bit (on Ubuntu only) now 
available 

/home/jenkins/tools/java/ibm-1.7-64/bin/java -version 
java version 1.7.0 
Java(TM) SE Runtime Environment (build pxa6470sr5-20130619_01(SR5)) 
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 
20130617_152572 (JIT enabled, AOT enabled) 
J9VM - R26_Java726_SR5_20130617_1436_B152572 
JIT - r11.b04_20130528_38954ifx1 
GC - R26_Java726_SR5_20130617_1436_B152572_CMPRSS 
J9CL - 20130617_152572) 
JCL - 20130616_01 based on Oracle 7u25-b12

 Compile error of UnixOperationSystemMXBean with open JDK
 

 Key: ZOOKEEPER-1579
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1579
 Project: ZooKeeper
  Issue Type: Bug
Affects Versions: 3.3.4, 3.4.3
Reporter: Li Ping Zhang
Assignee: Li Ping Zhang
  Labels: patch
   Original Estimate: 168h
  Remaining Estimate: 168h

 zookeeper invokes getOpenFileDescriptorCount() function in  
 com.sun.management.UnixOperatingSystemMXBean, which only exists in SUN JDK, 
 and open JDK did not implement this function.
 [javac] 
 /root/zookeeper-3.3.4/src/java/test/org/apache/zookeeper/test/ClientBase.java:57:
  package com.sun.management does not exist
 [javac] import com.sun.management.UnixOperatingSystemMXBean;
 [javac]  ^
 [javac] 
 /root/zookeeper-3.3.4/src/java/test/org/apache/zookeeper/test/QuorumBase.java:39:
  package com.sun.management does not exist
 [javac] import com.sun.management.UnixOperatingSystemMXBean;
 [javac]  ^
 [javac] 
 /root/zookeeper-3.3.4/src/java/test/org/apache/zookeeper/test/ClientTest.java:48:
  package com.sun.management does not exist
 [javac] import com.sun.management.UnixOperatingSystemMXBean;
 [javac]  ^
 [javac] 
 /root/zookeeper-3.3.4/src/java/test/org/apache/zookeeper/test/QuorumUtil.java:39:
  package com.sun.management does not exist
 [javac] import com.sun.management.UnixOperatingSystemMXBean;



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Raul Gutierrez Segales (JIRA)

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

Raul Gutierrez Segales commented on ZOOKEEPER-1805:
---

2nd test looks fine to me as well. I guess you could DRY it up a bit by having:

{noformat}
HashMapLong, Vote getVotes(long a, long b) {
HashMapLong, Vote votes = new HashMapLong, Vote();
votes.put(0L, new Vote(4L, Vote.DONTCARE, Vote.DONTCARE, a, 
ServerState.FOLLOWING));
votes.put(1L, new Vote(4L, Vote.DONTCARE, Vote.DONTCARE, a, 
ServerState.FOLLOWING));
votes.put(3L, new Vote(4L, 10L, 10L, b, ServerState.FOLLOWING));
votes.put(4L, new Vote(4L, 10L, 10L, b, ServerState.LEADING));
return votes;
}
{noformat}

but I guess copy/pasta is alright in test cases for readability (though I 
rather DRY it).  Thanks [~fpj].

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


ZooKeeper-trunk-openjdk7 - Build # 308 - Still Failing

2013-10-31 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/308/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 402243 lines...]
[junit] 2013-10-31 21:08:54,554 [myid:] - INFO  [main:ZooKeeperServer@428] 
- shutting down
[junit] 2013-10-31 21:08:54,554 [myid:] - INFO  
[main:SessionTrackerImpl@183] - Shutting down
[junit] 2013-10-31 21:08:54,554 [myid:] - INFO  
[main:PrepRequestProcessor@972] - Shutting down
[junit] 2013-10-31 21:08:54,554 [myid:] - INFO  
[main:SyncRequestProcessor@190] - Shutting down
[junit] 2013-10-31 21:08:54,554 [myid:] - INFO  [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@156] - PrepRequestProcessor exited loop!
[junit] 2013-10-31 21:08:54,554 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@168] - SyncRequestProcessor exited!
[junit] 2013-10-31 21:08:54,555 [myid:] - INFO  
[main:FinalRequestProcessor@442] - shutdown of request processor complete
[junit] 2013-10-31 21:08:54,555 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-10-31 21:08:54,556 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[]
[junit] 2013-10-31 21:08:54,557 [myid:] - INFO  [main:ClientBase@414] - 
STARTING server
[junit] 2013-10-31 21:08:54,557 [myid:] - INFO  [main:ZooKeeperServer@149] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test520788306855383.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test520788306855383.junit.dir/version-2
[junit] 2013-10-31 21:08:54,558 [myid:] - INFO  
[main:NIOServerCnxnFactory@670] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2013-10-31 21:08:54,558 [myid:] - INFO  
[main:NIOServerCnxnFactory@683] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-10-31 21:08:54,559 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test520788306855383.junit.dir/version-2/snapshot.b
[junit] 2013-10-31 21:08:54,562 [myid:] - INFO  [main:FileTxnSnapLog@297] - 
Snapshotting: 0xb to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test520788306855383.junit.dir/version-2/snapshot.b
[junit] 2013-10-31 21:08:54,564 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-10-31 21:08:54,564 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:43516
[junit] 2013-10-31 21:08:54,565 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@828] - Processing stat command from 
/127.0.0.1:43516
[junit] 2013-10-31 21:08:54,565 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn$StatCommand@677] - Stat command output
[junit] 2013-10-31 21:08:54,566 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@999] - Closed socket connection for client 
/127.0.0.1:43516 (no session established for client)
[junit] 2013-10-31 21:08:54,566 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] 2013-10-31 21:08:54,568 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-10-31 21:08:54,568 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-10-31 21:08:54,568 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-10-31 21:08:54,568 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-10-31 21:08:54,569 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@57] - FINISHED TEST METHOD testQuota
[junit] 2013-10-31 21:08:54,569 [myid:] - INFO  [main:ClientBase@451] - 
tearDown starting
[junit] 2013-10-31 21:08:54,635 [myid:] - INFO  [main:ZooKeeper@777] - 
Session: 0x1421058f32f closed
[junit] 2013-10-31 21:08:54,635 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down
[junit] 2013-10-31 21:08:54,635 [myid:] - INFO  [main:ClientBase@421] - 
STOPPING server
[junit] 2013-10-31 21:08:54,636 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2013-10-31 21:08:54,636 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2013-10-31 21:08:54,636 [myid:] - 

[jira] [Created] (ZOOKEEPER-1806) testCurrentServersAreObserversInNextConfig failing frequently on trunk with non-jdk6

2013-10-31 Thread Patrick Hunt (JIRA)
Patrick Hunt created ZOOKEEPER-1806:
---

 Summary: testCurrentServersAreObserversInNextConfig failing 
frequently on trunk with non-jdk6
 Key: ZOOKEEPER-1806
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1806
 Project: ZooKeeper
  Issue Type: Bug
  Components: server
Affects Versions: 3.5.0
Reporter: Patrick Hunt
 Fix For: 3.5.0


testCurrentServersAreObserversInNextConfig failing frequently on trunk with jdk7

I see a number of failures recently on this test. Is it a real issue or flakey? 
Perhaps due to re-ordering/cleanup with jdk7 as we've seen with some other 
tests? (I don't see this test failing with jdk6)



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Assigned] (ZOOKEEPER-1806) testCurrentServersAreObserversInNextConfig failing frequently on trunk with non-jdk6

2013-10-31 Thread Patrick Hunt (JIRA)

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

Patrick Hunt reassigned ZOOKEEPER-1806:
---

Assignee: Alexander Shraer

Alex can you take a look? This test was introduced in ZOOKEEPER-107  Allow 
dynamic changes to server cluster membership (Alex Shraer via breed)

 testCurrentServersAreObserversInNextConfig failing frequently on trunk with 
 non-jdk6
 

 Key: ZOOKEEPER-1806
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1806
 Project: ZooKeeper
  Issue Type: Bug
  Components: server
Affects Versions: 3.5.0
Reporter: Patrick Hunt
Assignee: Alexander Shraer
 Fix For: 3.5.0


 testCurrentServersAreObserversInNextConfig failing frequently on trunk with 
 jdk7
 I see a number of failures recently on this test. Is it a real issue or 
 flakey? Perhaps due to re-ordering/cleanup with jdk7 as we've seen with some 
 other tests? (I don't see this test failing with jdk6)



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ZOOKEEPER-1806) testCurrentServersAreObserversInNextConfig failing frequently on trunk with non-jdk6

2013-10-31 Thread Patrick Hunt (JIRA)

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

Patrick Hunt commented on ZOOKEEPER-1806:
-

here's a recent case: https://builds.apache.org/job/ZooKeeper-trunk-jdk7/696/

 testCurrentServersAreObserversInNextConfig failing frequently on trunk with 
 non-jdk6
 

 Key: ZOOKEEPER-1806
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1806
 Project: ZooKeeper
  Issue Type: Bug
  Components: server
Affects Versions: 3.5.0
Reporter: Patrick Hunt
 Fix For: 3.5.0


 testCurrentServersAreObserversInNextConfig failing frequently on trunk with 
 jdk7
 I see a number of failures recently on this test. Is it a real issue or 
 flakey? Perhaps due to re-ordering/cleanup with jdk7 as we've seen with some 
 other tests? (I don't see this test failing with jdk6)



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira updated ZOOKEEPER-1805:


Attachment: ZOOKEEPER-1805.patch

yeah, I shouldn't have been lazy, thanks for pushing.

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ZOOKEEPER-1798) Fix race condition in testNormalObserverRun

2013-10-31 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira commented on ZOOKEEPER-1798:
-

That's odd, the problem should be fixed, I don't see how it could happen. Any 
thoughts, [~thawan]?

 Fix race condition in testNormalObserverRun
 ---

 Key: ZOOKEEPER-1798
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1798
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Thawan Kooburat
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: TEST-org.apache.zookeeper.server.quorum.Zab1_0Test.txt, 
 ZOOKEEPER-1798-b3.4.patch, ZOOKEEPER-1798-b3.4.patch, 
 ZOOKEEPER-1798-b3.4.patch, ZOOKEEPER-1798.patch, ZOOKEEPER-1798.patch


 This is the output messges:
 noformat
 Testcase: testNormalObserverRun took 4.221 sec
 FAILED
 expected:data[2] but was:data[1]
 junit.framework.AssertionFailedError: expected:data[2] but was:data[1]
 at 
 org.apache.zookeeper.server.quorum.Zab1_0Test$8.converseWithObserver(Zab1_0Test.java:1118)
 at 
 org.apache.zookeeper.server.quorum.Zab1_0Test.testObserverConversation(Zab1_0Test.java:546)
 at 
 org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalObserverRun(Zab1_0Test.java:994)
 noformat



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-1805:
--

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12611541/ZOOKEEPER-1805.patch
  against trunk revision 1535491.

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 3 new or modified tests.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

+1 core tests.  The patch passed core unit tests.

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1731//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1731//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1731//console

This message is automatically generated.

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Success: ZOOKEEPER-1805 PreCommit Build #1731

2013-10-31 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1731/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 314805 lines...]
 [exec] BUILD SUCCESSFUL
 [exec] Total time: 0 seconds
 [exec] 
 [exec] 
 [exec] 
 [exec] 
 [exec] +1 overall.  Here are the results of testing the latest attachment 
 [exec]   
http://issues.apache.org/jira/secure/attachment/12611541/ZOOKEEPER-1805.patch
 [exec]   against trunk revision 1535491.
 [exec] 
 [exec] +1 @author.  The patch does not contain any @author tags.
 [exec] 
 [exec] +1 tests included.  The patch appears to include 3 new or 
modified tests.
 [exec] 
 [exec] +1 javadoc.  The javadoc tool did not generate any warning 
messages.
 [exec] 
 [exec] +1 javac.  The applied patch does not increase the total number 
of javac compiler warnings.
 [exec] 
 [exec] +1 findbugs.  The patch does not introduce any new Findbugs 
(version 1.3.9) warnings.
 [exec] 
 [exec] +1 release audit.  The applied patch does not increase the 
total number of release audit warnings.
 [exec] 
 [exec] +1 core tests.  The patch passed core unit tests.
 [exec] 
 [exec] +1 contrib tests.  The patch passed contrib unit tests.
 [exec] 
 [exec] Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1731//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1731//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1731//console
 [exec] 
 [exec] This message is automatically generated.
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Adding comment to Jira.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] Comment added.
 [exec] 0b4447e7feaff96f95b42776ab172f574c8a1ea0 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

BUILD SUCCESSFUL
Total time: 33 minutes 54 seconds
Archiving artifacts
Recording test results
Description set: ZOOKEEPER-1805
Email was triggered for: Success
Sending email for trigger: Success



###
## FAILED TESTS (if any) 
##
All tests passed

[jira] [Commented] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira commented on ZOOKEEPER-1805:
-

[~abranzyck], are you ok with the patch too? could you both +1 it, please?

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ZOOKEEPER-1742) make check doesn't work on macos

2013-10-31 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira commented on ZOOKEEPER-1742:
-

[~breed], [~abranzyck], do you guys think there is any chance we can try to fix 
this issue for 3.4.6? I'd really like to have this in for 3.4.6.

 make check doesn't work on macos
 --

 Key: ZOOKEEPER-1742
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1742
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Benjamin Reed
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1742-3.4.patch, ZOOKEEPER-1742.patch


 There are two problems I have spotted when running make check with the C 
 client. First, it complains that the sleep call is not defined in two test 
 files: tests/ZooKeeperQuorumServer.cc and tests/TestReconfigServer.cc. 
 Including unistd.h works. The second problem is with linker options. It 
 complains that --wrap is not a valid. I'm not sure how to deal with this 
 one yet, since I'm not sure why we are using it.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ZOOKEEPER-1597) Windows build failing

2013-10-31 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira commented on ZOOKEEPER-1597:
-

+1, thanks, Michi.

 Windows build failing
 -

 Key: ZOOKEEPER-1597
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1597
 Project: ZooKeeper
  Issue Type: Bug
  Components: build, c client
Affects Versions: 3.5.0
Reporter: Alexander Shraer
Assignee: Michi Mutsuzaki
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1597-3.4.patch, ZOOKEEPER-1597.patch, 
 ZOOKEEPER-1597.patch, ZOOKEEPER-1597.patch


 Seems to be related to C client changes done for ZK-1355.
 We're not sure why these build failures happen on Windows.
 ###
 ## LAST 60 LINES OF THE CONSOLE 
 ###
 [...truncated 376 lines...]
   .\src\zookeeper.c(768): error C2224: left of '.count' must have 
 struct/union type
   .\src\zookeeper.c(768): error C2065: 'i' : undeclared identifier
   .\src\zookeeper.c(770): error C2065: 'resolved' : undeclared identifier
   .\src\zookeeper.c(770): error C2224: left of '.data' must have struct/union 
 type
   .\src\zookeeper.c(770): error C2065: 'i' : undeclared identifier
   .\src\zookeeper.c(773): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(774): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(780): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(781): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(788): error C2143: syntax error : missing ';' before 
 'type'
   .\src\zookeeper.c(789): error C2143: syntax error : missing ';' before 
 'type'
   .\src\zookeeper.c(792): error C2065: 'num_old' : undeclared identifier
   .\src\zookeeper.c(792): error C2065: 'num_new' : undeclared identifier
   .\src\zookeeper.c(794): error C2065: 'found_current' : undeclared identifier
   .\src\zookeeper.c(797): error C2065: 'num_old' : undeclared identifier
   .\src\zookeeper.c(797): error C2065: 'num_new' : undeclared identifier
   .\src\zookeeper.c(814): error C2065: 'found_current' : undeclared identifier
   .\src\zookeeper.c(819): error C2065: 'num_old' : undeclared identifier
   .\src\zookeeper.c(819): error C2065: 'num_old' : undeclared identifier
   .\src\zookeeper.c(819): error C2065: 'num_new' : undeclared identifier
   .\src\zookeeper.c(819): error C2065: 'num_old' : undeclared identifier
   .\src\zookeeper.c(819): error C2065: 'num_new' : undeclared identifier
   .\src\zookeeper.c(819): error C2065: 'num_old' : undeclared identifier
   .\src\zookeeper.c(825): error C2065: 'resolved' : undeclared identifier
   .\src\zookeeper.c(825): error C2440: '=' : cannot convert from 'int' to 
 'addrvec_t'
   .\src\zookeeper.c(843): error C2065: 'resolved' : undeclared identifier
   .\src\zookeeper.c(843): error C2224: left of '.data' must have struct/union 
 type
   .\src\zookeeper.c(845): error C2065: 'resolved' : undeclared identifier
   .\src\zookeeper.c(848): error C2065: 'hosts' : undeclared identifier
   .\src\zookeeper.c(849): error C2065: 'hosts' : undeclared identifier
   .\src\zookeeper.c(850): error C2065: 'hosts' : undeclared identifier
   .\src\zookeeper.c(853): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(1177): error C2143: syntax error : missing ';' before 
 'const'
   .\src\zookeeper.c(1179): error C2065: 'endpoint_info' : undeclared 
 identifier
   .\src\zookeeper.c(1883): error C2143: syntax error : missing ';' before 
 'type'
   .\src\zookeeper.c(1884): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(1885): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(1916): error C2143: syntax error : missing ';' before 
 'type'
   .\src\zookeeper.c(1920): error C2143: syntax error : missing ';' before 
 'type'
   .\src\zookeeper.c(1927): error C2065: 'ssoresult' : undeclared identifier
   .\src\zookeeper.c(1927): error C2065: 'enable_tcp_nodelay' : undeclared 
 identifier
   .\src\zookeeper.c(1927): error C2065: 'enable_tcp_nodelay' : undeclared 
 identifier
   .\src\zookeeper.c(1928): error C2065: 'ssoresult' : undeclared identifier
   .\src\zookeeper.c(1944): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(1949): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(1962): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(1963): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(2004): error C2065: 'rc' : undeclared identifier
   .\src\zookeeper.c(2004): fatal error C1003: error count exceeds 100; 
 stopping compilation
 38 Warning(s)
 102 Error(s)



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira updated ZOOKEEPER-1805:


Attachment: ZOOKEEPER-1805-b3.4.patch

Uploading 3.4 patch.

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805-b3.4.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira updated ZOOKEEPER-1805:


Attachment: ZOOKEEPER-1805.patch

Small formatting change to the patch.

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805-b3.4.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Success: ZOOKEEPER-1805 PreCommit Build #1732

2013-10-31 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1732/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 311543 lines...]
 [exec] BUILD SUCCESSFUL
 [exec] Total time: 0 seconds
 [exec] 
 [exec] 
 [exec] 
 [exec] 
 [exec] +1 overall.  Here are the results of testing the latest attachment 
 [exec]   
http://issues.apache.org/jira/secure/attachment/12611551/ZOOKEEPER-1805.patch
 [exec]   against trunk revision 1535491.
 [exec] 
 [exec] +1 @author.  The patch does not contain any @author tags.
 [exec] 
 [exec] +1 tests included.  The patch appears to include 3 new or 
modified tests.
 [exec] 
 [exec] +1 javadoc.  The javadoc tool did not generate any warning 
messages.
 [exec] 
 [exec] +1 javac.  The applied patch does not increase the total number 
of javac compiler warnings.
 [exec] 
 [exec] +1 findbugs.  The patch does not introduce any new Findbugs 
(version 1.3.9) warnings.
 [exec] 
 [exec] +1 release audit.  The applied patch does not increase the 
total number of release audit warnings.
 [exec] 
 [exec] +1 core tests.  The patch passed core unit tests.
 [exec] 
 [exec] +1 contrib tests.  The patch passed contrib unit tests.
 [exec] 
 [exec] Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1732//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1732//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1732//console
 [exec] 
 [exec] This message is automatically generated.
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Adding comment to Jira.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] Comment added.
 [exec] 35df50fef323bba76130ed0d0be7879de90fa128 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

BUILD SUCCESSFUL
Total time: 33 minutes 30 seconds
Archiving artifacts
Recording test results
Description set: ZOOKEEPER-1805
Email was triggered for: Success
Sending email for trigger: Success



###
## FAILED TESTS (if any) 
##
All tests passed

[jira] [Commented] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-1805:
--

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12611551/ZOOKEEPER-1805.patch
  against trunk revision 1535491.

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 3 new or modified tests.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

+1 core tests.  The patch passed core unit tests.

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1732//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1732//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1732//console

This message is automatically generated.

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805-b3.4.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ZOOKEEPER-1805) Don't care value in ZooKeeper election breaks rolling upgrades

2013-10-31 Thread JIRA

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

Germán Blanco commented on ZOOKEEPER-1805:
--

+1
Thank you [~rgs] and [~fpj] for spotting this and the quick fix before release 
of 3.4.6.
Only a very mild suggestion, if you wish you could remove the changes 
introduced by ZOOKEEPER-1732 in Leader.java, Learner.java and QuorumPeer.java. 
I think they don't do anything significant anymore. Of course I might also be 
wrong, and the change would require testing things again, so ...

 Don't care value in ZooKeeper election breaks rolling upgrades
 

 Key: ZOOKEEPER-1805
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Flavio Junqueira
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1805-b3.4.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, 
 ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch


 This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ZOOKEEPER-1742) make check doesn't work on macos

2013-10-31 Thread JIRA

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

Germán Blanco commented on ZOOKEEPER-1742:
--

Sorry but I can't help any more here.
So far I haven't looked into the C code at all, and I think it would take me 
around a month  to figure out what is going on. On top of that I don't have 
easy access to a Mac.

 make check doesn't work on macos
 --

 Key: ZOOKEEPER-1742
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1742
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Flavio Junqueira
Assignee: Benjamin Reed
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1742-3.4.patch, ZOOKEEPER-1742.patch


 There are two problems I have spotted when running make check with the C 
 client. First, it complains that the sleep call is not defined in two test 
 files: tests/ZooKeeperQuorumServer.cc and tests/TestReconfigServer.cc. 
 Including unistd.h works. The second problem is with linker options. It 
 complains that --wrap is not a valid. I'm not sure how to deal with this 
 one yet, since I'm not sure why we are using it.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (BOOKKEEPER-700) GarbageCollectorThread exsiting with ArrayIndexOutOfBoundsException

2013-10-31 Thread Sijie Guo (JIRA)

[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13809962#comment-13809962
 ] 

Sijie Guo commented on BOOKKEEPER-700:
--

no. I don't think we need to do that as exitOnUnhandledException make things a 
bit dirty. Only critical threads like JournalThread needs to use BookieThread 
and they already there.

 GarbageCollectorThread exsiting with ArrayIndexOutOfBoundsException
 ---

 Key: BOOKKEEPER-700
 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-700
 Project: Bookkeeper
  Issue Type: Bug
  Components: bookkeeper-server
Reporter: Rakesh R
Assignee: Rakesh R
 Fix For: 4.3.0

 Attachments: 0001-BOOKKEEPER-700.patch, 0002-BOOKKEEPER-700.patch


 After completing compaction, GarbageCollectorThread will do flush any 
 outstanding offsets. When there is no offset present, its throwing following 
 exception and exiting.
 {code}
 2013-10-30 11:37:20,944 - ERROR - 
 [GarbageCollectorThread:NIOServerCnxnFactory$1@49] - Thread 
 Thread[GarbageCollectorThread,5,main] died
 java.lang.ArrayIndexOutOfBoundsException: -1
   at java.util.ArrayList.get(ArrayList.java:324)
   at 
 org.apache.bookkeeper.bookie.GarbageCollectorThread$CompactionScannerFactory.waitEntrylogFlushed(GarbageCollectorThread.java:151)
   at 
 org.apache.bookkeeper.bookie.GarbageCollectorThread$CompactionScannerFactory.flush(GarbageCollectorThread.java:175)
   at 
 org.apache.bookkeeper.bookie.GarbageCollectorThread.doCompactEntryLogs(GarbageCollectorThread.java:400)
   at 
 org.apache.bookkeeper.bookie.GarbageCollectorThread.run(GarbageCollectorThread.java:309)
 {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (BOOKKEEPER-696) stats collection on bookkeeper client

2013-10-31 Thread Sijie Guo (JIRA)

[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13809979#comment-13809979
 ] 

Sijie Guo commented on BOOKKEEPER-696:
--

actually I don't think it would affect development efficiency. although we 
can't reach agreement on this soon, I would put this aside to get other things 
to be in first.

 stats collection on bookkeeper client
 -

 Key: BOOKKEEPER-696
 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-696
 Project: Bookkeeper
  Issue Type: Sub-task
  Components: bookkeeper-client
Reporter: Sijie Guo
Assignee: Aniruddha
 Fix For: 4.3.0

 Attachments: 0001-client-stats-for-bookkeeper.patch, 
 0002-BOOKKEEPER-696-stats-collection-on-bookkeeper-client.patch


 Stats for bookkeeper client.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (BOOKKEEPER-429) Provide separate read and write threads in the bookkeeper server

2013-10-31 Thread Rakesh R (JIRA)

[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13809996#comment-13809996
 ] 

Rakesh R commented on BOOKKEEPER-429:
-

Please find the below trace which I've seen from the jenkins report.
https://builds.apache.org/job/bookkeeper-trunk-precommit-build/526/testReport/junit/org.apache.bookkeeper.client/SlowBookieTest/testSlowBookie/
{code}
java.lang.IllegalArgumentException
at 
java.util.concurrent.ThreadPoolExecutor.init(ThreadPoolExecutor.java:589)
at 
java.util.concurrent.ThreadPoolExecutor.init(ThreadPoolExecutor.java:514)
at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:84)
at org.apache.bookkeeper.bookie.Journal.init(Journal.java:493)
at org.apache.bookkeeper.bookie.Bookie.init(Bookie.java:422)
at 
org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:87)
at org.apache.bookkeeper.proto.BookieServer.init(BookieServer.java:76)
{code}

 Provide separate read and write threads in the bookkeeper server
 

 Key: BOOKKEEPER-429
 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-429
 Project: Bookkeeper
  Issue Type: Improvement
  Components: bookkeeper-server
Affects Versions: 4.2.0
Reporter: Aniruddha
Assignee: Aniruddha
 Fix For: 4.3.0

 Attachments: 
 0001-BOOKKEEPER-429-Provide-separate-read-and-write-threa.patch, 
 BK-429.patch, BOOKKEEPER-429.diff, BOOKKEEPER-429.diff


 The current bookkeeper server is single threaded. The same thread handles 
 reads and writes. When reads are slow (possibly because of excessive seeks), 
 add entry operations suffer in terms of latencies. Providing separate read 
 and write threads helps in reducing add entry latencies and increasing 
 throughput even when we're facing slow reads. Having a single read thread 
 also results in low disk utilization because seeks can't be ordered 
 efficiently by the OS. Multiple read threads would help in improving the read 
 throughput. 
 Discussion on this can be found at 
 http://mail-archives.apache.org/mod_mbox/zookeeper-bookkeeper-dev/201209.mbox/%3ccaolhydqpzn-v10zynfwud_h0qzrxtmjgttx7a9eofohyyty...@mail.gmail.com%3e
 Reviewboard : https://reviews.apache.org/r/7560/



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (BOOKKEEPER-429) Provide separate read and write threads in the bookkeeper server

2013-10-31 Thread Sijie Guo (JIRA)

[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13810002#comment-13810002
 ] 

Sijie Guo commented on BOOKKEEPER-429:
--

ok, this doesn't exist in my patch, only existed after Ivan rebased the patch, 
as this comes from Journal's change. will revisit this after then when I had 
time.

 Provide separate read and write threads in the bookkeeper server
 

 Key: BOOKKEEPER-429
 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-429
 Project: Bookkeeper
  Issue Type: Improvement
  Components: bookkeeper-server
Affects Versions: 4.2.0
Reporter: Aniruddha
Assignee: Aniruddha
 Fix For: 4.3.0

 Attachments: 
 0001-BOOKKEEPER-429-Provide-separate-read-and-write-threa.patch, 
 BK-429.patch, BOOKKEEPER-429.diff, BOOKKEEPER-429.diff


 The current bookkeeper server is single threaded. The same thread handles 
 reads and writes. When reads are slow (possibly because of excessive seeks), 
 add entry operations suffer in terms of latencies. Providing separate read 
 and write threads helps in reducing add entry latencies and increasing 
 throughput even when we're facing slow reads. Having a single read thread 
 also results in low disk utilization because seeks can't be ordered 
 efficiently by the OS. Multiple read threads would help in improving the read 
 throughput. 
 Discussion on this can be found at 
 http://mail-archives.apache.org/mod_mbox/zookeeper-bookkeeper-dev/201209.mbox/%3ccaolhydqpzn-v10zynfwud_h0qzrxtmjgttx7a9eofohyyty...@mail.gmail.com%3e
 Reviewboard : https://reviews.apache.org/r/7560/



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (BOOKKEEPER-651) Add another type of subscriber for cluster subscription

2013-10-31 Thread ruoyiqing (JIRA)

[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13810187#comment-13810187
 ] 

ruoyiqing commented on BOOKKEEPER-651:
--

[~hustlmsp]
Our team has implemented cluster Subscription based on BookKeeper 4.2.1, mainly 
add three features:
1/  add cluster subscription type
2/  window control for each client in cluster for flow control
3/  retry policy and re-delivery policy of cluster subscription
For code view, see github:
 https://github.com/mocc/bookkeeper-lab

 Add another type of subscriber for cluster subscription
 ---

 Key: BOOKKEEPER-651
 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-651
 Project: Bookkeeper
  Issue Type: Sub-task
  Components: hedwig-client, hedwig-server
Reporter: Sijie Guo

 this ticket is tend to add another type of subscriber for cluster 
 subscription.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (BOOKKEEPER-700) GarbageCollectorThread exsiting with ArrayIndexOutOfBoundsException

2013-10-31 Thread Ivan Kelly (JIRA)

[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13810328#comment-13810328
 ] 

Ivan Kelly commented on BOOKKEEPER-700:
---

maybe a setCritical() call could be added to BookieThread to give the same 
effect, which could be set only by the threads which need to Journal, flush 
threads, etc.

GC isn't really critical though. We should log a loud error when it dies though.

 GarbageCollectorThread exsiting with ArrayIndexOutOfBoundsException
 ---

 Key: BOOKKEEPER-700
 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-700
 Project: Bookkeeper
  Issue Type: Bug
  Components: bookkeeper-server
Reporter: Rakesh R
Assignee: Rakesh R
 Fix For: 4.3.0

 Attachments: 0001-BOOKKEEPER-700.patch, 0002-BOOKKEEPER-700.patch


 After completing compaction, GarbageCollectorThread will do flush any 
 outstanding offsets. When there is no offset present, its throwing following 
 exception and exiting.
 {code}
 2013-10-30 11:37:20,944 - ERROR - 
 [GarbageCollectorThread:NIOServerCnxnFactory$1@49] - Thread 
 Thread[GarbageCollectorThread,5,main] died
 java.lang.ArrayIndexOutOfBoundsException: -1
   at java.util.ArrayList.get(ArrayList.java:324)
   at 
 org.apache.bookkeeper.bookie.GarbageCollectorThread$CompactionScannerFactory.waitEntrylogFlushed(GarbageCollectorThread.java:151)
   at 
 org.apache.bookkeeper.bookie.GarbageCollectorThread$CompactionScannerFactory.flush(GarbageCollectorThread.java:175)
   at 
 org.apache.bookkeeper.bookie.GarbageCollectorThread.doCompactEntryLogs(GarbageCollectorThread.java:400)
   at 
 org.apache.bookkeeper.bookie.GarbageCollectorThread.run(GarbageCollectorThread.java:309)
 {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)