ZooKeeper_branch34_solaris - Build # 1006 - Still Failing

2015-05-15 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_solaris/1006/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 168057 lines...]
[junit] 2015-05-15 08:13:09,163 [myid:] - INFO  [main:ZooKeeperServer@441] 
- shutting down
[junit] 2015-05-15 08:13:09,163 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2015-05-15 08:13:09,164 [myid:] - INFO  
[main:PrepRequestProcessor@760] - Shutting down
[junit] 2015-05-15 08:13:09,164 [myid:] - INFO  
[main:SyncRequestProcessor@209] - Shutting down
[junit] 2015-05-15 08:13:09,164 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2015-05-15 08:13:09,164 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited!
[junit] 2015-05-15 08:13:09,164 [myid:] - INFO  
[main:FinalRequestProcessor@415] - shutdown of request processor complete
[junit] 2015-05-15 08:13:09,165 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-05-15 08:13:09,165 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2015-05-15 08:13:09,166 [myid:] - INFO  [main:ClientBase@443] - 
STARTING server
[junit] 2015-05-15 08:13:09,166 [myid:] - INFO  [main:ClientBase@364] - 
CREATING server instance 127.0.0.1:11221
[junit] 2015-05-15 08:13:09,167 [myid:] - INFO  
[main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2015-05-15 08:13:09,167 [myid:] - INFO  [main:ClientBase@339] - 
STARTING server instance 127.0.0.1:11221
[junit] 2015-05-15 08:13:09,167 [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/test9220720888178963332.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/trunk/build/test/tmp/test9220720888178963332.junit.dir/version-2
[junit] 2015-05-15 08:13:09,171 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-05-15 08:13:09,171 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:52360
[junit] 2015-05-15 08:13:09,171 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:52360
[junit] 2015-05-15 08:13:09,172 [myid:] - INFO  
[Thread-5:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2015-05-15 08:13:09,173 [myid:] - INFO  
[Thread-5:NIOServerCnxn@1007] - Closed socket connection for client 
/127.0.0.1:52360 (no session established for client)
[junit] 2015-05-15 08:13:09,173 [myid:] - INFO  [main:JMXEnv@229] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2015-05-15 08:13:09,175 [myid:] - INFO  [main:JMXEnv@246] - 
expect:InMemoryDataTree
[junit] 2015-05-15 08:13:09,175 [myid:] - INFO  [main:JMXEnv@250] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2015-05-15 08:13:09,175 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2015-05-15 08:13:09,175 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2015-05-15 08:13:09,175 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 8713
[junit] 2015-05-15 08:13:09,176 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2015-05-15 08:13:09,176 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2015-05-15 08:13:09,176 [myid:] - INFO  [main:ClientBase@520] - 
tearDown starting
[junit] 2015-05-15 08:13:09,579 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x14d56a25111 closed
[junit] 2015-05-15 08:13:09,579 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@512] - EventThread shut down for 
session: 0x14d56a25111
[junit] 2015-05-15 08:13:09,579 [myid:] - INFO  [main:ClientBase@490] - 
STOPPING server
[junit] 2015-05-15 08:13:09,582 [myid:] - INFO  [main:ZooKeeperServer@441] 
- shutting down
[junit] 2015-05-15 08:13:09,582 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2015-05-15 08:13:09,582 [myid:] - INFO  
[main:PrepRequestProcessor@760] - Shutting down
[junit] 2015-05-15 08:13:09,582 [myid:] - INFO  
[main:SyncRequestProcessor@209] - Shutting down
[junit] 2015-05-15 08:13:09,582 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exite

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

2015-05-15 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/1806/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 124 lines...]
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.

jute:
[javac] Compiling 39 source files to 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\build\classes

compile_jute_uptodate:

compile_jute:
[mkdir] Created dir: 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\java\generated
[mkdir] Created dir: 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\generated
 [java] ../../zookeeper.jute Parsed Successfully
 [java] ../../zookeeper.jute Parsed Successfully
[touch] Creating 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\java\generated\.generated

BUILD SUCCESSFUL
Total time: 8 seconds
[ZooKeeper-trunk-WinVS2008] $ cmd /c call 
C:\Windows\TEMP\hudson4103618725163186930.bat

f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008>set 
ZOOKEEPER_HOME=f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk 

f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008>msbuild 
trunk/src/c/zookeeper.sln /p:Configuration=Release 
Microsoft (R) Build Engine version 4.0.30319.18408
[Microsoft .NET Framework, version 4.0.30319.18444]
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, 
please add the "/m" switch.
Build started 5/15/2015 9:22:22 AM.
Project 
"f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln"
 on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Win32".
zookeeper:
  C:\Program Files (x86)\Microsoft Visual Studio 
9.0\Common7\IDE\..\..\vc\vcpackages\VCBuild.exe 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.vcproj
 "Release|Win32" 
cl : Command line warning D9035: option 'Wp64' has been deprecated and will be 
removed in a future release 
[f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln]
.\src\zookeeper.c(43): fatal error C1083: Cannot open include file: 'unistd.h': 
No such file or directory 
[f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln]
Cli:
  C:\Program Files (x86)\Microsoft Visual Studio 
9.0\Common7\IDE\..\..\vc\vcpackages\VCBuild.exe 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\Cli.vcproj
 "Release|Win32" 
Done Building Project 
"f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln"
 (default targets) -- FAILED.

Build FAILED.

"f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln"
 (default target) (1) ->
(zookeeper target) -> 
  cl : Command line warning D9035: option 'Wp64' has been deprecated and will 
be removed in a future release 
[f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln]


"f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln"
 (default target) (1) ->
(zookeeper target) -> 
  .\src\zookeeper.c(43): fatal error C1083: Cannot open include file: 
'unistd.h': No such file or directory 
[f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln]

1 Warning(s)
1 Error(s)

Time Elapsed 00:00:05.73

f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008>exit 1 
Build step 'Execute Windows batch command' marked build as failure
Email was triggered for: Failure
Sending email for trigger: Failure



###
## FAILED TESTS (if any) 
##
No tests ran.

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

2015-05-15 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1032/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by timer
Building remotely on solaris1 (Solaris) in workspace 
/export/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris
Updating http://svn.apache.org/repos/asf/zookeeper/trunk at revision 
'2015-05-15T08:33:32.825 +'
U src/java/main/org/apache/zookeeper/ClientCnxn.java
U src/java/test/org/apache/zookeeper/PortAssignment.java
A src/java/test/org/apache/zookeeper/PortAssignmentTest.java
U src/java/test/org/apache/zookeeper/server/ZxidRolloverTest.java
U src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java
U src/java/test/org/apache/zookeeper/server/quorum/Zab1_0Test.java
U 
src/java/test/org/apache/zookeeper/server/quorum/StandaloneDisabledTest.java
U 
src/java/test/org/apache/zookeeper/server/quorum/CommitProcessorTest.java
U src/java/test/org/apache/zookeeper/test/QuorumBase.java
U src/java/test/org/apache/zookeeper/test/TruncateTest.java
U src/java/test/org/apache/zookeeper/test/NettyNettySuiteBase.java
U src/java/test/org/apache/zookeeper/test/NioNettySuiteBase.java
U src/java/test/org/apache/zookeeper/test/QuorumUtil.java
U 
src/java/test/org/apache/zookeeper/test/WatchEventWhenAutoResetTest.java
U src/java/test/org/apache/zookeeper/test/HierarchicalQuorumTest.java
U CHANGES.txt
U build.xml
At revision 1679508
Updating http://svn.apache.org/repos/asf/hadoop/nightly at revision 
'2015-05-15T08:33:32.825 +'
At revision 1679508
no change for http://svn.apache.org/repos/asf/hadoop/nightly since the previous 
build
No emails were triggered.
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[ZooKeeper-trunk-solaris] $ /bin/bash /var/tmp/hudson975699497356289797.sh
/var/tmp/hudson975699497356289797.sh: line 12: ant: command not found
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure



###
## FAILED TESTS (if any) 
##
No tests ran.

ZooKeeper_branch34_jdk8 - Build # 372 - Failure

2015-05-15 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/372/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 215281 lines...]
[junit] 2015-05-15 08:52:53,368 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2015-05-15 08:52:53,368 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2015-05-15 08:52:53,368 [myid:] - INFO  [main:ClientBase@490] - 
STOPPING server
[junit] 2015-05-15 08:52:53,368 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@224] - 
NIOServerCnxn factory exited run method
[junit] 2015-05-15 08:52:53,369 [myid:] - INFO  [main:ZooKeeperServer@441] 
- shutting down
[junit] 2015-05-15 08:52:53,369 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2015-05-15 08:52:53,369 [myid:] - INFO  
[main:PrepRequestProcessor@760] - Shutting down
[junit] 2015-05-15 08:52:53,369 [myid:] - INFO  
[main:SyncRequestProcessor@209] - Shutting down
[junit] 2015-05-15 08:52:53,369 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2015-05-15 08:52:53,370 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited!
[junit] 2015-05-15 08:52:53,370 [myid:] - INFO  
[main:FinalRequestProcessor@415] - shutdown of request processor complete
[junit] 2015-05-15 08:52:53,370 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-05-15 08:52:53,371 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2015-05-15 08:52:53,372 [myid:] - INFO  [main:ClientBase@443] - 
STARTING server
[junit] 2015-05-15 08:52:53,372 [myid:] - INFO  [main:ClientBase@364] - 
CREATING server instance 127.0.0.1:11221
[junit] 2015-05-15 08:52:53,372 [myid:] - INFO  
[main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2015-05-15 08:52:53,373 [myid:] - INFO  [main:ClientBase@339] - 
STARTING server instance 127.0.0.1:11221
[junit] 2015-05-15 08:52:53,373 [myid:] - INFO  [main:ZooKeeperServer@162] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/branch-3.4/build/test/tmp/test8866281259672846415.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/branch-3.4/build/test/tmp/test8866281259672846415.junit.dir/version-2
[junit] 2015-05-15 08:52:53,376 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-05-15 08:52:53,376 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:56683
[junit] 2015-05-15 08:52:53,377 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:56683
[junit] 2015-05-15 08:52:53,377 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2015-05-15 08:52:53,378 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1007] - Closed socket connection for client 
/127.0.0.1:56683 (no session established for client)
[junit] 2015-05-15 08:52:53,378 [myid:] - INFO  [main:JMXEnv@229] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2015-05-15 08:52:53,380 [myid:] - INFO  [main:JMXEnv@246] - 
expect:InMemoryDataTree
[junit] 2015-05-15 08:52:53,380 [myid:] - INFO  [main:JMXEnv@250] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2015-05-15 08:52:53,380 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2015-05-15 08:52:53,380 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2015-05-15 08:52:53,380 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 34221
[junit] 2015-05-15 08:52:53,381 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2015-05-15 08:52:53,381 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2015-05-15 08:52:53,381 [myid:] - INFO  [main:ClientBase@520] - 
tearDown starting
[junit] 2015-05-15 08:52:53,456 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x14d56c6b737 closed
[junit] 2015-05-15 08:52:53,457 [myid:] - INFO  [main:ClientBase@490] - 
STOPPING server
[junit] 2015-05-15 08:52:53,457 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@512] - EventThread shut down for 
session: 0x14d56c6b737
[junit] 2015-05-15 08:52:53,457 [myid:] - INFO  
[NIOServerC

ZooKeeper_branch34_jdk7 - Build # 887 - Still Failing

2015-05-15 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk7/887/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 211904 lines...]
[junit] 2015-05-15 09:40:59,986 [myid:] - INFO  [main:ClientBase@490] - 
STOPPING server
[junit] 2015-05-15 09:40:59,987 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@224] - 
NIOServerCnxn factory exited run method
[junit] 2015-05-15 09:40:59,987 [myid:] - INFO  [main:ZooKeeperServer@441] 
- shutting down
[junit] 2015-05-15 09:40:59,987 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2015-05-15 09:40:59,987 [myid:] - INFO  
[main:PrepRequestProcessor@760] - Shutting down
[junit] 2015-05-15 09:40:59,987 [myid:] - INFO  
[main:SyncRequestProcessor@209] - Shutting down
[junit] 2015-05-15 09:40:59,987 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2015-05-15 09:40:59,988 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited!
[junit] 2015-05-15 09:40:59,988 [myid:] - INFO  
[main:FinalRequestProcessor@415] - shutdown of request processor complete
[junit] 2015-05-15 09:40:59,988 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-05-15 09:40:59,989 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2015-05-15 09:40:59,990 [myid:] - INFO  [main:ClientBase@443] - 
STARTING server
[junit] 2015-05-15 09:40:59,990 [myid:] - INFO  [main:ClientBase@364] - 
CREATING server instance 127.0.0.1:11221
[junit] 2015-05-15 09:40:59,991 [myid:] - INFO  
[main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2015-05-15 09:40:59,991 [myid:] - INFO  [main:ClientBase@339] - 
STARTING server instance 127.0.0.1:11221
[junit] 2015-05-15 09:40:59,991 [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/test7375934431198262792.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/branch-3.4/build/test/tmp/test7375934431198262792.junit.dir/version-2
[junit] 2015-05-15 09:40:59,994 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-05-15 09:40:59,995 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:54812
[junit] 2015-05-15 09:40:59,995 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:54812
[junit] 2015-05-15 09:40:59,995 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2015-05-15 09:40:59,996 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1007] - Closed socket connection for client 
/127.0.0.1:54812 (no session established for client)
[junit] 2015-05-15 09:40:59,996 [myid:] - INFO  [main:JMXEnv@229] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2015-05-15 09:40:59,997 [myid:] - INFO  [main:JMXEnv@246] - 
expect:InMemoryDataTree
[junit] 2015-05-15 09:40:59,998 [myid:] - INFO  [main:JMXEnv@250] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2015-05-15 09:40:59,998 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2015-05-15 09:40:59,998 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2015-05-15 09:40:59,998 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 10472
[junit] 2015-05-15 09:40:59,998 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2015-05-15 09:40:59,998 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2015-05-15 09:40:59,999 [myid:] - INFO  [main:ClientBase@520] - 
tearDown starting
[junit] 2015-05-15 09:41:00,000 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2015-05-15 09:41:00,001 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2015-05-15 09:41:00,075 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x14d56f2c34b closed
[junit] 2015-05-15 09:41:00,075 [myid:] - INFO  [main:ClientBase@490] - 
STOPPING server
[junit] 2015-05-15 09:41:00,075 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@512] - EventThread shut down for 
session: 0x14d56f2c34b
[junit] 2015-05-15 09:41:00,075 [myid:] - INFO  
[NIOServerCxn.Factory:

ZooKeeper-trunk-jdk8 - Build # 383 - Failure

2015-05-15 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/383/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 1492 lines...]
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.

jute:
[javac] Compiling 39 source files to 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.7
[javac] 1 warning

compile_jute_uptodate:

compile_jute:
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/src/java/generated
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/src/c/generated
 [java] ../../zookeeper.jute Parsed Successfully
 [java] ../../zookeeper.jute Parsed Successfully
[touch] Creating 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/src/java/generated/.generated

ver-gen:
[javac] Compiling 1 source file to 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.7
[javac] 1 warning

svn-revision:
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/.revision

version-info:

process-template:

build-generated:
[javac] Compiling 60 source files to 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.7
[javac] 1 warning

compile:
[javac] Compiling 210 source files to 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.7
[javac] 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/src/java/main/org/apache/zookeeper/server/FinalRequestProcessor.java:134:
 error: unmappable character for encoding ASCII
[javac] // was not being queued ??? ZOOKEEPER-558) properly. This 
happens, for example,
[javac] ^
[javac] 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/src/java/main/org/apache/zookeeper/server/FinalRequestProcessor.java:134:
 error: unmappable character for encoding ASCII
[javac] // was not being queued ??? ZOOKEEPER-558) properly. This 
happens, for example,
[javac]  ^
[javac] 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/src/java/main/org/apache/zookeeper/server/FinalRequestProcessor.java:134:
 error: unmappable character for encoding ASCII
[javac] // was not being queued ??? ZOOKEEPER-558) properly. This 
happens, for example,
[javac]   ^
[javac] 3 errors
[javac] 1 warning

BUILD FAILED
/x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build.xml:434: 
Compile failed; see the compiler error output for details.

Total time: 11 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure



###
## FAILED TESTS (if any) 
##
No tests ran.

ZooKeeper-trunk - Build # 2692 - Failure

2015-05-15 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/2692/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 375362 lines...]
[junit] 2015-05-15 11:26:59,648 [myid:] - WARN  
[LearnerHandler-/127.0.0.1:42967:LearnerHandler@879] - Ignoring unexpected 
exception
[junit] java.lang.InterruptedException
[junit] at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1219)
[junit] at 
java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340)
[junit] at 
java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:338)
[junit] at 
org.apache.zookeeper.server.quorum.LearnerHandler.shutdown(LearnerHandler.java:877)
[junit] at 
org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:598)
[junit] 2015-05-15 11:26:59,650 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2015-05-15 11:26:59,650 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2015-05-15 11:26:59,651 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:16744:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2015-05-15 11:26:59,652 [myid:] - INFO  
[QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id3,name1=replica.3,name2=Leader]
[junit] 2015-05-15 11:26:59,652 [myid:] - WARN  
[QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled):QuorumPeer@1039]
 - Unexpected exception
[junit] java.lang.InterruptedException
[junit] at java.lang.Object.wait(Native Method)
[junit] at 
org.apache.zookeeper.server.quorum.Leader.lead(Leader.java:559)
[junit] at 
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1036)
[junit] 2015-05-15 11:26:59,652 [myid:] - INFO  
[QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled):Leader@613] 
- Shutting down
[junit] 2015-05-15 11:26:59,652 [myid:] - WARN  
[QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled):QuorumPeer@1070]
 - PeerState set to LOOKING
[junit] 2015-05-15 11:26:59,652 [myid:] - WARN  
[QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled):QuorumPeer@1052]
 - QuorumPeer main thread exited
[junit] 2015-05-15 11:26:59,652 [myid:] - INFO  
[QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id3]
[junit] 2015-05-15 11:26:59,652 [myid:] - INFO  
[localhost/127.0.0.1:16751:QuorumCnxManager$Listener@654] - Leaving listener
[junit] 2015-05-15 11:26:59,653 [myid:] - INFO  
[QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id3,name1=replica.3]
[junit] 2015-05-15 11:26:59,653 [myid:] - INFO  [main:QuorumUtil@254] - 
Shutting down leader election 
QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled)
[junit] 2015-05-15 11:26:59,653 [myid:] - INFO  
[QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id3,name1=replica.1]
[junit] 2015-05-15 11:26:59,653 [myid:] - INFO  [main:QuorumUtil@259] - 
Waiting for QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled) 
to exit thread
[junit] 2015-05-15 11:26:59,653 [myid:] - INFO  
[QuorumPeer[myid=3](plain=/0:0:0:0:0:0:0:0:16744)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id3,name1=replica.2]
[junit] 2015-05-15 11:26:59,654 [myid:] - INFO  
[main:FourLetterWordMain@63] - connecting to 127.0.0.1 16738
[junit] 2015-05-15 11:26:59,654 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:16738 is no longer accepting client connections
[junit] 2015-05-15 11:26:59,654 [myid:] - INFO  
[main:FourLetterWordMain@63] - connecting to 127.0.0.1 16741
[junit] 2015-05-15 11:26:59,654 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:16741 is no longer accepting client connections
[junit] 2015-05-15 11:26:59,654 [myid:] - INFO  
[main:FourLetterWordMain@63] - connecting to 127.0.0.1 16744
[junit] 2015-05-15 11:26:59,655 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:16744 is no longer accepting client connections
[junit] 2015-05-15 11:26:59,667 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testPortChange
[junit] 2015-05-15 11:26:59,668 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testPortC

[jira] [Commented] (ZOOKEEPER-2126) Improve exit log messsage of EventThread and SendThread by adding SessionId

2015-05-15 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545345#comment-14545345
 ] 

Hudson commented on ZOOKEEPER-2126:
---

FAILURE: Integrated in ZooKeeper-trunk #2692 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/2692/])
ZOOKEEPER-2126 Improve exit log messsage of EventThread and SendThread by 
adding SessionId (surendra singh lilhore via rakeshr) (rakeshr: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1679489)
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/main/org/apache/zookeeper/ClientCnxn.java


> Improve exit log messsage of EventThread and SendThread by adding SessionId
> ---
>
> Key: ZOOKEEPER-2126
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2126
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: java client
>Affects Versions: 3.6.0
>Reporter: zhihai xu
>Assignee: surendra singh lilhore
> Fix For: 3.4.7, 3.5.1, 3.6.0
>
> Attachments: ZOOKEEPER-2126.patch, ZOOKEEPER-2126_1.patch, 
> ZOOKEEPER-2126_2.patch
>
>
> We saw the following out of order log when close Zookeeper client session.
> {code}
> 2015-02-16 06:01:12,985 INFO org.apache.zookeeper.ZooKeeper: Session: 
> 0x24b8df4044005d4 closed
> .
> 2015-02-16 06:01:12,995 INFO org.apache.zookeeper.ClientCnxn: EventThread 
> shut down
> {code}
> This logs are very confusing if a new Zookeeper client session is created 
> between these two logs. We may think new Zookeeper client session shutdown it 
> EventThread instead of the old closed Zookeeper client session.
> Should we wait for sendThread and eventThread died in the ClientCnxn.close?
> We can add the following code in ClientCnxn.close.
> {code}
> sendThread.join(timeout);
> eventThread.join(timeout);
> {code}
> with the change, we won't interleave old closed session with new session.
> We can also create a new close API to support this so we won't affect the old 
> code if people use old close API.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ZOOKEEPER-2190) In StandaloneDisabledTest, testReconfig() shouldn't take leaving servers as joining servers

2015-05-15 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545347#comment-14545347
 ] 

Hudson commented on ZOOKEEPER-2190:
---

FAILURE: Integrated in ZooKeeper-trunk #2692 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/2692/])
ZOOKEEPER-2190 fix StandaloneDisabledTest#testReconfig

In StandaloneDisabledTest, testReconfig() shouldn't take leaving servers
as joining servers (Hongchao Deng via rgs). (rgs: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1679444)
* /zookeeper/trunk/CHANGES.txt
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/StandaloneDisabledTest.java


> In StandaloneDisabledTest, testReconfig() shouldn't take leaving servers as 
> joining servers
> ---
>
> Key: ZOOKEEPER-2190
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2190
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: tests
>Reporter: Hongchao Deng
>Assignee: Hongchao Deng
> Fix For: 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-2190.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ZOOKEEPER-2183) Concurrent Testing Processes and Port Assignments

2015-05-15 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545346#comment-14545346
 ] 

Hudson commented on ZOOKEEPER-2183:
---

FAILURE: Integrated in ZooKeeper-trunk #2692 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/2692/])
ZOOKEEPER-2183 Concurrent Testing Processes and Port Assignments (Chris Nauroth 
via hdeng) (hdeng: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1679400)
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/build.xml
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/PortAssignment.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/PortAssignmentTest.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/ZxidRolloverTest.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/CommitProcessorTest.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/Zab1_0Test.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/HierarchicalQuorumTest.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/NettyNettySuiteBase.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/NioNettySuiteBase.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/QuorumBase.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/QuorumUtil.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/TruncateTest.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/WatchEventWhenAutoResetTest.java


> Concurrent Testing Processes and Port Assignments
> -
>
> Key: ZOOKEEPER-2183
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2183
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: tests
>Affects Versions: 3.5.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
> Fix For: 3.5.1, 3.6.0
>
> Attachments: ZOOKEEPER-2183.001.patch, ZOOKEEPER-2183.002.patch, 
> ZOOKEEPER-2183.003.patch, ZOOKEEPER-2183.004.patch, ZOOKEEPER-2183.005.patch, 
> threads-change.patch
>
>
> Tests use {{PortAssignment#unique}} for assignment of the ports to bind 
> during tests.  Currently, this method works by using a monotonically 
> increasing counter from a static starting point.  Generally, this is 
> sufficient to achieve uniqueness within a single JVM process, but it does not 
> achieve uniqueness across multiple processes on the same host.  This can 
> cause tests to get bind errors if there are multiple pre-commit jobs running 
> concurrently on the same Jenkins host.  This also prevents running tests in 
> parallel to improve the speed of pre-commit runs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ZOOKEEPER-2183) Concurrent Testing Processes and Port Assignments

2015-05-15 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545826#comment-14545826
 ] 

Chris Nauroth commented on ZOOKEEPER-2183:
--

Hi [~rakeshr].

Unfortunately, the times on the Jenkins /testReport URLs won't be an accurate 
indicator of wall clock time.  The Jenkins report works by parsing the JUnit 
output for the lines that show the elapsed time of each test suite.  This goes 
into the Duration column for each test suite.  Then, at the package level, 
Duration is calculated as the sum of all suite durations in the package.  
Finally, the total time for the whole test run is calculated as the sum of all. 
 Jenkins is not aware that the test suites were distributed across multiple 
JUnit processes, so each of these sum operations accidentally double-counts the 
actual clock time.  (Actually, it can be as much as 8x-counts the clock time 
when you consider we chose 8 concurrent processes.)

For example, assuming 2 test suites that each need 1 minute to run, and we use 
2 JUnit processes, Jenkins will report the time as 2 minutes, even though you 
and I looking at a wall clock know it finished in 1 minute.

You're correct that looking at the overall job execution time still shows the 
benefit of this change, 13 minutes in your example.  That's because this is a 
raw measurement of the Jenkins job execution time.

> Concurrent Testing Processes and Port Assignments
> -
>
> Key: ZOOKEEPER-2183
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2183
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: tests
>Affects Versions: 3.5.0
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
> Fix For: 3.5.1, 3.6.0
>
> Attachments: ZOOKEEPER-2183.001.patch, ZOOKEEPER-2183.002.patch, 
> ZOOKEEPER-2183.003.patch, ZOOKEEPER-2183.004.patch, ZOOKEEPER-2183.005.patch, 
> threads-change.patch
>
>
> Tests use {{PortAssignment#unique}} for assignment of the ports to bind 
> during tests.  Currently, this method works by using a monotonically 
> increasing counter from a static starting point.  Generally, this is 
> sufficient to achieve uniqueness within a single JVM process, but it does not 
> achieve uniqueness across multiple processes on the same host.  This can 
> cause tests to get bind errors if there are multiple pre-commit jobs running 
> concurrently on the same Jenkins host.  This also prevents running tests in 
> parallel to improve the speed of pre-commit runs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


ZooKeeper-trunk-openjdk7 - Build # 811 - Failure

2015-05-15 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/811/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 376124 lines...]
[junit] java.lang.InterruptedException
[junit] at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1219)
[junit] at 
java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340)
[junit] at 
java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:338)
[junit] at 
org.apache.zookeeper.server.quorum.LearnerHandler.shutdown(LearnerHandler.java:877)
[junit] at 
org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:598)
[junit] 2015-05-15 19:56:45,314 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2015-05-15 19:56:45,315 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2015-05-15 19:56:45,315 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:19439:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2015-05-15 19:56:45,316 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.4,name2=Leader]
[junit] 2015-05-15 19:56:45,316 [myid:] - INFO  
[/127.0.0.1:19441:QuorumCnxManager$Listener@654] - Leaving listener
[junit] 2015-05-15 19:56:45,316 [myid:] - WARN  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):QuorumPeer@1039]
 - Unexpected exception
[junit] java.lang.InterruptedException
[junit] at java.lang.Object.wait(Native Method)
[junit] at 
org.apache.zookeeper.server.quorum.Leader.lead(Leader.java:559)
[junit] at 
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1036)
[junit] 2015-05-15 19:56:45,316 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):Leader@613] 
- Shutting down
[junit] 2015-05-15 19:56:45,316 [myid:] - INFO  [main:QuorumUtil@254] - 
Shutting down leader election 
QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled)
[junit] 2015-05-15 19:56:45,316 [myid:] - WARN  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):QuorumPeer@1070]
 - PeerState set to LOOKING
[junit] 2015-05-15 19:56:45,317 [myid:] - WARN  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):QuorumPeer@1052]
 - QuorumPeer main thread exited
[junit] 2015-05-15 19:56:45,317 [myid:] - INFO  [main:QuorumUtil@259] - 
Waiting for QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled) 
to exit thread
[junit] 2015-05-15 19:56:45,317 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id4]
[junit] 2015-05-15 19:56:45,317 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.4]
[junit] 2015-05-15 19:56:45,317 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.1]
[junit] 2015-05-15 19:56:45,317 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.2]
[junit] 2015-05-15 19:56:45,317 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.3]
[junit] 2015-05-15 19:56:45,317 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/0:0:0:0:0:0:0:0:19439)(secure=disabled):MBeanRegistry@119]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.5]
[junit] 2015-05-15 19:56:45,317 [myid:] - INFO  [main:QuorumUtil@250] - 
Shutting down quorum peer 
QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:19442)(secure=disabled)
[junit] 2015-05-15 19:56:45,318 [myid:] - INFO  [main:QuorumUtil@254] - 
Shutting down leader election 
QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:19442)(secure=disabled)
[junit] 2015-05-15 19:56:45,318 [myid:] - INFO  [main:QuorumUtil@259] - 
Waiting for QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:19442)(secure=disabled) 
to exit thread
[junit] 2015-05-15 19:56:45,318 [myid:] - INFO  
[main:FourLetterWordMain@63] - connecting to 127.0.0

[jira] [Updated] (ZOOKEEPER-2190) In StandaloneDisabledTest, testReconfig() shouldn't take leaving servers as joining servers

2015-05-15 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki updated ZOOKEEPER-2190:
---
Fix Version/s: (was: 3.5.2)
   3.5.1

> In StandaloneDisabledTest, testReconfig() shouldn't take leaving servers as 
> joining servers
> ---
>
> Key: ZOOKEEPER-2190
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2190
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: tests
>Reporter: Hongchao Deng
>Assignee: Hongchao Deng
> Fix For: 3.5.1, 3.6.0
>
> Attachments: ZOOKEEPER-2190.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2101) Transaction larger than max buffer of jute makes zookeeper unavailable

2015-05-15 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki updated ZOOKEEPER-2101:
---
Fix Version/s: (was: 3.5.1)
   3.6.0
   3.5.2

> Transaction larger than max buffer of jute makes zookeeper unavailable
> --
>
> Key: ZOOKEEPER-2101
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2101
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: jute
>Affects Versions: 3.4.4
>Reporter: Liu Shaohui
> Fix For: 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-2101-v1.diff, ZOOKEEPER-2101-v2.diff, 
> ZOOKEEPER-2101-v3.diff, ZOOKEEPER-2101-v4.diff, test.diff
>
>
> *Problem*
> For multi operation, PrepRequestProcessor may produce a large transaction 
> whose size may be larger than the max buffer size of jute. There is check of 
> buffer size in readBuffer method  of BinaryInputArchive, but no check in 
> writeBuffer method  of BinaryOutputArchive, which will cause that 
> 1, Leader can sync transaction to txn log and send the large transaction to 
> the followers, but the followers failed to read the transaction and can't 
> sync with leader.
> {code}
> 2015-01-04,12:42:26,474 WARN org.apache.zookeeper.server.quorum.Learner: 
> [myid:2] Exception when following the leader
> java.io.IOException: Unreasonable length = 2054758
> at 
> org.apache.jute.BinaryInputArchive.readBuffer(BinaryInputArchive.java:100)
> at 
> org.apache.zookeeper.server.quorum.QuorumPacket.deserialize(QuorumPacket.java:85)
> at 
> org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArchive.java:108)
> at 
> org.apache.zookeeper.server.quorum.Learner.readPacket(Learner.java:152)
> at 
> org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:85)
> at 
> org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:740)
> 2015-01-04,12:42:26,475 INFO org.apache.zookeeper.server.quorum.Learner: 
> [myid:2] shutdown called
> java.lang.Exception: shutdown Follower
> at 
> org.apache.zookeeper.server.quorum.Follower.shutdown(Follower.java:166)
> at 
> org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:744)
> {code}
> 2, The leader lose all followers, which trigger the leader election. The old 
> leader will become leader again for it has up-to-date data.
> {code}
> 2015-01-04,12:42:28,502 INFO org.apache.zookeeper.server.quorum.Leader: 
> [myid:3] Shutting down
> 2015-01-04,12:42:28,502 INFO org.apache.zookeeper.server.quorum.Leader: 
> [myid:3] Shutdown called
> java.lang.Exception: shutdown Leader! reason: Only 1 followers, need 2
> at org.apache.zookeeper.server.quorum.Leader.shutdown(Leader.java:496)
> at org.apache.zookeeper.server.quorum.Leader.lead(Leader.java:471)
> at 
> org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:753)
> {code}
> 3, The leader can not load the transaction from the txn log for the length of 
> data is larger than the max buffer of jute.
> {code}
> 2015-01-04,12:42:31,282 ERROR org.apache.zookeeper.server.quorum.QuorumPeer: 
> [myid:3] Unable to load database on disk
> java.io.IOException: Unreasonable length = 2054758
> at 
> org.apache.jute.BinaryInputArchive.readBuffer(BinaryInputArchive.java:100)
> at 
> org.apache.zookeeper.server.persistence.Util.readTxnBytes(Util.java:233)
> at 
> org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.next(FileTxnLog.java:602)
> at 
> org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:157)
> at 
> org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223)
> at 
> org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:417)
> at 
> org.apache.zookeeper.server.quorum.QuorumPeer.getLastLoggedZxid(QuorumPeer.java:546)
> at 
> org.apache.zookeeper.server.quorum.FastLeaderElection.getInitLastLoggedZxid(FastLeaderElection.java:690)
> at 
> org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:737)
> at 
> org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:716)
> {code}
> The zookeeper service will be unavailable until we enlarge the jute.maxbuffer 
> and restart zookeeper hbase cluster.
> *Solution*
> Add buffer size check in BinaryOutputArchive to avoid large transaction be 
> written to log and sent to followers.
> But I am not sure if there are side-effects of throwing an IOException in 
> BinaryOutputArchive  and RequestProcessors



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-1506) Re-try DNS hostname -> IP resolution if node connection fails

2015-05-15 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki updated ZOOKEEPER-1506:
---
Description: 
   In our zoo.cfg we use hostnames to identify the ZK servers that are part of 
an ensemble. These hostnames are configured with a low (<= 60s) TTL and the IP 
address they map to can and does change. Our procedure for replacing/upgrading 
a ZK node is to boot an entirely new instance and remap the hostname to the new 
instance's IP address. Our expectation is that when the original ZK node is 
terminated/shutdown, the remaining nodes in the ensemble would reconnect to the 
new instance.

However, what we are noticing is that the remaining ZK nodes do not attempt to 
re-resolve the hostname->IP mapping for the new server. Once the original ZK 
node is terminated, the existing servers continue to attempt contacting it at 
the old IP address. It would be great if the ZK servers could try to re-resolve 
the hostname when attempting to connect to a lost ZK server, instead of caching 
the lookup indefinitely. Currently we must do a rolling restart of the ZK 
ensemble after swapping a node -- which at three nodes means we periodically 
lose quorum.

The exact method we are following is to boot new instances in EC2 and attach 
one, of a set of three, Elastic IP address. External to EC2 this IP address 
remains the same and maps to whatever instance it is attached to. Internal to 
EC2, the elastic IP hostname has a TTL of about 45-60 seconds and is remapped 
to the internal (10.x.y.z) address of the instance it is attached to. 
Therefore, in our case we would like ZK to pickup the new 10.x.y.z address that 
the elastic IP hostname gets mapped to and reconnect appropriately.

  was:
In our zoo.cfg we use hostnames to identify the ZK servers that are part of an 
ensemble. These hostnames are configured with a low (<= 60s) TTL and the IP 
address they map to can and does change. Our procedure for replacing/upgrading 
a ZK node is to boot an entirely new instance and remap the hostname to the new 
instance's IP address. Our expectation is that when the original ZK node is 
terminated/shutdown, the remaining nodes in the ensemble would reconnect to the 
new instance.

However, what we are noticing is that the remaining ZK nodes do not attempt to 
re-resolve the hostname->IP mapping for the new server. Once the original ZK 
node is terminated, the existing servers continue to attempt contacting it at 
the old IP address. It would be great if the ZK servers could try to re-resolve 
the hostname when attempting to connect to a lost ZK server, instead of caching 
the lookup indefinitely. Currently we must do a rolling restart of the ZK 
ensemble after swapping a node -- which at three nodes means we periodically 
lose quorum.

The exact method we are following is to boot new instances in EC2 and attach 
one, of a set of three, Elastic IP address. External to EC2 this IP address 
remains the same and maps to whatever instance it is attached to. Internal to 
EC2, the elastic IP hostname has a TTL of about 45-60 seconds and is remapped 
to the internal (10.x.y.z) address of the instance it is attached to. 
Therefore, in our case we would like ZK to pickup the new 10.x.y.z address that 
the elastic IP hostname gets mapped to and reconnect appropriately.


> Re-try DNS hostname -> IP resolution if node connection fails
> -
>
> Key: ZOOKEEPER-1506
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1506
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 3.4.5
> Environment: Ubuntu 11.04 64-bit
>Reporter: Mike Heffner
>Assignee: Michi Mutsuzaki
>Priority: Critical
>  Labels: patch
> Fix For: 3.4.7, 3.5.1, 3.6.0
>
> Attachments: ZOOKEEPER-1506-fix.patch, ZOOKEEPER-1506.patch, 
> ZOOKEEPER-1506.patch, ZOOKEEPER-1506.patch, ZOOKEEPER-1506.patch, 
> ZOOKEEPER-1506.patch, ZOOKEEPER-1506.patch, ZOOKEEPER-1506.patch, 
> zk-dns-caching-refresh.patch
>
>
>In our zoo.cfg we use hostnames to identify the ZK servers that are part 
> of an ensemble. These hostnames are configured with a low (<= 60s) TTL and 
> the IP address they map to can and does change. Our procedure for 
> replacing/upgrading a ZK node is to boot an entirely new instance and remap 
> the hostname to the new instance's IP address. Our expectation is that when 
> the original ZK node is terminated/shutdown, the remaining nodes in the 
> ensemble would reconnect to the new instance.
> However, what we are noticing is that the remaining ZK nodes do not attempt 
> to re-resolve the hostname->IP mapping for the new server. Once the original 
> ZK node is terminated, the existing servers continue to attempt cont

[VOTE] Apache ZooKeeper release 3.5.1-alpha candidate 1

2015-05-15 Thread Michi Mutsuzaki
This is the second release candidate for 3.5.1-alpha. This candidate
fixes some issues found in the first candidate, including
ZOOKEEPER-2171. The full release notes is
available at:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326786

*** Please download, test and vote by May 29th 2015, 23:59 UTC+0. ***

Source files:
http://people.apache.org/~michim/zookeeper-3.5.1-alpha-candidate-1/

Maven staging repo:
https://repository.apache.org/content/groups/staging/org/apache/zookeeper/zookeeper/3.5.1-alpha/

The tag to be voted upon:
https://svn.apache.org/repos/asf/zookeeper/tags/release-3.5.1-rc1/

ZooKeeper's KEYS file containing PGP keys we use to sign the release:
http://www.apache.org/dist/zookeeper/KEYS

Should we release this candidate?