ZooKeeper_branch33_solaris - Build # 828 - Still Failing

2014-03-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch33_solaris/828/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 102840 lines...]
[junit] 2014-03-18 07:04:21,977 - INFO  [main:ZooKeeperServer@154] - 
Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test7885459961159714579.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test7885459961159714579.junit.dir/version-2
[junit] 2014-03-18 07:04:21,978 - INFO  [main:NIOServerCnxn$Factory@143] - 
binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2014-03-18 07:04:21,979 - INFO  [main:FileSnap@82] - Reading 
snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test7885459961159714579.junit.dir/version-2/snapshot.0
[junit] 2014-03-18 07:04:21,982 - INFO  [main:FileTxnSnapLog@256] - 
Snapshotting: b
[junit] 2014-03-18 07:04:21,985 - INFO  [main:FourLetterWordMain@43] - 
connecting to 127.0.0.1 11221
[junit] 2014-03-18 07:04:21,986 - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn$Factory@251] - 
Accepted socket connection from /127.0.0.1:57500
[junit] 2014-03-18 07:04:21,986 - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@1237] - Processing 
stat command from /127.0.0.1:57500
[junit] 2014-03-18 07:04:21,987 - INFO  
[Thread-4:NIOServerCnxn$StatCommand@1153] - Stat command output
[junit] 2014-03-18 07:04:21,988 - INFO  [Thread-4:NIOServerCnxn@1435] - 
Closed socket connection for client /127.0.0.1:57500 (no session established 
for client)
[junit] ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] expect:InMemoryDataTree
[junit] found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] expect:StandaloneServer_port
[junit] found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2014-03-18 07:04:21,990 - INFO  [main:ClientBase@408] - STOPPING 
server
[junit] 2014-03-18 07:04:21,991 - INFO  
[SyncThread:0:SyncRequestProcessor@151] - SyncRequestProcessor exited!
[junit] 2014-03-18 07:04:21,991 - INFO  
[ProcessThread:-1:PrepRequestProcessor@128] - PrepRequestProcessor exited loop!
[junit] 2014-03-18 07:04:21,992 - INFO  [main:FinalRequestProcessor@370] - 
shutdown of request processor complete
[junit] 2014-03-18 07:04:21,993 - INFO  [main:FourLetterWordMain@43] - 
connecting to 127.0.0.1 11221
[junit] ensureOnly:[]
[junit] 2014-03-18 07:04:21,995 - INFO  [main:ClientBase@401] - STARTING 
server
[junit] 2014-03-18 07:04:21,995 - INFO  [main:ZooKeeperServer@154] - 
Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test7885459961159714579.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test7885459961159714579.junit.dir/version-2
[junit] 2014-03-18 07:04:21,996 - INFO  [main:NIOServerCnxn$Factory@143] - 
binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2014-03-18 07:04:21,997 - INFO  [main:FileSnap@82] - Reading 
snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test7885459961159714579.junit.dir/version-2/snapshot.b
[junit] 2014-03-18 07:04:22,000 - INFO  [main:FileTxnSnapLog@256] - 
Snapshotting: b
[junit] 2014-03-18 07:04:22,002 - INFO  [main:FourLetterWordMain@43] - 
connecting to 127.0.0.1 11221
[junit] 2014-03-18 07:04:22,003 - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn$Factory@251] - 
Accepted socket connection from /127.0.0.1:57502
[junit] 2014-03-18 07:04:22,004 - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@1237] - Processing 
stat command from /127.0.0.1:57502
[junit] 2014-03-18 07:04:22,005 - INFO  
[Thread-5:NIOServerCnxn$StatCommand@1153] - Stat command output
[junit] 2014-03-18 07:04:22,005 - INFO  [Thread-5:NIOServerCnxn@1435] - 
Closed socket connection for client /127.0.0.1:57502 (no session established 
for client)
[junit] ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] expect:InMemoryDataTree
[junit] found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] expect:StandaloneServer_port
[junit] found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2014-03-18 07:04:22,015 - INFO  

ZooKeeper-trunk-jdk7 - Build # 817 - Still Failing

2014-03-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk7/817/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 270305 lines...]
[junit] 2014-03-18 11:23:53,279 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@168] - SyncRequestProcessor exited!
[junit] 2014-03-18 11:23:53,279 [myid:] - INFO  
[main:FinalRequestProcessor@454] - shutdown of request processor complete
[junit] 2014-03-18 11:23:53,279 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2014-03-18 11:23:53,280 [myid:] - INFO  [main:JMXEnv@142] - 
ensureOnly:[]
[junit] 2014-03-18 11:23:53,281 [myid:] - INFO  [main:ClientBase@443] - 
STARTING server
[junit] 2014-03-18 11:23:53,281 [myid:] - INFO  [main:ClientBase@364] - 
CREATING server instance 127.0.0.1:11221
[junit] 2014-03-18 11:23:53,281 [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] 2014-03-18 11:23:53,282 [myid:] - INFO  
[main:NIOServerCnxnFactory@683] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2014-03-18 11:23:53,282 [myid:] - INFO  [main:ClientBase@339] - 
STARTING server instance 127.0.0.1:11221
[junit] 2014-03-18 11:23:53,282 [myid:] - INFO  [main:ZooKeeperServer@149] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test1954501023617388768.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test1954501023617388768.junit.dir/version-2
[junit] 2014-03-18 11:23:53,283 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test1954501023617388768.junit.dir/version-2/snapshot.b
[junit] 2014-03-18 11:23:53,285 [myid:] - INFO  [main:FileTxnSnapLog@298] - 
Snapshotting: 0xb to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk7/trunk/build/test/tmp/test1954501023617388768.junit.dir/version-2/snapshot.b
[junit] 2014-03-18 11:23:53,287 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2014-03-18 11:23:53,287 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:35688
[junit] 2014-03-18 11:23:53,288 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@835] - Processing stat command from 
/127.0.0.1:35688
[junit] 2014-03-18 11:23:53,288 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn$StatCommand@684] - Stat command output
[junit] 2014-03-18 11:23:53,288 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@1006] - Closed socket connection for client 
/127.0.0.1:35688 (no session established for client)
[junit] 2014-03-18 11:23:53,289 [myid:] - INFO  [main:JMXEnv@224] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2014-03-18 11:23:53,290 [myid:] - INFO  [main:JMXEnv@241] - 
expect:InMemoryDataTree
[junit] 2014-03-18 11:23:53,290 [myid:] - INFO  [main:JMXEnv@245] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2014-03-18 11:23:53,291 [myid:] - INFO  [main:JMXEnv@241] - 
expect:StandaloneServer_port
[junit] 2014-03-18 11:23:53,291 [myid:] - INFO  [main:JMXEnv@245] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2014-03-18 11:23:53,291 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@55] - Memory used 14794
[junit] 2014-03-18 11:23:53,291 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@60] - Number of threads 24
[junit] 2014-03-18 11:23:53,291 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@65] - FINISHED TEST METHOD testQuota
[junit] 2014-03-18 11:23:53,292 [myid:] - INFO  [main:ClientBase@520] - 
tearDown starting
[junit] 2014-03-18 11:23:53,361 [myid:] - INFO  [main:ZooKeeper@954] - 
Session: 0x144d4eef0ce closed
[junit] 2014-03-18 11:23:53,361 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@536] - EventThread shut down
[junit] 2014-03-18 11:23:53,361 [myid:] - INFO  [main:ClientBase@490] - 
STOPPING server
[junit] 2014-03-18 11:23:53,362 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2014-03-18 11:23:53,362 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2014-03-18 11:23:53,362 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- 

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

2014-03-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-3.4-WinVS2008_java/464/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 174300 lines...]
[junit] 2014-03-18 20:45:08,167 [myid:] - INFO  
[main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2014-03-18 20:45:08,167 [myid:] - INFO  [main:ClientBase@339] - 
STARTING server instance 127.0.0.1:11221
[junit] 2014-03-18 20:45:08,168 [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\test751339376202406963.junit.dir\version-2
 snapdir 
f:\hudson\hudson-slave\workspace\ZooKeeper-3.4-WinVS2008_java\branch-3.4\build\test\tmp\test751339376202406963.junit.dir\version-2
[junit] 2014-03-18 20:45:08,171 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2014-03-18 20:45:08,171 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:61221
[junit] 2014-03-18 20:45:08,172 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:61221
[junit] 2014-03-18 20:45:08,172 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2014-03-18 20:45:08,172 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1007] - Closed socket connection for client 
/127.0.0.1:61221 (no session established for client)
[junit] 2014-03-18 20:45:08,172 [myid:] - INFO  [main:JMXEnv@229] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2014-03-18 20:45:08,174 [myid:] - INFO  [main:JMXEnv@246] - 
expect:InMemoryDataTree
[junit] 2014-03-18 20:45:08,174 [myid:] - INFO  [main:JMXEnv@250] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2014-03-18 20:45:08,174 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2014-03-18 20:45:08,174 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2014-03-18 20:45:08,175 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@55] - Memory used 9352
[junit] 2014-03-18 20:45:08,175 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@60] - Number of threads 21
[junit] 2014-03-18 20:45:08,175 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@65] - FINISHED TEST METHOD testQuota
[junit] 2014-03-18 20:45:08,175 [myid:] - INFO  [main:ClientBase@520] - 
tearDown starting
[junit] 2014-03-18 20:45:08,354 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@852] - Socket 
connection established to 127.0.0.1/127.0.0.1:11221, initiating session
[junit] 2014-03-18 20:45:08,354 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:61218
[junit] 2014-03-18 20:45:08,354 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:ZooKeeperServer@861] - Client 
attempting to renew session 0x144d6f0bfcc at /127.0.0.1:61218
[junit] 2014-03-18 20:45:08,355 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:ZooKeeperServer@617] - Established 
session 0x144d6f0bfcc with negotiated timeout 3 for client 
/127.0.0.1:61218
[junit] 2014-03-18 20:45:08,355 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@1235] - Session 
establishment complete on server 127.0.0.1/127.0.0.1:11221, sessionid = 
0x144d6f0bfcc, negotiated timeout = 3
[junit] 2014-03-18 20:45:08,356 [myid:] - INFO  [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@494] - Processed session termination for 
sessionid: 0x144d6f0bfcc
[junit] 2014-03-18 20:45:08,356 [myid:] - INFO  
[SyncThread:0:FileTxnLog@199] - Creating new log file: log.c
[junit] 2014-03-18 20:45:08,363 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x144d6f0bfcc closed
[junit] 2014-03-18 20:45:08,363 [myid:] - INFO  [main:ClientBase@490] - 
STOPPING server
[junit] 2014-03-18 20:45:08,363 [myid:] - WARN  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@357] - caught end of 
stream exception
[junit] EndOfStreamException: Unable to read additional data from client 
sessionid 0x144d6f0bfcc, likely client has closed socket
[junit] at 
org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
[junit] at 
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
[junit] at java.lang.Thread.run(Thread.java:722)
[junit] 2014-03-18 20:45:08,363 [myid:] - INFO  

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

2014-03-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008_java/710/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 239114 lines...]
[junit] 2014-03-18 22:09:00,841 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@1101] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:11221. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2014-03-18 22:09:01,028 [myid:] - INFO  [main:JMXEnv@142] - 
ensureOnly:[]
[junit] 2014-03-18 22:09:01,029 [myid:] - INFO  [main:ClientBase@443] - 
STARTING server
[junit] 2014-03-18 22:09:01,029 [myid:] - INFO  [main:ClientBase@364] - 
CREATING server instance 127.0.0.1:11221
[junit] 2014-03-18 22:09:01,029 [myid:] - INFO  
[main:NIOServerCnxnFactory@670] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 1 selector thread(s), 4 worker threads, and 64 
kB direct buffers.
[junit] 2014-03-18 22:09:01,030 [myid:] - INFO  
[main:NIOServerCnxnFactory@683] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2014-03-18 22:09:01,031 [myid:] - INFO  [main:ClientBase@339] - 
STARTING server instance 127.0.0.1:11221
[junit] 2014-03-18 22:09:01,031 [myid:] - INFO  [main:ZooKeeperServer@149] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008_java\trunk\build\test\tmp\test3890032234052254057.junit.dir\version-2
 snapdir 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008_java\trunk\build\test\tmp\test3890032234052254057.junit.dir\version-2
[junit] 2014-03-18 22:09:01,032 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008_java\trunk\build\test\tmp\test3890032234052254057.junit.dir\version-2\snapshot.b
[junit] 2014-03-18 22:09:01,034 [myid:] - INFO  [main:FileTxnSnapLog@298] - 
Snapshotting: 0xb to 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008_java\trunk\build\test\tmp\test3890032234052254057.junit.dir\version-2\snapshot.b
[junit] 2014-03-18 22:09:01,036 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2014-03-18 22:09:01,037 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:65415
[junit] 2014-03-18 22:09:01,038 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@835] - Processing stat command from 
/127.0.0.1:65415
[junit] 2014-03-18 22:09:01,038 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn$StatCommand@684] - Stat command output
[junit] 2014-03-18 22:09:01,039 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@1006] - Closed socket connection for client 
/127.0.0.1:65415 (no session established for client)
[junit] 2014-03-18 22:09:01,039 [myid:] - INFO  [main:JMXEnv@224] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2014-03-18 22:09:01,039 [myid:] - INFO  [main:JMXEnv@241] - 
expect:InMemoryDataTree
[junit] 2014-03-18 22:09:01,039 [myid:] - INFO  [main:JMXEnv@245] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2014-03-18 22:09:01,040 [myid:] - INFO  [main:JMXEnv@241] - 
expect:StandaloneServer_port
[junit] 2014-03-18 22:09:01,040 [myid:] - INFO  [main:JMXEnv@245] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2014-03-18 22:09:01,040 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@55] - Memory used 10739
[junit] 2014-03-18 22:09:01,040 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@60] - Number of threads 23
[junit] 2014-03-18 22:09:01,040 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@65] - FINISHED TEST METHOD testQuota
[junit] 2014-03-18 22:09:01,040 [myid:] - INFO  [main:ClientBase@520] - 
tearDown starting
[junit] 2014-03-18 22:09:01,263 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@971] - Socket 
connection established to 127.0.0.1/127.0.0.1:11221, initiating session
[junit] 2014-03-18 22:09:01,263 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:65410
[junit] 2014-03-18 22:09:01,267 [myid:] - INFO  
[NIOWorkerThread-2:ZooKeeperServer@858] - Client attempting to renew session 
0x144d73d8af9 at /127.0.0.1:65410
[junit] 2014-03-18 22:09:01,269 [myid:] - INFO  
[NIOWorkerThread-2:ZooKeeperServer@604] - Established session 0x144d73d8af9 
with negotiated timeout 3 for client /127.0.0.1:65410
[junit] 2014-03-18 22:09:01,270 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@1354] - Session 

[jira] [Commented] (ZOOKEEPER-1870) flakey test in StandaloneDisabledTest.startSingleServerTest

2014-03-18 Thread Alexander Shraer (JIRA)

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

Alexander Shraer commented on ZOOKEEPER-1870:
-

+1, thanks Michi!

if possible, please update the description of the jira to reflect the problems 
you found (as you did on reviewboard)

 flakey test in StandaloneDisabledTest.startSingleServerTest
 ---

 Key: ZOOKEEPER-1870
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1870
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.5.0
Reporter: Patrick Hunt
Assignee: Helen Hastings
Priority: Critical
 Attachments: ZOOKEEPER-1870.patch


 I'm seeing lots of the following failure. Seems like a flakey test (passes 
 every so often).
 {noformat}
 junit.framework.AssertionFailedError: client could not connect to 
 reestablished quorum: giving up after 30+ seconds.
   at 
 org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
   at 
 org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
   at 
 org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (ZOOKEEPER-1870) flakey test in StandaloneDisabledTest.startSingleServerTest

2014-03-18 Thread Alexander Shraer (JIRA)

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

Alexander Shraer commented on ZOOKEEPER-1870:
-

on second thought it looks like some C tests are failing ?

 flakey test in StandaloneDisabledTest.startSingleServerTest
 ---

 Key: ZOOKEEPER-1870
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1870
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.5.0
Reporter: Patrick Hunt
Assignee: Helen Hastings
Priority: Critical
 Attachments: ZOOKEEPER-1870.patch


 I'm seeing lots of the following failure. Seems like a flakey test (passes 
 every so often).
 {noformat}
 junit.framework.AssertionFailedError: client could not connect to 
 reestablished quorum: giving up after 30+ seconds.
   at 
 org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
   at 
 org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
   at 
 org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (ZOOKEEPER-1870) flakey test in StandaloneDisabledTest.startSingleServerTest

2014-03-18 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki commented on ZOOKEEPER-1870:


I think it's another flaky test that's not related to this patch. I ran the 
test on my box like 100 times and they all passed. Let me run the build again 
to see if it fails again.

 flakey test in StandaloneDisabledTest.startSingleServerTest
 ---

 Key: ZOOKEEPER-1870
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1870
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.5.0
Reporter: Patrick Hunt
Assignee: Helen Hastings
Priority: Critical
 Attachments: ZOOKEEPER-1870.patch


 I'm seeing lots of the following failure. Seems like a flakey test (passes 
 every so often).
 {noformat}
 junit.framework.AssertionFailedError: client could not connect to 
 reestablished quorum: giving up after 30+ seconds.
   at 
 org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
   at 
 org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
   at 
 org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (ZOOKEEPER-1870) flakey test in StandaloneDisabledTest.startSingleServerTest

2014-03-18 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki updated ZOOKEEPER-1870:
---

Description: 
I'm seeing lots of the following failure. Seems like a flakey test (passes 
every so often).

{noformat}
junit.framework.AssertionFailedError: client could not connect to reestablished 
quorum: giving up after 30+ seconds.
at 
org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
at 
org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
at 
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
{noformat}

I've found 3 problems that 

1. Prevent socket leak in QuorumCnxManager.Listener.run().
2. Make QuorumCnxManager.halt() join the listener.
3. Reset QuorumPeer.shuttingDownLE flag when restarting the leader election.


  was:
I'm seeing lots of the following failure. Seems like a flakey test (passes 
every so often).

{noformat}
junit.framework.AssertionFailedError: client could not connect to reestablished 
quorum: giving up after 30+ seconds.
at 
org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
at 
org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
at 
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
{noformat}



 flakey test in StandaloneDisabledTest.startSingleServerTest
 ---

 Key: ZOOKEEPER-1870
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1870
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.5.0
Reporter: Patrick Hunt
Assignee: Helen Hastings
Priority: Critical
 Attachments: ZOOKEEPER-1870.patch


 I'm seeing lots of the following failure. Seems like a flakey test (passes 
 every so often).
 {noformat}
 junit.framework.AssertionFailedError: client could not connect to 
 reestablished quorum: giving up after 30+ seconds.
   at 
 org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
   at 
 org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
   at 
 org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
 {noformat}
 I've found 3 problems that 
 1. Prevent socket leak in QuorumCnxManager.Listener.run().
 2. Make QuorumCnxManager.halt() join the listener.
 3. Reset QuorumPeer.shuttingDownLE flag when restarting the leader election.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (ZOOKEEPER-1870) flakey test in StandaloneDisabledTest.startSingleServerTest

2014-03-18 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki updated ZOOKEEPER-1870:
---

Description: 
I'm seeing lots of the following failure. Seems like a flakey test (passes 
every so often).

{noformat}
junit.framework.AssertionFailedError: client could not connect to reestablished 
quorum: giving up after 30+ seconds.
at 
org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
at 
org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
at 
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
{noformat}

I've found 3 problems:

1. QuorumCnxManager.Listener.run() leaks the socket depending on when the 
shutdown flag gets set.
2. QuorumCnxManager.halt() doesn't wait for the listener to terminate.
3. QuorumPeer.shuttingDownLE flag doesn't get reset when restarting the leader 
election.


  was:
I'm seeing lots of the following failure. Seems like a flakey test (passes 
every so often).

{noformat}
junit.framework.AssertionFailedError: client could not connect to reestablished 
quorum: giving up after 30+ seconds.
at 
org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
at 
org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
at 
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
{noformat}

I've found 3 problems that 

1. Prevent socket leak in QuorumCnxManager.Listener.run().
2. Make QuorumCnxManager.halt() join the listener.
3. Reset QuorumPeer.shuttingDownLE flag when restarting the leader election.



 flakey test in StandaloneDisabledTest.startSingleServerTest
 ---

 Key: ZOOKEEPER-1870
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1870
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.5.0
Reporter: Patrick Hunt
Assignee: Helen Hastings
Priority: Critical
 Attachments: ZOOKEEPER-1870.patch


 I'm seeing lots of the following failure. Seems like a flakey test (passes 
 every so often).
 {noformat}
 junit.framework.AssertionFailedError: client could not connect to 
 reestablished quorum: giving up after 30+ seconds.
   at 
 org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
   at 
 org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
   at 
 org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
 {noformat}
 I've found 3 problems:
 1. QuorumCnxManager.Listener.run() leaks the socket depending on when the 
 shutdown flag gets set.
 2. QuorumCnxManager.halt() doesn't wait for the listener to terminate.
 3. QuorumPeer.shuttingDownLE flag doesn't get reset when restarting the 
 leader election.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (ZOOKEEPER-1897) ZK Shell/Cli not processing commands

2014-03-18 Thread Cameron Gandevia (JIRA)
Cameron Gandevia created ZOOKEEPER-1897:
---

 Summary: ZK Shell/Cli not processing commands
 Key: ZOOKEEPER-1897
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1897
 Project: ZooKeeper
  Issue Type: Bug
  Components: java client, scripts
Affects Versions: 3.4.6
Reporter: Cameron Gandevia


When running zookeeper 3.4.5 I was able to run commands using zkCli such as 

zkCli.sh -server 127.0.0.1:2182 ls /
zkCli.sh -server 127.0.0.1:2182 get /blah

After upgrading to 3.4.6 these commands no longer work.

I think issue https://issues.apache.org/jira/browse/ZOOKEEPER-1535 was the 
reason the commands were running in previous versions.

It looks like the client exits when a command is present.

{code:title=ZooKeeperMain.java}
void run() throws KeeperException, IOException, InterruptedException {
if (cl.getCommand() == null) {
System.out.println(Welcome to ZooKeeper!);

boolean jlinemissing = false;
// only use jline if it's in the classpath
try {
Class consoleC = Class.forName(jline.ConsoleReader);
Class completorC =
Class.forName(org.apache.zookeeper.JLineZNodeCompletor);

System.out.println(JLine support is enabled);

Object console =
consoleC.getConstructor().newInstance();

Object completor =
completorC.getConstructor(ZooKeeper.class).newInstance(zk);
Method addCompletor = consoleC.getMethod(addCompletor,
Class.forName(jline.Completor));
addCompletor.invoke(console, completor);

String line;
Method readLine = consoleC.getMethod(readLine, String.class);
while ((line = (String)readLine.invoke(console, getPrompt())) 
!= null) {
executeLine(line);
}
} catch (ClassNotFoundException e) {
LOG.debug(Unable to start jline, e);
jlinemissing = true;
} catch (NoSuchMethodException e) {
LOG.debug(Unable to start jline, e);
jlinemissing = true;
} catch (InvocationTargetException e) {
LOG.debug(Unable to start jline, e);
jlinemissing = true;
} catch (IllegalAccessException e) {
LOG.debug(Unable to start jline, e);
jlinemissing = true;
} catch (InstantiationException e) {
LOG.debug(Unable to start jline, e);
jlinemissing = true;
}

if (jlinemissing) {
System.out.println(JLine support is disabled);
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));

String line;
while ((line = br.readLine()) != null) {
executeLine(line);
}
}
}
}
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


Success: ZOOKEEPER-1870 PreCommit Build #1966

2014-03-18 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1870
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1966/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 281720 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/12635000/ZOOKEEPER-1870.patch
 [exec]   against trunk revision 1577756.
 [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/1966//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1966//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1966//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] 022af972ecad7c20f767f9da4597c02758b6dcad logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

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



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

[jira] [Commented] (ZOOKEEPER-1870) flakey test in StandaloneDisabledTest.startSingleServerTest

2014-03-18 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-1870:
--

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

+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/1966//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1966//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1966//console

This message is automatically generated.

 flakey test in StandaloneDisabledTest.startSingleServerTest
 ---

 Key: ZOOKEEPER-1870
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1870
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.5.0
Reporter: Patrick Hunt
Assignee: Helen Hastings
Priority: Critical
 Attachments: ZOOKEEPER-1870.patch


 I'm seeing lots of the following failure. Seems like a flakey test (passes 
 every so often).
 {noformat}
 junit.framework.AssertionFailedError: client could not connect to 
 reestablished quorum: giving up after 30+ seconds.
   at 
 org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
   at 
 org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
   at 
 org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
 {noformat}
 I've found 3 problems:
 1. QuorumCnxManager.Listener.run() leaks the socket depending on when the 
 shutdown flag gets set.
 2. QuorumCnxManager.halt() doesn't wait for the listener to terminate.
 3. QuorumPeer.shuttingDownLE flag doesn't get reset when restarting the 
 leader election.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (ZOOKEEPER-1870) flakey test in StandaloneDisabledTest.startSingleServerTest

2014-03-18 Thread Helen Hastings (JIRA)

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

Helen Hastings commented on ZOOKEEPER-1870:
---

Ran it here 100 times as well and they all passed.  Thank you Michi, +1!

 flakey test in StandaloneDisabledTest.startSingleServerTest
 ---

 Key: ZOOKEEPER-1870
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1870
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.5.0
Reporter: Patrick Hunt
Assignee: Helen Hastings
Priority: Critical
 Attachments: ZOOKEEPER-1870.patch


 I'm seeing lots of the following failure. Seems like a flakey test (passes 
 every so often).
 {noformat}
 junit.framework.AssertionFailedError: client could not connect to 
 reestablished quorum: giving up after 30+ seconds.
   at 
 org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:143)
   at 
 org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest(StandaloneDisabledTest.java:75)
   at 
 org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
 {noformat}
 I've found 3 problems:
 1. QuorumCnxManager.Listener.run() leaks the socket depending on when the 
 shutdown flag gets set.
 2. QuorumCnxManager.halt() doesn't wait for the listener to terminate.
 3. QuorumPeer.shuttingDownLE flag doesn't get reset when restarting the 
 leader election.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (ZOOKEEPER-1897) ZK Shell/Cli not processing commands

2014-03-18 Thread Edward Ribeiro (JIRA)

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

Edward Ribeiro reassigned ZOOKEEPER-1897:
-

Assignee: Edward Ribeiro

 ZK Shell/Cli not processing commands
 

 Key: ZOOKEEPER-1897
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1897
 Project: ZooKeeper
  Issue Type: Bug
  Components: java client, scripts
Affects Versions: 3.4.6
Reporter: Cameron Gandevia
Assignee: Edward Ribeiro

 When running zookeeper 3.4.5 I was able to run commands using zkCli such as 
 zkCli.sh -server 127.0.0.1:2182 ls /
 zkCli.sh -server 127.0.0.1:2182 get /blah
 After upgrading to 3.4.6 these commands no longer work.
 I think issue https://issues.apache.org/jira/browse/ZOOKEEPER-1535 was the 
 reason the commands were running in previous versions.
 It looks like the client exits when a command is present.
 {code:title=ZooKeeperMain.java}
 void run() throws KeeperException, IOException, InterruptedException {
 if (cl.getCommand() == null) {
 System.out.println(Welcome to ZooKeeper!);
 boolean jlinemissing = false;
 // only use jline if it's in the classpath
 try {
 Class consoleC = Class.forName(jline.ConsoleReader);
 Class completorC =
 Class.forName(org.apache.zookeeper.JLineZNodeCompletor);
 System.out.println(JLine support is enabled);
 Object console =
 consoleC.getConstructor().newInstance();
 Object completor =
 
 completorC.getConstructor(ZooKeeper.class).newInstance(zk);
 Method addCompletor = consoleC.getMethod(addCompletor,
 Class.forName(jline.Completor));
 addCompletor.invoke(console, completor);
 String line;
 Method readLine = consoleC.getMethod(readLine, 
 String.class);
 while ((line = (String)readLine.invoke(console, getPrompt())) 
 != null) {
 executeLine(line);
 }
 } catch (ClassNotFoundException e) {
 LOG.debug(Unable to start jline, e);
 jlinemissing = true;
 } catch (NoSuchMethodException e) {
 LOG.debug(Unable to start jline, e);
 jlinemissing = true;
 } catch (InvocationTargetException e) {
 LOG.debug(Unable to start jline, e);
 jlinemissing = true;
 } catch (IllegalAccessException e) {
 LOG.debug(Unable to start jline, e);
 jlinemissing = true;
 } catch (InstantiationException e) {
 LOG.debug(Unable to start jline, e);
 jlinemissing = true;
 }
 if (jlinemissing) {
 System.out.println(JLine support is disabled);
 BufferedReader br =
 new BufferedReader(new InputStreamReader(System.in));
 String line;
 while ((line = br.readLine()) != null) {
 executeLine(line);
 }
 }
 }
 }
 {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)