[jira] [Created] (ZOOKEEPER-2733) Cleanup findbug warnings in branch-3.4: Dodgy code Warnings

2017-03-19 Thread Rakesh R (JIRA)
Rakesh R created ZOOKEEPER-2733:
---

 Summary: Cleanup findbug warnings in branch-3.4: Dodgy code 
Warnings
 Key: ZOOKEEPER-2733
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2733
 Project: ZooKeeper
  Issue Type: Sub-task
Reporter: Rakesh R


Please refer the attached sheet in parent jira. Below is the details of findbug 
warnings.
{code}
DB  
org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthLearner.send(DataOutputStream,
 byte[]) uses the same code for two branches
DLS Dead store to txn in 
org.apache.zookeeper.server.quorum.LearnerHandler.packetToString(QuorumPacket)
NP  Load of known null value in 
org.apache.zookeeper.server.PrepRequestProcessor.pRequest(Request)
NP  Possible null pointer dereference in 
org.apache.zookeeper.server.PurgeTxnLog.purgeOlderSnapshots(FileTxnSnapLog, 
File) due to return value of called method
NP  Possible null pointer dereference in 
org.apache.zookeeper.server.PurgeTxnLog.purgeOlderSnapshots(FileTxnSnapLog, 
File) due to return value of called method
NP  Load of known null value in 
org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthLearner.send(DataOutputStream,
 byte[])
NP  Load of known null value in 
org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer.send(DataOutputStream,
 byte[], QuorumAuth$Status)
NP  Possible null pointer dereference in 
org.apache.zookeeper.server.upgrade.UpgradeMain.copyFiles(File, File, String) 
due to return value of called method
RCN Redundant nullcheck of bytes, which is known to be non-null in 
org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.next()
SF  Switch statement found in 
org.apache.zookeeper.server.PrepRequestProcessor.pRequest(Request) where 
default case is missing
SF  Switch statement found in 
org.apache.zookeeper.server.PrepRequestProcessor.pRequest2Txn(int, long, 
Request, Record, boolean) where default case is missing
SF  Switch statement found in 
org.apache.zookeeper.server.quorum.AuthFastLeaderElection$Messenger$WorkerReceiver.run()
 where default case is missing
SF  Switch statement found in 
org.apache.zookeeper.server.quorum.AuthFastLeaderElection$Messenger$WorkerSender.process(AuthFastLeaderElection$ToSend)
 where default case is missing
SF  Switch statement found in 
org.apache.zookeeper.server.quorum.Follower.processPacket(QuorumPacket) where 
default case is missing
SF  Switch statement found in 
org.apache.zookeeper.server.quorum.Observer.processPacket(QuorumPacket) where 
default case is missing
ST  Write to static field 
org.apache.zookeeper.server.SyncRequestProcessor.randRoll from instance method 
org.apache.zookeeper.server.SyncRequestProcessor.run()
UrF Unread public/protected field: 
org.apache.zookeeper.server.upgrade.DataTreeV1$ProcessTxnResult.err
UrF Unread public/protected field: 
org.apache.zookeeper.server.upgrade.DataTreeV1$ProcessTxnResult.path
UrF Unread public/protected field: 
org.apache.zookeeper.server.upgrade.DataTreeV1$ProcessTxnResult.stat
UrF Unread public/protected field: 
org.apache.zookeeper.server.upgrade.DataTreeV1$ProcessTxnResult.type
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ZOOKEEPER-2732) Cleanup findbug warnings in branch-3.4: Performance Warnings

2017-03-19 Thread Rakesh R (JIRA)
Rakesh R created ZOOKEEPER-2732:
---

 Summary: Cleanup findbug warnings in branch-3.4: Performance 
Warnings
 Key: ZOOKEEPER-2732
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2732
 Project: ZooKeeper
  Issue Type: Sub-task
Reporter: Rakesh R


Please refer the attached sheet in parent jira. Below is the details of findbug 
warnings.
{code}
Bx  Boxing/unboxing to parse a primitive new 
org.apache.zookeeper.server.quorum.QuorumCnxManager(long, Map, 
QuorumAuthServer, QuorumAuthLearner, int, boolean, int, boolean)
Bx  new org.apache.zookeeper.server.quorum.QuorumCnxManager(long, Map, 
QuorumAuthServer, QuorumAuthLearner, int, boolean, int, boolean) invokes 
inefficient new Integer(String) constructor; use Integer.valueOf(String) instead
Dm  
org.apache.zookeeper.server.quorum.FastLeaderElection$Notification.toString() 
invokes inefficient new String(String) constructor
WMI org.apache.zookeeper.server.DataTree.dumpEphemerals(PrintWriter) makes 
inefficient use of keySet iterator instead of entrySet iterator
WMI 
org.apache.zookeeper.server.quorum.flexible.QuorumHierarchical.computeGroupWeight()
 makes inefficient use of keySet iterator instead of entrySet iterator
WMI 
org.apache.zookeeper.server.quorum.flexible.QuorumHierarchical.containsQuorum(HashSet)
 makes inefficient use of keySet iterator instead of entrySet iterator
WMI org.apache.zookeeper.ZooKeeperMain.usage() makes inefficient use of 
keySet iterator instead of entrySet iterator
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ZOOKEEPER-2731) Cleanup findbug warnings in branch-3.4: Malicious code vulnerability Warnings

2017-03-19 Thread Rakesh R (JIRA)
Rakesh R created ZOOKEEPER-2731:
---

 Summary: Cleanup findbug warnings in branch-3.4: Malicious code 
vulnerability Warnings
 Key: ZOOKEEPER-2731
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2731
 Project: ZooKeeper
  Issue Type: Sub-task
Affects Versions: 3.4.9
Reporter: Rakesh R


Please refer the attached sheet in parent jira. Below is the details of findbug 
warnings.
{code}
AT  Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be 
atomic in 
org.apache.zookeeper.server.quorum.QuorumCnxManager.handleConnection(Socket, 
DataInputStream)
AT  Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be 
atomic in 
org.apache.zookeeper.server.quorum.QuorumCnxManager.startConnection(Socket, 
Long)
AT  Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be 
atomic in org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(Long, 
ByteBuffer)
VO  Increment of volatile field 
org.apache.zookeeper.server.quorum.AuthFastLeaderElection.logicalclock in 
org.apache.zookeeper.server.quorum.AuthFastLeaderElection.leaveInstance()
VO  Increment of volatile field 
org.apache.zookeeper.server.quorum.AuthFastLeaderElection.logicalclock in 
org.apache.zookeeper.server.quorum.AuthFastLeaderElection.lookForLeader()
VO  Increment of volatile field 
org.apache.zookeeper.server.quorum.FastLeaderElection.logicalclock in 
org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader()
VO  Increment of volatile field 
org.apache.zookeeper.server.quorum.QuorumPeer.tick in 
org.apache.zookeeper.server.quorum.Leader.lead()
VO  Increment of volatile field 
org.apache.zookeeper.server.quorum.QuorumPeer.tick in 
org.apache.zookeeper.server.quorum.Leader.lead()
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ZOOKEEPER-2730) Cleanup findbug warnings in branch-3.4: Internationalization Warnings

2017-03-19 Thread Rakesh R (JIRA)
Rakesh R created ZOOKEEPER-2730:
---

 Summary: Cleanup findbug warnings in branch-3.4: 
Internationalization Warnings
 Key: ZOOKEEPER-2730
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2730
 Project: ZooKeeper
  Issue Type: Sub-task
Reporter: Rakesh R


Please refer the attached sheet in parent jira. Below is the details of findbug 
warnings.
{code}
Dm  Found reliance on default encoding in 
org.apache.jute.compiler.CGenerator.genCode(): new java.io.FileWriter(File)
Dm  Found reliance on default encoding in 
org.apache.jute.compiler.CppGenerator.genCode(): new java.io.FileWriter(File)
Dm  Found reliance on default encoding in 
org.apache.jute.compiler.JRecord.genCsharpCode(File): new 
java.io.FileWriter(File)
Dm  Found reliance on default encoding in 
org.apache.jute.compiler.JRecord.genJavaCode(File): new java.io.FileWriter(File)
Dm  Found reliance on default encoding in new 
org.apache.jute.XmlOutputArchive(OutputStream): new 
java.io.PrintStream(OutputStream)
Dm  Found reliance on default encoding in 
org.apache.zookeeper.client.FourLetterWordMain.send4LetterWord(String, int, 
String, int): new java.io.InputStreamReader(InputStream)
Dm  Found reliance on default encoding in 
org.apache.zookeeper.client.FourLetterWordMain.send4LetterWord(String, int, 
String, int): String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.ClientCnxn$SendThread.pingRwServer(): new 
java.io.InputStreamReader(InputStream)
Dm  Found reliance on default encoding in 
org.apache.zookeeper.ClientCnxn$SendThread.pingRwServer(): String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.auth.DigestAuthenticationProvider.generateDigest(String):
 String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.auth.DigestAuthenticationProvider.handleAuthentication(ServerCnxn,
 byte[]): new String(byte[])
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.DataTree.updateBytes(String, long): new 
String(byte[])
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.DataTree.updateBytes(String, long): 
String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.DataTree.updateCount(String, int): new 
String(byte[])
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.DataTree.updateCount(String, int): String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.DataTree.updateQuotaForPath(String): 
String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.NettyServerCnxn$SendBufferWriter.checkFlush(boolean):
 String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.NIOServerCnxn$SendBufferWriter.checkFlush(boolean): 
String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.persistence.FileSnap.(): String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.persistence.FileTxnLog.(): String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.quorum.QuorumPeer.readLongFromFile(String): new 
java.io.FileReader(File)
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.quorum.QuorumPeer.writeLongToFile(String, long): 
new java.io.OutputStreamWriter(OutputStream)
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(Properties):
 new java.io.FileReader(File)
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.Request.toString(): new String(byte[])
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.ServerCnxn.(): 
String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.TraceFormatter.main(String[]): new String(byte[])
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.util.OSMXBean.getMaxFileDescriptorCount(): new 
java.io.InputStreamReader(InputStream)
Dm  Found reliance on default encoding in 
org.apache.zookeeper.server.util.OSMXBean.getOpenFileDescriptorCount(): new 
java.io.InputStreamReader(InputStream)
Dm  Found reliance on default encoding in 
org.apache.zookeeper.ServerAdminClient.dump(String, int): new String(byte[])
Dm  Found reliance on default encoding in 
org.apache.zookeeper.ServerAdminClient.dump(String, int): String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.ServerAdminClient.getTraceMask(String, int): 
String.getBytes()
Dm  Found reliance on default encoding in 
org.apache.zookeeper.ServerAdminClient.kill(String, int): new String(byte[])
Dm  Found reliance on default encoding in 
org.apache.zookeeper.ServerAdminClient.kill(String, int): String.getB

[jira] [Created] (ZOOKEEPER-2729) Cleanup findbug warnings in branch-3.4: Correctness Warnings

2017-03-19 Thread Rakesh R (JIRA)
Rakesh R created ZOOKEEPER-2729:
---

 Summary: Cleanup findbug warnings in branch-3.4: Correctness 
Warnings
 Key: ZOOKEEPER-2729
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2729
 Project: ZooKeeper
  Issue Type: Sub-task
Affects Versions: 3.4.9
Reporter: Rakesh R


{code}
(1) INT Bad comparison of nonnegative value with 0 in 
org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthLearner.send(DataOutputStream,
 byte[])
Bug type INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE (click for details) 
In class org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthLearner
In method 
org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthLearner.send(DataOutputStream,
 byte[])
Value 0
At SaslQuorumAuthLearner.java:[line 176]

(2) INT Bad comparison of nonnegative value with 0 in 
org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer.send(DataOutputStream,
 byte[], QuorumAuth$Status)
Bug type INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE (click for details) 
In class org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer
In method 
org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer.send(DataOutputStream,
 byte[], QuorumAuth$Status)
Value 0
At SaslQuorumAuthServer.java:[line 170]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ZOOKEEPER-2728) Clean up findbug warnings in branch-3.4

2017-03-19 Thread Rakesh R (JIRA)
Rakesh R created ZOOKEEPER-2728:
---

 Summary: Clean up findbug warnings in branch-3.4
 Key: ZOOKEEPER-2728
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2728
 Project: ZooKeeper
  Issue Type: Bug
Affects Versions: 3.4.9
Reporter: Rakesh R


This jira to cleanup findbug warnings reported in branch-3.4

[Branch3.4 
FindbugsWarnings.html|https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/444/artifact/build/test/findbugs/newPatchFindbugsWarnings.html]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


ZooKeeper_branch34_jdk7 - Build # 1448 - Still Failing

2017-03-19 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk7/1448/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 31.77 MB...]
[junit] 2017-03-20 02:51:32,114 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2017-03-20 02:51:32,115 [myid:] - INFO  
[main:PrepRequestProcessor@764] - Shutting down
[junit] 2017-03-20 02:51:32,115 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2017-03-20 02:51:32,115 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2017-03-20 02:51:32,116 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2017-03-20 02:51:32,116 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2017-03-20 02:51:32,116 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-03-20 02:51:32,117 [myid:] - INFO  [main:JMXEnv@147] - 
ensureOnly:[]
[junit] 2017-03-20 02:51:32,119 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2017-03-20 02:51:32,119 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2017-03-20 02:51:32,119 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2017-03-20 02:51:32,120 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2017-03-20 02:51:32,120 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/build/test/tmp/test1466819264156233279.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/build/test/tmp/test1466819264156233279.junit.dir/version-2
[junit] 2017-03-20 02:51:32,124 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-03-20 02:51:32,125 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-03-20 02:51:32,125 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:54459
[junit] 2017-03-20 02:51:32,126 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@883] - Processing 
stat command from /127.0.0.1:54459
[junit] 2017-03-20 02:51:32,126 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@674] - Stat command output
[junit] 2017-03-20 02:51:32,126 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1044] - Closed socket connection for client 
/127.0.0.1:54459 (no session established for client)
[junit] 2017-03-20 02:51:32,127 [myid:] - INFO  [main:JMXEnv@230] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2017-03-20 02:51:32,129 [myid:] - INFO  [main:JMXEnv@247] - 
expect:InMemoryDataTree
[junit] 2017-03-20 02:51:32,129 [myid:] - INFO  [main:JMXEnv@251] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2017-03-20 02:51:32,129 [myid:] - INFO  [main:JMXEnv@247] - 
expect:StandaloneServer_port
[junit] 2017-03-20 02:51:32,130 [myid:] - INFO  [main:JMXEnv@251] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2017-03-20 02:51:32,130 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 35676
[junit] 2017-03-20 02:51:32,130 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2017-03-20 02:51:32,130 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2017-03-20 02:51:32,131 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2017-03-20 02:51:32,196 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x15ae9a0768f closed
[junit] 2017-03-20 02:51:32,196 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2017-03-20 02:51:32,196 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x15ae9a0768f
[junit] 2017-03-20 02:51:32,197 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2017-03-20 02:51:32,197 [myid:] - INFO  [main:ZooKeeperServer@505] 
- shutting down
[junit] 2017-03-20 02:51:32,197 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-03-20 02:51:32,197 [my

ZooKeeper_branch34 - Build # 1883 - Still Failing

2017-03-19 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34/1883/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 31.67 MB...]
[junit] 2017-03-20 01:21:32,684 [myid:] - INFO  
[main:PrepRequestProcessor@764] - Shutting down
[junit] 2017-03-20 01:21:32,684 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2017-03-20 01:21:32,685 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2017-03-20 01:21:32,685 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2017-03-20 01:21:32,686 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2017-03-20 01:21:32,686 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-03-20 01:21:32,687 [myid:] - INFO  [main:JMXEnv@147] - 
ensureOnly:[]
[junit] 2017-03-20 01:21:32,689 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2017-03-20 01:21:32,689 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2017-03-20 01:21:32,689 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2017-03-20 01:21:32,690 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2017-03-20 01:21:32,690 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/test/tmp/test6170772885429566540.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/test/tmp/test6170772885429566540.junit.dir/version-2
[junit] 2017-03-20 01:21:32,695 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-03-20 01:21:32,695 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-03-20 01:21:32,696 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:50975
[junit] 2017-03-20 01:21:32,696 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@883] - Processing 
stat command from /127.0.0.1:50975
[junit] 2017-03-20 01:21:32,697 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@674] - Stat command output
[junit] 2017-03-20 01:21:32,697 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1044] - Closed socket connection for client 
/127.0.0.1:50975 (no session established for client)
[junit] 2017-03-20 01:21:32,698 [myid:] - INFO  [main:JMXEnv@230] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2017-03-20 01:21:32,700 [myid:] - INFO  [main:JMXEnv@247] - 
expect:InMemoryDataTree
[junit] 2017-03-20 01:21:32,700 [myid:] - INFO  [main:JMXEnv@251] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2017-03-20 01:21:32,701 [myid:] - INFO  [main:JMXEnv@247] - 
expect:StandaloneServer_port
[junit] 2017-03-20 01:21:32,701 [myid:] - INFO  [main:JMXEnv@251] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2017-03-20 01:21:32,701 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 35682
[junit] 2017-03-20 01:21:32,702 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2017-03-20 01:21:32,702 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2017-03-20 01:21:32,702 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2017-03-20 01:21:32,764 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x15ae94e135f closed
[junit] 2017-03-20 01:21:32,764 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2017-03-20 01:21:32,765 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x15ae94e135f
[junit] 2017-03-20 01:21:32,765 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2017-03-20 01:21:32,765 [myid:] - INFO  [main:ZooKeeperServer@505] 
- shutting down
[junit] 2017-03-20 01:21:32,765 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-03-20 01:21:32,766 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2017-03-20 01:21:32,766 [myid:] - INFO  
[

ZooKeeper-trunk-openjdk7 - Build # 1407 - Failure

2017-03-19 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1407/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 61.92 MB...]
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
[junit] at 
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
[junit] at 
org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
[junit] at 
org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
[junit] at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2017-03-20 00:50:24,744 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24933,name1=Connections,name2=127.0.0.1,name3=0x103142533f0]
[junit] 2017-03-20 00:50:24,844 [myid:] - INFO  [main:ZooKeeper@1324] - 
Session: 0x103142533f0 closed
[junit] 2017-03-20 00:50:24,844 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 202552
[junit] 2017-03-20 00:50:24,844 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x103142533f0
[junit] 2017-03-20 00:50:24,844 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2427
[junit] 2017-03-20 00:50:24,845 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2017-03-20 00:50:24,845 [myid:] - INFO  [main:ClientBase@558] - 
tearDown starting
[junit] 2017-03-20 00:50:24,845 [myid:] - INFO  [main:ClientBase@528] - 
STOPPING server
[junit] 2017-03-20 00:50:24,845 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:24933
[junit] 2017-03-20 00:50:24,853 [myid:] - INFO  [main:ZooKeeperServer@542] 
- shutting down
[junit] 2017-03-20 00:50:24,853 [myid:] - ERROR [main:ZooKeeperServer@506] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-03-20 00:50:24,854 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2017-03-20 00:50:24,854 [myid:] - INFO  
[main:PrepRequestProcessor@1008] - Shutting down
[junit] 2017-03-20 00:50:24,854 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2017-03-20 00:50:24,854 [myid:] - INFO  [ProcessThread(sid:0 
cport:24933)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2017-03-20 00:50:24,854 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2017-03-20 00:50:24,855 [myid:] - INFO  
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2017-03-20 00:50:24,855 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24933,name1=InMemoryDataTree]
[junit] 2017-03-20 00:50:24,855 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port24933]
[junit] 2017-03-20 00:50:24,856 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24933
[junit] 2017-03-20 00:50:24,857 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2017-03-20 00:50:24,868 [myid:] - INFO  [main:ClientBase@583] - 
fdcount after test is: 7136 at start it was 7136
[junit] 2017-03-20 00:50:24,868 [myid:] - INFO  [main:ZKTestCase$1@68] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2017-03-20 00:50:24,868 [myid:] - INFO  [main:ZKTestCase$1@63] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
460.675 sec, Thread: 6, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2017-03-20 00:50:25,015 [myid:127.0.0.1:24816] - INFO  
[main-SendThread(127.0.0.1:24816):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:24816. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2017-03-20 00:50:25,016 [myid:127.0.0.1:24816] - WARN  
[main-SendThread(127.0.0.1:24816):ClientCnxn$SendThread@1235] - Session 
0x30314220209 for server 127.0.0.1/127.0.0.1:24816, unexpected error, 
closing socket connection and attempting reconnect
[junit] java.net.ConnectException: Connection refused
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketCh

ZooKeeper_branch34_jdk8 - Build # 925 - Still Failing

2017-03-19 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/925/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 31.24 MB...]
[junit] 2017-03-20 00:24:32,959 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2017-03-20 00:24:32,959 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2017-03-20 00:24:32,959 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2017-03-20 00:24:32,959 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2017-03-20 00:24:32,960 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-03-20 00:24:32,960 [myid:] - INFO  [main:JMXEnv@147] - 
ensureOnly:[]
[junit] 2017-03-20 00:24:32,961 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2017-03-20 00:24:32,961 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2017-03-20 00:24:32,961 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2017-03-20 00:24:32,962 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2017-03-20 00:24:32,962 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/build/test/tmp/test3704372936870029184.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/build/test/tmp/test3704372936870029184.junit.dir/version-2
[junit] 2017-03-20 00:24:32,964 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-03-20 00:24:32,964 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-03-20 00:24:32,964 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:35474
[junit] 2017-03-20 00:24:32,965 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@883] - Processing 
stat command from /127.0.0.1:35474
[junit] 2017-03-20 00:24:32,965 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@674] - Stat command output
[junit] 2017-03-20 00:24:32,965 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1044] - Closed socket connection for client 
/127.0.0.1:35474 (no session established for client)
[junit] 2017-03-20 00:24:32,965 [myid:] - INFO  [main:JMXEnv@230] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2017-03-20 00:24:32,967 [myid:] - INFO  [main:JMXEnv@247] - 
expect:InMemoryDataTree
[junit] 2017-03-20 00:24:32,967 [myid:] - INFO  [main:JMXEnv@251] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2017-03-20 00:24:32,967 [myid:] - INFO  [main:JMXEnv@247] - 
expect:StandaloneServer_port
[junit] 2017-03-20 00:24:32,968 [myid:] - INFO  [main:JMXEnv@251] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2017-03-20 00:24:32,968 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 35520
[junit] 2017-03-20 00:24:32,968 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2017-03-20 00:24:32,968 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2017-03-20 00:24:32,969 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2017-03-20 00:24:33,000 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2017-03-20 00:24:33,001 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2017-03-20 00:24:33,048 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x15ae919e54d closed
[junit] 2017-03-20 00:24:33,049 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2017-03-20 00:24:33,048 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x15ae919e54d
[junit] 2017-03-20 00:24:33,049 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2017-03-20 00:24:33,049 [myid:] - INFO  [main:ZooKeeperServer@505] 
- shutting down
[junit] 2017-03-20 00:24:33,049 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server 

ZooKeeper-trunk - Build # 3323 - Failure

2017-03-19 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/3323/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 62.70 MB...]
[junit] 2017-03-20 00:07:54,632 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x10136673ebe
[junit] 2017-03-20 00:07:54,632 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 209673
[junit] 2017-03-20 00:07:54,632 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1643
[junit] 2017-03-20 00:07:54,632 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2017-03-20 00:07:54,632 [myid:] - INFO  [main:ClientBase@558] - 
tearDown starting
[junit] 2017-03-20 00:07:54,633 [myid:] - INFO  [main:ClientBase@528] - 
STOPPING server
[junit] 2017-03-20 00:07:54,633 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:27626
[junit] 2017-03-20 00:07:54,640 [myid:] - INFO  [main:ZooKeeperServer@542] 
- shutting down
[junit] 2017-03-20 00:07:54,640 [myid:] - ERROR [main:ZooKeeperServer@506] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-03-20 00:07:54,640 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2017-03-20 00:07:54,640 [myid:] - INFO  
[main:PrepRequestProcessor@1008] - Shutting down
[junit] 2017-03-20 00:07:54,640 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2017-03-20 00:07:54,640 [myid:] - INFO  [ProcessThread(sid:0 
cport:27626)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2017-03-20 00:07:54,641 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2017-03-20 00:07:54,641 [myid:] - INFO  
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2017-03-20 00:07:54,641 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port27626,name1=InMemoryDataTree]
[junit] 2017-03-20 00:07:54,641 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27626]
[junit] 2017-03-20 00:07:54,676 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 27626
[junit] 2017-03-20 00:07:54,677 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2017-03-20 00:07:54,683 [myid:] - INFO  [main:ClientBase@583] - 
fdcount after test is: 4836 at start it was 4832
[junit] 2017-03-20 00:07:54,683 [myid:] - INFO  [main:ClientBase@585] - 
sleeping for 20 secs
[junit] 2017-03-20 00:07:54,683 [myid:] - INFO  [main:ZKTestCase$1@68] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2017-03-20 00:07:54,683 [myid:] - INFO  [main:ZKTestCase$1@63] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
475.515 sec, Thread: 7, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2017-03-20 00:07:54,736 [myid:127.0.0.1:27509] - INFO  
[main-SendThread(127.0.0.1:27509):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27509. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2017-03-20 00:07:54,737 [myid:127.0.0.1:27509] - WARN  
[main-SendThread(127.0.0.1:27509):ClientCnxn$SendThread@1235] - Session 
0x3013663f767 for server 127.0.0.1/127.0.0.1:27509, unexpected error, 
closing socket connection and attempting reconnect
[junit] java.net.ConnectException: Connection refused
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] Running org.apache.zookeeper.server.quorum.Zab1_0Test in thread 1
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 
sec, Thread: 1, Class: org.apache.zookeeper.server.quorum.Zab1_0Test
[junit] Test org.apache.zookeeper.server.quorum.Zab1_0Test FAILED (timeout)

fail.build.on.test.failure:

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1338: The 
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1219: The 
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1223: Tests 
failed!

Total time: 16 minutes 8 seconds
Build step 'Execute shell' marked build as failu

Re: Contributing to Zookeeper

2017-03-19 Thread Atri Sharma
Thanks, that is very helpful

On Mar 19, 2017 10:13 PM, "Jordan Zimmerman" 
wrote:

> Atri,
>
> Docs regarding ZooKeeper are abundant on the Internet. Like all Apache
> projects, the best place to start is the project website:
> http://zookeeper.apache.org . Also, like
> most Apache projects there is a wiki with tons of information:
> https://cwiki.apache.org/confluence/display/ZOOKEEPER/Index <
> https://cwiki.apache.org/confluence/display/ZOOKEEPER/Index>
>
> -Jordan
>
> > On Mar 19, 2017, at 11:04 AM, Atri Sharma  wrote:
> >
> > Thanks Camille.
> >
> > Could you please point me to some internals/code docs that I could
> > refer to for getting started?
> >
> > Regards,
> >
> > Atri
> >
> > On Sun, Mar 19, 2017 at 1:48 AM, Camille Fournier 
> wrote:
> >> Hi Atri,
> >>
> >> We're always happy to have folks contribute. I would recommend starting
> by
> >> reading the various documentation on how to contribute, and hanging out
> on
> >> the mailing lists for a while to get a feel for the project. Once you
> see
> >> something that makes sense for your skill set, volunteer an answer or a
> >> patch. That's the way most of us have gotten involved here.
> >>
> >> Cheers,
> >> C
> >>
> >> On Sat, Mar 18, 2017 at 10:20 AM, Atri Sharma 
> wrote:
> >>
> >>> Hi folks,
> >>>
> >>> Please advise
> >>>
> >>> On Mar 17, 2017 10:25 PM, "Atri Sharma"  wrote:
> >>>
>  Hi All,
> 
>  I am a distributed systems engineer with experience across different
>  spectrum of highly scalable systems and have worked with consistency
>  and quorum protocols.
> 
>  I would be happy to help out on any ongoing/needed feature in
>  Zookeeper. Please let me know.
> 
> 
>  Regards,
> 
>  Atri
> 
> >>>
> >
> >
> >
> > --
> > Regards,
> >
> > Atri
> > Apache Concerted
>
>


[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database

2017-03-19 Thread Rakesh R (JIRA)

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

Rakesh R commented on ZOOKEEPER-2712:
-

bq. Regarding find bug warnings - I tried find bugs (3.0.1) locally and I also 
get 97 warnings. I suspect we did not get such warnings either because we did 
not run find bugs at all for branch-3.4, or find bug version updates. I think 
we should fix the warnings before releasing of 3.4.10, not sure if you agree 
with this or not. Regardless of this, I think fixing findbug warning is out 
scope of this particular JIRA and we could use another JIRA to track it (same 
for the javadoc warnings).

Thank you [~hanm] for bringing the findbug warnings point. Its true, Jenkins 
was not running findbug tool for branch-3.4 and the report was not visible. I 
personally would like to avoid postponing the 3.4.10 release even further as 
there are many critical, security defects fixed and quorum auth sasl feature 
available in this. IMHO, we should fix findbugs if anything critical and should 
cut a {{3.4.10}} release and all the other warnings can be pushed to 
{{3.4.11}}? I have quickly gone through the warnings and didn't notice any 
critical items. Please feel free to add if you would like to discuss any 
specific case. Probably, could raise a jira to fix those and continue 
discussion over there.



> MiniKdc test case intermittently failing due to principal not found in 
> Kerberos database
> 
>
> Key: ZOOKEEPER-2712
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: tests
>Reporter: Rakesh R
>Assignee: Rakesh R
>Priority: Critical
> Fix For: 3.4.10
>
> Attachments: 
> TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt
>
>
> MiniKdc test cases are intermittently failing due to not finding the 
> principal. Below is the failure stacktrace.
> {code}
> 2017-03-08 13:21:10,843 [myid:] - ERROR 
> [NioProcessor-1:AuthenticationService@187] - Error while searching for client 
> lear...@example.com : Client not found in Kerberos database
> 2017-03-08 13:21:10,843 [myid:] - WARN  
> [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos 
> database (7)
> 2017-03-08 13:21:10,845 [myid:] - WARN  
> [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos 
> database (7)
> 2017-03-08 13:21:10,844 [myid:] - WARN  
> [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos 
> database (6)
> 2017-03-08 13:21:10,845 [myid:] - WARN  
> [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos 
> database (6)
> {code}
> Will attach the detailed log to jira.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Comment Edited] (ZOOKEEPER-2637) NettyNettySuiteHammerTest and NettyNettySuiteTest failures

2017-03-19 Thread Vineet Ghatge (JIRA)

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

Vineet Ghatge edited comment on ZOOKEEPER-2637 at 3/19/17 5:14 PM:
---

I got an RHEL 5 machine on AWS and attempted to build it there too. I did not 
see the test failing there too. [~amita-persistent] : Will you be upload the 
logs and long with exact steps that you did to see this issue?



was (Author: vinegh):
I got an RHEL 5 machine on AWS and attempted to build it there too. I did the 
see the test failing there too. [~amita-persistent] : Will you be upload the 
logs and long with exact steps that you did to see this issue?


> NettyNettySuiteHammerTest  and NettyNettySuiteTest failures
> ---
>
> Key: ZOOKEEPER-2637
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2637
> Project: ZooKeeper
>  Issue Type: Sub-task
>  Components: tests
>Affects Versions: 3.6.0
> Environment: rhel ppc64le
>Reporter: Amita Chaudhary
>Assignee: Vineet Ghatge
>
> I am getting test failures related to Netty:
> [junit] Running org.apache.zookeeper.test.NettyNettySuiteHammerTest
> [junit] Running org.apache.zookeeper.test.NettyNettySuiteHammerTest
> [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> [junit] Test org.apache.zookeeper.test.NettyNettySuiteHammerTest FAILED 
> (crashed)
> [junit] Running org.apache.zookeeper.test.NettyNettySuiteTest
> [junit] Tests run: 101, Failures: 0, Errors: 26, Skipped: 0, Time elapsed: 
> 247.238 sec
> [junit] Test org.apache.zookeeper.test.NettyNettySuiteTest FAILED
> [junit] Running org.apache.zookeeper.test.NioNettySuiteHammerTest
> [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
> 75.519 sec
> on machine rhel, ppc64le. for master branch.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ZOOKEEPER-2637) NettyNettySuiteHammerTest and NettyNettySuiteTest failures

2017-03-19 Thread Vineet Ghatge (JIRA)

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

Vineet Ghatge commented on ZOOKEEPER-2637:
--

I got an RHEL 5 machine on AWS and attempted to build it there too. I did the 
see the test failing there too. [~amita-persistent] : Will you be upload the 
logs and long with exact steps that you did to see this issue?


> NettyNettySuiteHammerTest  and NettyNettySuiteTest failures
> ---
>
> Key: ZOOKEEPER-2637
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2637
> Project: ZooKeeper
>  Issue Type: Sub-task
>  Components: tests
>Affects Versions: 3.6.0
> Environment: rhel ppc64le
>Reporter: Amita Chaudhary
>Assignee: Vineet Ghatge
>
> I am getting test failures related to Netty:
> [junit] Running org.apache.zookeeper.test.NettyNettySuiteHammerTest
> [junit] Running org.apache.zookeeper.test.NettyNettySuiteHammerTest
> [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> [junit] Test org.apache.zookeeper.test.NettyNettySuiteHammerTest FAILED 
> (crashed)
> [junit] Running org.apache.zookeeper.test.NettyNettySuiteTest
> [junit] Tests run: 101, Failures: 0, Errors: 26, Skipped: 0, Time elapsed: 
> 247.238 sec
> [junit] Test org.apache.zookeeper.test.NettyNettySuiteTest FAILED
> [junit] Running org.apache.zookeeper.test.NioNettySuiteHammerTest
> [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
> 75.519 sec
> on machine rhel, ppc64le. for master branch.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Re: Contributing to Zookeeper

2017-03-19 Thread Jordan Zimmerman
Atri,

Docs regarding ZooKeeper are abundant on the Internet. Like all Apache 
projects, the best place to start is the project website: 
http://zookeeper.apache.org . Also, like most 
Apache projects there is a wiki with tons of information: 
https://cwiki.apache.org/confluence/display/ZOOKEEPER/Index 


-Jordan

> On Mar 19, 2017, at 11:04 AM, Atri Sharma  wrote:
> 
> Thanks Camille.
> 
> Could you please point me to some internals/code docs that I could
> refer to for getting started?
> 
> Regards,
> 
> Atri
> 
> On Sun, Mar 19, 2017 at 1:48 AM, Camille Fournier  wrote:
>> Hi Atri,
>> 
>> We're always happy to have folks contribute. I would recommend starting by
>> reading the various documentation on how to contribute, and hanging out on
>> the mailing lists for a while to get a feel for the project. Once you see
>> something that makes sense for your skill set, volunteer an answer or a
>> patch. That's the way most of us have gotten involved here.
>> 
>> Cheers,
>> C
>> 
>> On Sat, Mar 18, 2017 at 10:20 AM, Atri Sharma  wrote:
>> 
>>> Hi folks,
>>> 
>>> Please advise
>>> 
>>> On Mar 17, 2017 10:25 PM, "Atri Sharma"  wrote:
>>> 
 Hi All,
 
 I am a distributed systems engineer with experience across different
 spectrum of highly scalable systems and have worked with consistency
 and quorum protocols.
 
 I would be happy to help out on any ongoing/needed feature in
 Zookeeper. Please let me know.
 
 
 Regards,
 
 Atri
 
>>> 
> 
> 
> 
> -- 
> Regards,
> 
> Atri
> Apache Concerted



Re: Contributing to Zookeeper

2017-03-19 Thread Atri Sharma
Thanks Camille.

Could you please point me to some internals/code docs that I could
refer to for getting started?

Regards,

Atri

On Sun, Mar 19, 2017 at 1:48 AM, Camille Fournier  wrote:
> Hi Atri,
>
> We're always happy to have folks contribute. I would recommend starting by
> reading the various documentation on how to contribute, and hanging out on
> the mailing lists for a while to get a feel for the project. Once you see
> something that makes sense for your skill set, volunteer an answer or a
> patch. That's the way most of us have gotten involved here.
>
> Cheers,
> C
>
> On Sat, Mar 18, 2017 at 10:20 AM, Atri Sharma  wrote:
>
>> Hi folks,
>>
>> Please advise
>>
>> On Mar 17, 2017 10:25 PM, "Atri Sharma"  wrote:
>>
>> > Hi All,
>> >
>> > I am a distributed systems engineer with experience across different
>> > spectrum of highly scalable systems and have worked with consistency
>> > and quorum protocols.
>> >
>> > I would be happy to help out on any ongoing/needed feature in
>> > Zookeeper. Please let me know.
>> >
>> >
>> > Regards,
>> >
>> > Atri
>> >
>>



-- 
Regards,

Atri
Apache Concerted


ZooKeeper_branch34_openjdk7 - Build # 1434 - Still Failing

2017-03-19 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_openjdk7/1434/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 31.01 MB...]
[junit] 2017-03-19 15:14:16,097 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2017-03-19 15:14:16,097 [myid:] - INFO  
[main:PrepRequestProcessor@764] - Shutting down
[junit] 2017-03-19 15:14:16,097 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2017-03-19 15:14:16,097 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2017-03-19 15:14:16,097 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2017-03-19 15:14:16,098 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2017-03-19 15:14:16,098 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-03-19 15:14:16,099 [myid:] - INFO  [main:JMXEnv@147] - 
ensureOnly:[]
[junit] 2017-03-19 15:14:16,100 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2017-03-19 15:14:16,100 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2017-03-19 15:14:16,100 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2017-03-19 15:14:16,100 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2017-03-19 15:14:16,100 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7/build/test/tmp/test6871169161534530101.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7/build/test/tmp/test6871169161534530101.junit.dir/version-2
[junit] 2017-03-19 15:14:16,104 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-03-19 15:14:16,104 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-03-19 15:14:16,104 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:39252
[junit] 2017-03-19 15:14:16,105 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@883] - Processing 
stat command from /127.0.0.1:39252
[junit] 2017-03-19 15:14:16,105 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@674] - Stat command output
[junit] 2017-03-19 15:14:16,105 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1044] - Closed socket connection for client 
/127.0.0.1:39252 (no session established for client)
[junit] 2017-03-19 15:14:16,105 [myid:] - INFO  [main:JMXEnv@230] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2017-03-19 15:14:16,107 [myid:] - INFO  [main:JMXEnv@247] - 
expect:InMemoryDataTree
[junit] 2017-03-19 15:14:16,107 [myid:] - INFO  [main:JMXEnv@251] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2017-03-19 15:14:16,107 [myid:] - INFO  [main:JMXEnv@247] - 
expect:StandaloneServer_port
[junit] 2017-03-19 15:14:16,107 [myid:] - INFO  [main:JMXEnv@251] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2017-03-19 15:14:16,108 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 24040
[junit] 2017-03-19 15:14:16,108 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2017-03-19 15:14:16,108 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2017-03-19 15:14:16,108 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2017-03-19 15:14:16,184 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x15ae722190f closed
[junit] 2017-03-19 15:14:16,185 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2017-03-19 15:14:16,185 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x15ae722190f
[junit] 2017-03-19 15:14:16,185 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2017-03-19 15:14:16,185 [myid:] - INFO  [main:ZooKeeperServer@505] 
- shutting down
[junit] 2017-03-19 15:14:16,186 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-03-19 15:1

ZooKeeper-trunk-jdk8 - Build # 983 - Still Failing

2017-03-19 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/983/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 65.50 MB...]
[junit] at 
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
[junit] at 
org.jboss.netty.channel.SimpleChannelHandler.closeRequested(SimpleChannelHandler.java:334)
[junit] at 
org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:260)
[junit] at 
org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
[junit] at 
org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
[junit] at org.jboss.netty.channel.Channels.close(Channels.java:812)
[junit] at 
org.jboss.netty.channel.AbstractChannel.close(AbstractChannel.java:206)
[junit] at 
org.apache.zookeeper.server.NettyServerCnxn.close(NettyServerCnxn.java:112)
[junit] at 
org.apache.zookeeper.server.NettyServerCnxn.sendBuffer(NettyServerCnxn.java:216)
[junit] at 
org.apache.zookeeper.server.NettyServerCnxn.sendCloseSession(NettyServerCnxn.java:455)
[junit] at 
org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:461)
[junit] at 
org.apache.zookeeper.server.SyncRequestProcessor.flush(SyncRequestProcessor.java:182)
[junit] at 
org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:113)
[junit] 2017-03-19 11:55:18,432 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x100a2c8a990
[junit] 2017-03-19 11:55:18,432 [myid:] - INFO  [main:ZooKeeper@1324] - 
Session: 0x100a2c8a990 closed
[junit] 2017-03-19 11:55:18,432 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 140492
[junit] 2017-03-19 11:55:18,432 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 467
[junit] 2017-03-19 11:55:18,432 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2017-03-19 11:55:18,432 [myid:] - INFO  [main:ClientBase@558] - 
tearDown starting
[junit] 2017-03-19 11:55:18,432 [myid:] - INFO  [main:ClientBase@528] - 
STOPPING server
[junit] 2017-03-19 11:55:18,433 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:16854
[junit] 2017-03-19 11:55:18,435 [myid:] - INFO  [main:ZooKeeperServer@542] 
- shutting down
[junit] 2017-03-19 11:55:18,435 [myid:] - ERROR [main:ZooKeeperServer@506] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-03-19 11:55:18,435 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2017-03-19 11:55:18,435 [myid:] - INFO  
[main:PrepRequestProcessor@1008] - Shutting down
[junit] 2017-03-19 11:55:18,436 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2017-03-19 11:55:18,436 [myid:] - INFO  [ProcessThread(sid:0 
cport:16854)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2017-03-19 11:55:18,436 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2017-03-19 11:55:18,436 [myid:] - INFO  
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2017-03-19 11:55:18,436 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port16854,name1=InMemoryDataTree]
[junit] 2017-03-19 11:55:18,436 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16854]
[junit] 2017-03-19 11:55:18,436 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 16854
[junit] 2017-03-19 11:55:18,437 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2017-03-19 11:55:18,441 [myid:] - INFO  [main:ClientBase@583] - 
fdcount after test is: 1383 at start it was 1387
[junit] 2017-03-19 11:55:18,441 [myid:] - INFO  [main:ZKTestCase$1@68] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2017-03-19 11:55:18,441 [myid:] - INFO  [main:ZKTestCase$1@63] - 
FINISHED testWatcherAutoResetWithLocal
[junit] 2017-03-19 11:55:18,441 [myid:127.0.0.1:16737] - INFO  
[main-SendThread(127.0.0.1:16737):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:16737. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2017-03-19 11:55:18,442 [myid:127.0.0.1:16737] - WARN  
[main-SendThread(127.0.0.1:16737):ClientCnxn$SendThread@1235] - Session 
0x300a2c58335 for server 127.0.0.1/127.0.0.1:1673

ZooKeeper_branch35_openjdk7 - Build # 461 - Still Failing

2017-03-19 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/461/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 60.59 MB...]
[junit] 2017-03-19 10:11:03,626 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1229] - Client session 
timed out, have not heard from server in 30030ms for sessionid 0x0, closing 
socket connection and attempting reconnect
[junit] 2017-03-19 10:11:04,883 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:19307. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2017-03-19 10:11:04,883 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: /127.0.0.1:38267, server: 
127.0.0.1/127.0.0.1:19307
[junit] 2017-03-19 10:11:04,884 [myid:2] - INFO  
[NIOServerCxnFactory.AcceptThread:localhost/127.0.0.1:19307:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:38267
[junit] 2017-03-19 10:11:25,214 [myid:127.0.0.1:19307] - WARN  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1181] - Client session 
timed out, have not heard from server in 30030ms for sessionid 0x2005429e0e4
[junit] 2017-03-19 10:11:25,214 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1229] - Client session 
timed out, have not heard from server in 30030ms for sessionid 
0x2005429e0e4, closing socket connection and attempting reconnect
[junit] 2017-03-19 10:11:27,055 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:19307. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2017-03-19 10:11:27,056 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: /127.0.0.1:38274, server: 
127.0.0.1/127.0.0.1:19307
[junit] 2017-03-19 10:11:27,056 [myid:2] - INFO  
[NIOServerCxnFactory.AcceptThread:localhost/127.0.0.1:19307:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:38274
[junit] 2017-03-19 10:11:34,911 [myid:127.0.0.1:19307] - WARN  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1181] - Client session 
timed out, have not heard from server in 30027ms for sessionid 0x0
[junit] 2017-03-19 10:11:34,911 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1229] - Client session 
timed out, have not heard from server in 30027ms for sessionid 0x0, closing 
socket connection and attempting reconnect
[junit] 2017-03-19 10:11:36,987 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:19307. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2017-03-19 10:11:36,988 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: /127.0.0.1:38280, server: 
127.0.0.1/127.0.0.1:19307
[junit] 2017-03-19 10:11:36,988 [myid:2] - INFO  
[NIOServerCxnFactory.AcceptThread:localhost/127.0.0.1:19307:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:38280
[junit] 2017-03-19 10:11:57,082 [myid:127.0.0.1:19307] - WARN  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1181] - Client session 
timed out, have not heard from server in 30027ms for sessionid 0x2005429e0e4
[junit] 2017-03-19 10:11:57,082 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1229] - Client session 
timed out, have not heard from server in 30027ms for sessionid 
0x2005429e0e4, closing socket connection and attempting reconnect
[junit] 2017-03-19 10:11:59,011 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:19307. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2017-03-19 10:11:59,012 [myid:127.0.0.1:19307] - INFO  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: /127.0.0.1:38287, server: 
127.0.0.1/127.0.0.1:19307
[junit] 2017-03-19 10:11:59,012 [myid:2] - INFO  
[NIOServerCxnFactory.AcceptThread:localhost/127.0.0.1:19307:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:38287
[junit] 2017-03-19 10:12:07,014 [myid:127.0.0.1:19307] - WARN  
[main-SendThread(127.0.0.1:19307):ClientCnxn$SendThread@1181] - Client