[jira] [Updated] (ZOOKEEPER-1045) Support Quorum Peer mutual authentication via SASL

2016-10-05 Thread Rakesh R (JIRA)

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

Rakesh R updated ZOOKEEPER-1045:

Component/s: (was: server)
 security
 quorum

> Support Quorum Peer mutual authentication via SASL
> --
>
> Key: ZOOKEEPER-1045
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1045
> Project: ZooKeeper
>  Issue Type: New Feature
>  Components: quorum, security
>Reporter: Eugene Koontz
>Assignee: Rakesh R
>Priority: Critical
> Fix For: 3.4.10, 3.5.3
>
> Attachments: 0001-ZOOKEEPER-1045-br-3-4.patch, 
> 1045_failing_phunt.tar.gz, HOST_RESOLVER-ZK-1045.patch, 
> TEST-org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.txt, 
> ZK-1045-test-case-failure-logs.zip, ZOOKEEPER-1045-00.patch, 
> ZOOKEEPER-1045-Rolling Upgrade Design Proposal.pdf, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045TestValidationDesign.pdf, 
> org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.testRollingUpgrade.log
>
>
> ZOOKEEPER-938 addresses mutual authentication between clients and servers. 
> This bug, on the other hand, is for authentication among quorum peers. 
> Hopefully much of the work done on SASL integration with Zookeeper for 
> ZOOKEEPER-938 can be used as a foundation for this enhancement.
> Review board: https://reviews.apache.org/r/47354/



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


[jira] [Updated] (ZOOKEEPER-1045) Support Quorum Peer mutual authentication via SASL

2016-10-05 Thread Rakesh R (JIRA)

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

Rakesh R updated ZOOKEEPER-1045:

Attachment: ZOOKEEPER-1045-br-3-4.patch

Thanks [~hanm] for the reviews. I'm attaching the latest patch from the review 
board, also modified the {{README.md}} by including the _HOST wildcard pattern 
details.

> Support Quorum Peer mutual authentication via SASL
> --
>
> Key: ZOOKEEPER-1045
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1045
> Project: ZooKeeper
>  Issue Type: New Feature
>  Components: server
>Reporter: Eugene Koontz
>Assignee: Rakesh R
>Priority: Critical
> Fix For: 3.4.10, 3.5.3
>
> Attachments: 0001-ZOOKEEPER-1045-br-3-4.patch, 
> 1045_failing_phunt.tar.gz, HOST_RESOLVER-ZK-1045.patch, 
> TEST-org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.txt, 
> ZK-1045-test-case-failure-logs.zip, ZOOKEEPER-1045-00.patch, 
> ZOOKEEPER-1045-Rolling Upgrade Design Proposal.pdf, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045TestValidationDesign.pdf, 
> org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.testRollingUpgrade.log
>
>
> ZOOKEEPER-938 addresses mutual authentication between clients and servers. 
> This bug, on the other hand, is for authentication among quorum peers. 
> Hopefully much of the work done on SASL integration with Zookeeper for 
> ZOOKEEPER-938 can be used as a foundation for this enhancement.
> Review board: https://reviews.apache.org/r/47354/



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


[jira] [Commented] (ZOOKEEPER-1936) Server exits when unable to create data directory due to race

2016-10-05 Thread Ted Yu (JIRA)

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

Ted Yu commented on ZOOKEEPER-1936:
---

Is there anything I can do to move this forward ?

> Server exits when unable to create data directory due to race 
> --
>
> Key: ZOOKEEPER-1936
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1936
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.4.6, 3.5.0
>Reporter: Harald Musum
>Assignee: Ted Yu
>Priority: Minor
> Fix For: 3.4.10, 3.5.3
>
> Attachments: ZOOKEEPER-1936.branch-3.4.patch, ZOOKEEPER-1936.patch, 
> ZOOKEEPER-1936.v2.patch, ZOOKEEPER-1936.v3.patch, ZOOKEEPER-1936.v3.patch, 
> ZOOKEEPER-1936.v4.patch, ZOOKEEPER-1936.v5.patch
>
>
> We sometime see issues with ZooKeeper server not starting and seeing this 
> error in the log:
> [2014-05-27 09:29:48.248] ERROR   : -   
> .org.apache.zookeeper.server.ZooKeeperServerMainUnexpected exception,
> exiting abnormally\nexception=\njava.io.IOException: Unable to create data
> directory /home/y/var/zookeeper/version-2\n\tat
> org.apache.zookeeper.server.persistence.FileTxnSnapLog.(FileTxnSnapLog.java:85)\n\tat
> org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:103)\n\tat
> org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:86)\n\tat
> org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:52)\n\tat
> org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:116)\n\tat
> org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)\n\t
> [...]
> Stack trace from JVM gives this:
> "PurgeTask" daemon prio=10 tid=0x0201d000 nid=0x1727 runnable
> [0x7f55d7dc7000]
>java.lang.Thread.State: RUNNABLE
> at java.io.UnixFileSystem.createDirectory(Native Method)
> at java.io.File.mkdir(File.java:1310)
> at java.io.File.mkdirs(File.java:1337)
> at
> org.apache.zookeeper.server.persistence.FileTxnSnapLog.(FileTxnSnapLog.java:84)
> at org.apache.zookeeper.server.PurgeTxnLog.purge(PurgeTxnLog.java:68)
> at
> org.apache.zookeeper.server.DatadirCleanupManager$PurgeTask.run(DatadirCleanupManager.java:140)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> "zookeeper server" prio=10 tid=0x027df800 nid=0x1715 runnable
> [0x7f55d7ed8000]
>java.lang.Thread.State: RUNNABLE
> at java.io.UnixFileSystem.createDirectory(Native Method)
> at java.io.File.mkdir(File.java:1310)
> at java.io.File.mkdirs(File.java:1337)
> at
> org.apache.zookeeper.server.persistence.FileTxnSnapLog.(FileTxnSnapLog.java:84)
> at
> org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:103)
> at
> org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:86)
> at
> org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:52)
> at
> org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:116)
> at
> org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
> [...]
> So it seems that when autopurge is used (as it is in our case), it might 
> happen at the same time as starting the server itself. In FileTxnSnapLog() it 
> will check if the directory exists and create it if not. These two tasks do 
> this at the same time, and mkdir fails and server exits the JVM.



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


ZooKeeper_branch34_jdk8 - Build # 727 - Still Failing

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/727/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 228579 lines...]
[junit] 2016-10-05 23:50:27,671 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2016-10-05 23:50:27,671 [myid:] - INFO  [main:ZooKeeperServer@497] 
- shutting down
[junit] 2016-10-05 23:50:27,671 [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] 2016-10-05 23:50:27,671 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2016-10-05 23:50:27,671 [myid:] - INFO  
[main:PrepRequestProcessor@765] - Shutting down
[junit] 2016-10-05 23:50:27,671 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2016-10-05 23:50:27,671 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2016-10-05 23:50:27,672 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2016-10-05 23:50:27,672 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2016-10-05 23:50:27,672 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-10-05 23:50:27,673 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-10-05 23:50:27,674 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2016-10-05 23:50:27,674 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2016-10-05 23:50:27,675 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2016-10-05 23:50:27,675 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2016-10-05 23:50:27,675 [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/test2277326673570586468.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/build/test/tmp/test2277326673570586468.junit.dir/version-2
[junit] 2016-10-05 23:50:27,678 [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] 2016-10-05 23:50:27,678 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-10-05 23:50:27,678 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:60848
[junit] 2016-10-05 23:50:27,679 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:60848
[junit] 2016-10-05 23:50:27,679 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2016-10-05 23:50:27,679 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1008] - Closed socket connection for client 
/127.0.0.1:60848 (no session established for client)
[junit] 2016-10-05 23:50:27,680 [myid:] - INFO  [main:JMXEnv@229] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-10-05 23:50:27,681 [myid:] - INFO  [main:JMXEnv@246] - 
expect:InMemoryDataTree
[junit] 2016-10-05 23:50:27,681 [myid:] - INFO  [main:JMXEnv@250] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2016-10-05 23:50:27,681 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2016-10-05 23:50:27,681 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2016-10-05 23:50:27,682 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 33571
[junit] 2016-10-05 23:50:27,682 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2016-10-05 23:50:27,682 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2016-10-05 23:50:27,682 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2016-10-05 23:50:27,757 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x157974163c2 closed
[junit] 2016-10-05 23:50:27,757 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x157974163c2
[junit] 2016-10-05 23:50:27,758 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2016-10-05 23:50:27,759 

ZooKeeper-trunk - Build # 3108 - Still Failing

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/3108/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 460448 lines...]
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-10-05 23:31:11,597 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port19545,name1=Connections,name2=127.0.0.1,name3=0x10027a0fc53]
[junit] 2016-10-05 23:31:11,697 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x10027a0fc53 closed
[junit] 2016-10-05 23:31:11,697 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x10027a0fc53
[junit] 2016-10-05 23:31:11,697 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 200763
[junit] 2016-10-05 23:31:11,698 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1642
[junit] 2016-10-05 23:31:11,698 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-10-05 23:31:11,698 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-10-05 23:31:11,698 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-10-05 23:31:11,698 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:19545
[junit] 2016-10-05 23:31:11,701 [myid:] - INFO  [main:ZooKeeperServer@529] 
- shutting down
[junit] 2016-10-05 23:31:11,702 [myid:] - ERROR [main:ZooKeeperServer@501] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-10-05 23:31:11,702 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-10-05 23:31:11,702 [myid:] - INFO  
[main:PrepRequestProcessor@965] - Shutting down
[junit] 2016-10-05 23:31:11,702 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-10-05 23:31:11,702 [myid:] - INFO  [ProcessThread(sid:0 
cport:19545)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-10-05 23:31:11,702 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-10-05 23:31:11,703 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-10-05 23:31:11,703 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port19545,name1=InMemoryDataTree]
[junit] 2016-10-05 23:31:11,703 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19545]
[junit] 2016-10-05 23:31:11,703 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 19545
[junit] 2016-10-05 23:31:11,704 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-10-05 23:31:11,719 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 4830 at start it was 4834
[junit] 2016-10-05 23:31:11,719 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-10-05 23:31:11,719 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
526.491 sec, Thread: 4, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2016-10-05 23:31:11,828 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-10-05 23:31:11,964 [myid:127.0.0.1:19425] - INFO  
[main-SendThread(127.0.0.1:19425):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:19425. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 23:31:11,965 [myid:127.0.0.1:19425] - WARN  
[main-SendThread(127.0.0.1:19425):ClientCnxn$SendThread@1235] - Session 
0x200279df629 for server 127.0.0.1/127.0.0.1:19425, 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 5
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 
sec, Thread: 5, Class: org.apache.zookeeper.server.quorum.Zab1_0Test
[junit] Test org.apache.zookeeper.server.quorum.Zab1_0Test FAILED (timeout)

BUILD FAILED

ZooKeeper_branch34_jdk8 - Build # 726 - Failure

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/726/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 229332 lines...]
[junit] 2016-10-05 23:13:08,683 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2016-10-05 23:13:08,683 [myid:] - INFO  [main:ZooKeeperServer@497] 
- shutting down
[junit] 2016-10-05 23:13:08,683 [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] 2016-10-05 23:13:08,683 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2016-10-05 23:13:08,683 [myid:] - INFO  
[main:PrepRequestProcessor@765] - Shutting down
[junit] 2016-10-05 23:13:08,684 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2016-10-05 23:13:08,684 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2016-10-05 23:13:08,684 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2016-10-05 23:13:08,685 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2016-10-05 23:13:08,685 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-10-05 23:13:08,685 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-10-05 23:13:08,687 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2016-10-05 23:13:08,687 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2016-10-05 23:13:08,687 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2016-10-05 23:13:08,687 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2016-10-05 23:13:08,688 [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/test7491061529011125334.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/build/test/tmp/test7491061529011125334.junit.dir/version-2
[junit] 2016-10-05 23:13:08,691 [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] 2016-10-05 23:13:08,691 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-10-05 23:13:08,691 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:37124
[junit] 2016-10-05 23:13:08,692 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:37124
[junit] 2016-10-05 23:13:08,692 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2016-10-05 23:13:08,692 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1008] - Closed socket connection for client 
/127.0.0.1:37124 (no session established for client)
[junit] 2016-10-05 23:13:08,693 [myid:] - INFO  [main:JMXEnv@229] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-10-05 23:13:08,694 [myid:] - INFO  [main:JMXEnv@246] - 
expect:InMemoryDataTree
[junit] 2016-10-05 23:13:08,694 [myid:] - INFO  [main:JMXEnv@250] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2016-10-05 23:13:08,694 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2016-10-05 23:13:08,694 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2016-10-05 23:13:08,695 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 33587
[junit] 2016-10-05 23:13:08,695 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2016-10-05 23:13:08,695 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2016-10-05 23:13:08,695 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2016-10-05 23:13:08,748 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x157971f38ae closed
[junit] 2016-10-05 23:13:08,748 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x157971f38ae
[junit] 2016-10-05 23:13:08,748 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2016-10-05 23:13:08,749 

ZooKeeper_branch35_openjdk7 - Build # 253 - Still Failing

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/253/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 467958 lines...]
[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] 2016-10-05 22:12:42,326 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port19545,name1=Connections,name2=127.0.0.1,name3=0x1012962022a]
[junit] 2016-10-05 22:12:42,405 [myid:127.0.0.1:19422] - INFO  
[main-SendThread(127.0.0.1:19422):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:19422. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 22:12:42,406 [myid:127.0.0.1:19422] - WARN  
[main-SendThread(127.0.0.1:19422):ClientCnxn$SendThread@1235] - Session 
0x101295eb256 for server 127.0.0.1/127.0.0.1:19422, 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] 2016-10-05 22:12:42,426 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x1012962022a closed
[junit] 2016-10-05 22:12:42,427 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 186511
[junit] 2016-10-05 22:12:42,427 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1643
[junit] 2016-10-05 22:12:42,427 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-10-05 22:12:42,427 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-10-05 22:12:42,427 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-10-05 22:12:42,427 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:19545
[junit] 2016-10-05 22:12:42,426 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1012962022a
[junit] 2016-10-05 22:12:42,431 [myid:] - INFO  [main:ZooKeeperServer@529] 
- shutting down
[junit] 2016-10-05 22:12:42,432 [myid:] - ERROR [main:ZooKeeperServer@501] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-10-05 22:12:42,432 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-10-05 22:12:42,432 [myid:] - INFO  
[main:PrepRequestProcessor@965] - Shutting down
[junit] 2016-10-05 22:12:42,432 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-10-05 22:12:42,432 [myid:] - INFO  [ProcessThread(sid:0 
cport:19545)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-10-05 22:12:42,432 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-10-05 22:12:42,432 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-10-05 22:12:42,432 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port19545,name1=InMemoryDataTree]
[junit] 2016-10-05 22:12:42,433 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19545]
[junit] 2016-10-05 22:12:42,433 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 19545
[junit] 2016-10-05 22:12:42,433 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-10-05 22:12:42,441 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 4835 at start it was 4835
[junit] 2016-10-05 22:12:42,441 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 

ZooKeeper_branch35_solaris - Build # 273 - Still Failing

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/273/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 442478 lines...]
[junit] 2016-10-05 21:56:33,413 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:59217
[junit] 2016-10-05 21:56:33,413 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-10-05 21:56:33,413 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:59217 (no session established for client)
[junit] 2016-10-05 21:56:33,414 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-10-05 21:56:33,415 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-10-05 21:56:33,415 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-10-05 21:56:33,415 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-10-05 21:56:33,415 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-10-05 21:56:33,416 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17687
[junit] 2016-10-05 21:56:33,416 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-10-05 21:56:33,416 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-10-05 21:56:33,416 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-10-05 21:56:34,261 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-10-05 21:56:34,261 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-10-05 21:56:35,331 [myid:127.0.0.1:11222] - INFO  
[main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:11222. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 21:56:35,331 [myid:127.0.0.1:11222] - INFO  
[main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: null, server: null
[junit] 2016-10-05 21:56:35,332 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:59218
[junit] 2016-10-05 21:56:35,333 [myid:] - INFO  
[NIOWorkerThread-2:ZooKeeperServer@1000] - Client attempting to renew session 
0x12413d40659 at /127.0.0.1:59218
[junit] 2016-10-05 21:56:35,334 [myid:] - INFO  
[NIOWorkerThread-2:ZooKeeperServer@709] - Established session 0x12413d40659 
with negotiated timeout 3 for client /127.0.0.1:59218
[junit] 2016-10-05 21:56:35,334 [myid:127.0.0.1:11222] - INFO  
[main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1381] - Session 
establishment complete on server null, sessionid = 0x12413d40659, 
negotiated timeout = 3
[junit] 2016-10-05 21:56:35,335 [myid:] - INFO  [ProcessThread(sid:0 
cport:11222)::PrepRequestProcessor@647] - Processed session termination for 
sessionid: 0x12413d40659
[junit] 2016-10-05 21:56:35,335 [myid:] - INFO  
[SyncThread:0:FileTxnLog@204] - Creating new log file: log.c
[junit] 2016-10-05 21:56:35,363 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x12413d40659 closed
[junit] 2016-10-05 21:56:35,363 [myid:] - INFO  
[NIOWorkerThread-5:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=Connections,name2=127.0.0.1,name3=0x12413d40659]
[junit] 2016-10-05 21:56:35,363 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-10-05 21:56:35,363 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x12413d40659
[junit] 2016-10-05 21:56:35,364 [myid:] - INFO  
[NIOWorkerThread-5:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:59218 which had sessionid 0x12413d40659
[junit] 2016-10-05 21:56:35,364 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-10-05 21:56:35,364 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-10-05 21:56:35,364 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-10-05 21:56:35,364 

[jira] [Commented] (ZOOKEEPER-2465) Documentation copyright notice is out of date.

2016-10-05 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira commented on ZOOKEEPER-2465:
-

Relevant links:

https://www.law.cornell.edu/uscode/text/17/401

http://mail-archives.apache.org/mod_mbox/www-legal-discuss/201609.mbox/%3cCAC==nPSUtKaU=2e2hky9nufojs1l9kpmba68hyl8mexlu8e...@mail.gmail.com%3e

> Documentation copyright notice is out of date.
> --
>
> Key: ZOOKEEPER-2465
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2465
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: documentation
>Reporter: Chris Nauroth
>Assignee: Edward Ribeiro
>Priority: Blocker
> Fix For: 3.5.3
>
> Attachments: ZOOKEEPER-2465.2.patch, ZOOKEEPER-2465.patch
>
>
> As reported by [~eribeiro], all of the documentation pages show a copyright 
> notice dating "2008-2013".  This issue tracks updating the copyright notice 
> on all documentation pages to show the current year.



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


ZooKeeper_branch35_jdk8 - Build # 255 - Still Failing

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/255/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 518483 lines...]
[junit] java.net.ConnectException: Connection refused
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-10-05 20:33:41,357 [myid:127.0.0.1:27434] - INFO  
[main-SendThread(127.0.0.1:27434):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27434. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 20:33:41,357 [myid:127.0.0.1:27434] - WARN  
[main-SendThread(127.0.0.1:27434):ClientCnxn$SendThread@1235] - Session 
0x30128fbd64e for server 127.0.0.1/127.0.0.1:27434, 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:717)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-10-05 20:33:41,573 [myid:127.0.0.1:27428] - INFO  
[main-SendThread(127.0.0.1:27428):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27428. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 20:33:41,573 [myid:127.0.0.1:27428] - WARN  
[main-SendThread(127.0.0.1:27428):ClientCnxn$SendThread@1235] - Session 
0x10128fbd8b2 for server 127.0.0.1/127.0.0.1:27428, 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:717)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-10-05 20:33:42,713 [myid:127.0.0.1:27428] - INFO  
[main-SendThread(127.0.0.1:27428):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27428. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 20:33:42,713 [myid:127.0.0.1:27428] - WARN  
[main-SendThread(127.0.0.1:27428):ClientCnxn$SendThread@1235] - Session 
0x10128fbd8b2 for server 127.0.0.1/127.0.0.1:27428, 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:717)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-10-05 20:33:42,769 [myid:127.0.0.1:27434] - INFO  
[main-SendThread(127.0.0.1:27434):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27434. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 20:33:42,769 [myid:127.0.0.1:27434] - WARN  
[main-SendThread(127.0.0.1:27434):ClientCnxn$SendThread@1235] - Session 
0x30128fbd64e for server 127.0.0.1/127.0.0.1:27434, 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:717)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-10-05 20:33:42,813 [myid:127.0.0.1:27431] - INFO  
[main-SendThread(127.0.0.1:27431):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27431. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 20:33:42,813 [myid:127.0.0.1:27431] - WARN  
[main-SendThread(127.0.0.1:27431):ClientCnxn$SendThread@1235] - Session 
0x20128fbd714 for server 127.0.0.1/127.0.0.1:27431, unexpected error, 
closing socket connection and attempting reconnect
[junit] 

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

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/772/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 448805 lines...]
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
[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:1142)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-10-05 19:41:35,542 [myid:] - INFO  [New I/O boss 
#9504:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-10-05 19:41:35,542 [myid:127.0.0.1:14042] - INFO  
[main-SendThread(127.0.0.1:14042):ClientCnxn$SendThread@1231] - channel for 
sessionid 0x3029ba7ffc6 is lost, closing socket connection and attempting 
reconnect
[junit] 2016-10-05 19:41:35,681 [myid:127.0.0.1:14036] - INFO  
[main-SendThread(127.0.0.1:14036):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:14036. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 19:41:35,682 [myid:] - INFO  [New I/O boss 
#9438:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {}
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:14036
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
[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:1142)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-10-05 19:41:35,682 [myid:] - WARN  [New I/O boss 
#9438:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 
0xed7ce227] EXCEPTION: java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:14036
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:14036
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
[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:1142)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-10-05 19:41:35,682 [myid:] - INFO  [New I/O boss 
#9438:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-10-05 19:41:35,682 [myid:127.0.0.1:14036] - INFO  
[main-SendThread(127.0.0.1:14036):ClientCnxn$SendThread@1231] - channel for 
sessionid 0x1029ba80207 is lost, closing socket connection and attempting 
reconnect
[junit] Test 

ZooKeeper_branch34_openjdk7 - Build # 1234 - Failure

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_openjdk7/1234/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 229356 lines...]
[junit] 2016-10-05 19:24:45,164 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2016-10-05 19:24:45,176 [myid:] - INFO  [main:ZooKeeperServer@497] 
- shutting down
[junit] 2016-10-05 19:24:45,176 [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] 2016-10-05 19:24:45,176 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2016-10-05 19:24:45,177 [myid:] - INFO  
[main:PrepRequestProcessor@765] - Shutting down
[junit] 2016-10-05 19:24:45,177 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2016-10-05 19:24:45,178 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2016-10-05 19:24:45,178 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2016-10-05 19:24:45,179 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2016-10-05 19:24:45,179 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-10-05 19:24:45,180 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-10-05 19:24:45,182 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2016-10-05 19:24:45,182 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2016-10-05 19:24:45,183 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2016-10-05 19:24:45,183 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2016-10-05 19:24:45,184 [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/test6714998227223753956.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7/build/test/tmp/test6714998227223753956.junit.dir/version-2
[junit] 2016-10-05 19:24:45,190 [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] 2016-10-05 19:24:45,190 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-10-05 19:24:45,191 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:44846
[junit] 2016-10-05 19:24:45,192 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:44846
[junit] 2016-10-05 19:24:45,197 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2016-10-05 19:24:45,198 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1008] - Closed socket connection for client 
/127.0.0.1:44846 (no session established for client)
[junit] 2016-10-05 19:24:45,204 [myid:] - INFO  [main:JMXEnv@229] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-10-05 19:24:45,207 [myid:] - INFO  [main:JMXEnv@246] - 
expect:InMemoryDataTree
[junit] 2016-10-05 19:24:45,207 [myid:] - INFO  [main:JMXEnv@250] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2016-10-05 19:24:45,207 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2016-10-05 19:24:45,207 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2016-10-05 19:24:45,208 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 32635
[junit] 2016-10-05 19:24:45,208 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2016-10-05 19:24:45,209 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2016-10-05 19:24:45,209 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2016-10-05 19:24:45,235 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x157964e1cb7 closed
[junit] 2016-10-05 19:24:45,235 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2016-10-05 19:24:45,235 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x157964e1cb7
[junit] 2016-10-05 

Re: Review Request 47354: ZOOKEEPER-1045 : Quorum mutual authentication using SASL mechanism

2016-10-05 Thread Michael Han

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/47354/#review151536
---


Ship it!




Thanks Rakesh, latest patch looks great to me.

- Michael Han


On Oct. 5, 2016, 4:14 a.m., Rakesh R wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/47354/
> ---
> 
> (Updated Oct. 5, 2016, 4:14 a.m.)
> 
> 
> Review request for zookeeper, fpj, Ivan Kelly, Patrick Hunt, and Raul 
> Gutierrez Segales.
> 
> 
> Bugs: ZOOKEEPER-1045
> https://issues.apache.org/jira/browse/ZOOKEEPER-1045
> 
> 
> Repository: zookeeper-git
> 
> 
> Description
> ---
> 
> Quorum mutual authentication using SASL mechanism - Digest/Kerberos
> 
> 
> Diffs
> -
> 
>   build.xml ee6834c 
>   ivy.xml 95b0e5a 
>   src/java/main/org/apache/zookeeper/Login.java aaa220c 
>   src/java/main/org/apache/zookeeper/SaslClientCallbackHandler.java 
> PRE-CREATION 
>   src/java/main/org/apache/zookeeper/client/ZooKeeperSaslClient.java 21ef0fa 
>   src/java/main/org/apache/zookeeper/server/ZooKeeperSaslServer.java 71870ce 
>   
> src/java/main/org/apache/zookeeper/server/auth/SaslServerCallbackHandler.java 
> 2fbd6ed 
>   src/java/main/org/apache/zookeeper/server/quorum/Leader.java c83d352 
>   src/java/main/org/apache/zookeeper/server/quorum/Learner.java 647b8a2 
>   src/java/main/org/apache/zookeeper/server/quorum/LearnerHandler.java 
> 8a748c7 
>   src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java 
> 20e5f16 
>   src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java 2f0f21b 
>   src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java 
> 0924ef6 
>   src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerMain.java 
> e9c8007 
>   
> src/java/main/org/apache/zookeeper/server/quorum/auth/NullQuorumAuthLearner.java
>  PRE-CREATION 
>   
> src/java/main/org/apache/zookeeper/server/quorum/auth/NullQuorumAuthServer.java
>  PRE-CREATION 
>   src/java/main/org/apache/zookeeper/server/quorum/auth/QuorumAuth.java 
> PRE-CREATION 
>   
> src/java/main/org/apache/zookeeper/server/quorum/auth/QuorumAuthLearner.java 
> PRE-CREATION 
>   src/java/main/org/apache/zookeeper/server/quorum/auth/QuorumAuthServer.java 
> PRE-CREATION 
>   src/java/main/org/apache/zookeeper/server/quorum/auth/README.md 
> PRE-CREATION 
>   
> src/java/main/org/apache/zookeeper/server/quorum/auth/SaslQuorumAuthLearner.java
>  PRE-CREATION 
>   
> src/java/main/org/apache/zookeeper/server/quorum/auth/SaslQuorumAuthServer.java
>  PRE-CREATION 
>   
> src/java/main/org/apache/zookeeper/server/quorum/auth/SaslQuorumServerCallbackHandler.java
>  PRE-CREATION 
>   src/java/main/org/apache/zookeeper/util/SecurityUtils.java PRE-CREATION 
>   src/java/test/data/kerberos/minikdc-krb5.conf PRE-CREATION 
>   src/java/test/data/kerberos/minikdc.ldiff PRE-CREATION 
>   src/java/test/org/apache/zookeeper/server/quorum/CnxManagerTest.java 
> 8db7fa8 
>   
> src/java/test/org/apache/zookeeper/server/quorum/FLEBackwardElectionRoundTest.java
>  c1259d1 
>   src/java/test/org/apache/zookeeper/server/quorum/FLECompatibilityTest.java 
> 72e4fc9 
>   src/java/test/org/apache/zookeeper/server/quorum/FLEDontCareTest.java 
> a4c0cb0 
>   src/java/test/org/apache/zookeeper/server/quorum/FLELostMessageTest.java 
> 39a53ca 
>   src/java/test/org/apache/zookeeper/server/quorum/LearnerTest.java 2ae57ce 
>   src/java/test/org/apache/zookeeper/server/quorum/QuorumCnxManagerTest.java 
> PRE-CREATION 
>   src/java/test/org/apache/zookeeper/server/quorum/QuorumPeerTestBase.java 
> 85817b2 
>   src/java/test/org/apache/zookeeper/server/quorum/Zab1_0Test.java ab8ce42 
>   
> src/java/test/org/apache/zookeeper/server/quorum/auth/KerberosSecurityTestcase.java
>  PRE-CREATION 
>   
> src/java/test/org/apache/zookeeper/server/quorum/auth/KerberosTestUtils.java 
> PRE-CREATION 
>   src/java/test/org/apache/zookeeper/server/quorum/auth/MiniKdc.java 
> PRE-CREATION 
>   src/java/test/org/apache/zookeeper/server/quorum/auth/MiniKdcTest.java 
> PRE-CREATION 
>   
> src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumAuthTestBase.java 
> PRE-CREATION 
>   
> src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumAuthUpgradeTest.java
>  PRE-CREATION 
>   
> src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumDigestAuthTest.java
>  PRE-CREATION 
>   
> src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumKerberosAuthTest.java
>  PRE-CREATION 
>   
> src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumKerberosHostBasedAuthTest.java
>  PRE-CREATION 
>   src/java/test/org/apache/zookeeper/test/FLEPredicateTest.java 8088505 
>   src/zookeeper.jute 6521e54 
> 
> Diff: https://reviews.apache.org/r/47354/diff/
> 
> 
> Testing
> ---
> 

ZooKeeper_branch35_jdk7 - Build # 687 - Failure

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/687/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 454120 lines...]
[junit] 2016-10-05 18:34:38,541 [myid:] - INFO  [ProcessThread(sid:0 
cport:24931)::PrepRequestProcessor@647] - Processed session termination for 
sessionid: 0x188bf08
[junit] 2016-10-05 18:34:38,542 [myid:] - WARN  [New I/O worker 
#1811:NettyServerCnxnFactory$CnxnChannelHandler@142] - Exception caught [id: 
0x359fcd66, /127.0.0.1:58982 :> /127.0.0.1:24931] EXCEPTION: 
java.nio.channels.ClosedChannelException
[junit] java.nio.channels.ClosedChannelException
[junit] at 
sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:270)
[junit] at 
sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:479)
[junit] at 
org.jboss.netty.channel.socket.nio.SocketSendBufferPool$UnpooledSendBuffer.transferTo(SocketSendBufferPool.java:203)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioWorker.write0(AbstractNioWorker.java:201)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromTaskLoop(AbstractNioWorker.java:151)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioChannel$WriteTask.run(AbstractNioChannel.java:315)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
[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] 2016-10-05 18:34:38,542 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=Connections,name2=127.0.0.1,name3=0x188bf08]
[junit] 2016-10-05 18:34:38,642 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x188bf08 closed
[junit] 2016-10-05 18:34:38,642 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x188bf08
[junit] 2016-10-05 18:34:38,643 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 49793
[junit] 2016-10-05 18:34:38,643 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 466
[junit] 2016-10-05 18:34:38,643 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-10-05 18:34:38,643 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-10-05 18:34:38,643 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-10-05 18:34:38,643 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:24931
[junit] 2016-10-05 18:34:38,645 [myid:] - INFO  [main:ZooKeeperServer@529] 
- shutting down
[junit] 2016-10-05 18:34:38,645 [myid:] - ERROR [main:ZooKeeperServer@501] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-10-05 18:34:38,645 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-10-05 18:34:38,645 [myid:] - INFO  
[main:PrepRequestProcessor@965] - Shutting down
[junit] 2016-10-05 18:34:38,646 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-10-05 18:34:38,646 [myid:] - INFO  [ProcessThread(sid:0 
cport:24931)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-10-05 18:34:38,646 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-10-05 18:34:38,646 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-10-05 18:34:38,646 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=InMemoryDataTree]
[junit] 2016-10-05 18:34:38,647 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port24931]
[junit] 2016-10-05 18:34:38,647 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24931
[junit] 2016-10-05 18:34:38,647 

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

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1336/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 442825 lines...]
[junit] 2016-10-05 18:35:30,116 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-10-05 18:35:30,116 [myid:] - INFO  
[main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2016-10-05 18:35:30,117 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-10-05 18:35:30,118 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-10-05 18:35:30,118 [myid:] - INFO  [main:ZooKeeperServer@889] 
- minSessionTimeout set to 6000
[junit] 2016-10-05 18:35:30,118 [myid:] - INFO  [main:ZooKeeperServer@898] 
- maxSessionTimeout set to 6
[junit] 2016-10-05 18:35:30,118 [myid:] - INFO  [main:ZooKeeperServer@159] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test5019407309810567522.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test5019407309810567522.junit.dir/version-2
[junit] 2016-10-05 18:35:30,119 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test5019407309810567522.junit.dir/version-2/snapshot.b
[junit] 2016-10-05 18:35:30,121 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test5019407309810567522.junit.dir/version-2/snapshot.b
[junit] 2016-10-05 18:35:30,122 [myid:] - ERROR [main:ZooKeeperServer@501] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-10-05 18:35:30,123 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-10-05 18:35:30,123 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:34313
[junit] 2016-10-05 18:35:30,124 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:34313
[junit] 2016-10-05 18:35:30,124 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-10-05 18:35:30,124 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:34313 (no session established for client)
[junit] 2016-10-05 18:35:30,124 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-10-05 18:35:30,126 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-10-05 18:35:30,126 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-10-05 18:35:30,126 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-10-05 18:35:30,126 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-10-05 18:35:30,126 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17666
[junit] 2016-10-05 18:35:30,127 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-10-05 18:35:30,127 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-10-05 18:35:30,127 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-10-05 18:35:30,202 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x124131c1310 closed
[junit] 2016-10-05 18:35:30,202 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x124131c1310
[junit] 2016-10-05 18:35:30,202 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-10-05 18:35:30,203 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-10-05 18:35:30,203 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-10-05 18:35:30,203 [myid:] - INFO  

[jira] [Commented] (ZOOKEEPER-2594) Use TLS for downloading artifacts during build

2016-10-05 Thread Hudson (JIRA)

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

Hudson commented on ZOOKEEPER-2594:
---

FAILURE: Integrated in Jenkins build ZooKeeper-trunk #3107 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/3107/])
ZOOKEEPER-2594: Use TLS for downloading artifacts during build (Olaf (phunt: 
rev 8d0154bcc21e58b6166eb5e360f72ce37699e072)
* (edit) src/contrib/build-contrib.xml
* (edit) ivysettings.xml
* (edit) build.xml
* (edit) CHANGES.txt


> Use TLS for downloading artifacts during build
> --
>
> Key: ZOOKEEPER-2594
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2594
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: build
>Affects Versions: 3.4.9, 3.5.2
>Reporter: Olaf Flebbe
>Assignee: Olaf Flebbe
>Priority: Blocker
>  Labels: security
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
> Attachments: 0001-ZOOKEEPER-2594-Use-TLS-for-downloading.patch, 
> 0001-ZOOKEEPER-2594-Use-TLS-for-downloading.patch, 
> 0001-ZOOKEEPER-2594-Use-TLS-for-downloading.patch, ZOOKEEPER-2594.patch, 
> compile.log
>
>
> Zookeeper builds are downloading dependencies using the insecure http:// 
> protocol. 
> An outdated java.net repository can be removed now, since its content is now 
> on maven.org.
> The https://repo2.maven.org cannot be used, since its certificate is invalid. 
> Use repo1.maven.org instead (IMHO this is intentional).
> Appended you'll find a proposed patch (against git head) to fix these issues, 
> for a starter.



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


ZooKeeper-trunk - Build # 3107 - Failure

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/3107/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 461991 lines...]
[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] 2016-10-05 17:27:38,959 [myid:] - INFO  [New I/O boss 
#9471:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-10-05 17:27:38,959 [myid:127.0.0.1:22118] - INFO  
[main-SendThread(127.0.0.1:22118):ClientCnxn$SendThread@1231] - channel for 
sessionid 0x200264ab1f0 is lost, closing socket connection and attempting 
reconnect
[junit] 2016-10-05 17:27:39,226 [myid:127.0.0.1:22115] - INFO  
[main-SendThread(127.0.0.1:22115):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:22115. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 17:27:39,227 [myid:] - INFO  [New I/O boss 
#9438:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {}
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:22115
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
[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] 2016-10-05 17:27:39,227 [myid:] - WARN  [New I/O boss 
#9438:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 
0xf4961472] EXCEPTION: java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:22115
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:22115
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
[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] 2016-10-05 17:27:39,227 [myid:] - INFO  [New I/O boss 
#9438:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-10-05 17:27:39,227 [myid:127.0.0.1:22115] - INFO  
[main-SendThread(127.0.0.1:22115):ClientCnxn$SendThread@1231] - channel for 
sessionid 0x100264aae65 is lost, closing socket connection and attempting 
reconnect

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

Total time: 10 minutes 34 seconds
Build step 'Execute shell' marked build as failure
[FINDBUGS] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Recording fingerprints
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Updating ZOOKEEPER-2594
Recording test results
Setting 

ZooKeeper_branch35_solaris - Build # 272 - Still Failing

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/272/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 454593 lines...]
[junit] 2016-10-05 17:22:19,655 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-10-05 17:22:19,656 [myid:] - INFO  
[main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2016-10-05 17:22:19,657 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-10-05 17:22:19,657 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-10-05 17:22:19,658 [myid:] - INFO  [main:ZooKeeperServer@889] 
- minSessionTimeout set to 6000
[junit] 2016-10-05 17:22:19,658 [myid:] - INFO  [main:ZooKeeperServer@898] 
- maxSessionTimeout set to 6
[junit] 2016-10-05 17:22:19,658 [myid:] - INFO  [main:ZooKeeperServer@159] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test5700305820696499461.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test5700305820696499461.junit.dir/version-2
[junit] 2016-10-05 17:22:19,659 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test5700305820696499461.junit.dir/version-2/snapshot.b
[junit] 2016-10-05 17:22:19,662 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test5700305820696499461.junit.dir/version-2/snapshot.b
[junit] 2016-10-05 17:22:19,663 [myid:] - ERROR [main:ZooKeeperServer@501] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-10-05 17:22:19,663 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-10-05 17:22:19,664 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:49342
[junit] 2016-10-05 17:22:19,665 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:49342
[junit] 2016-10-05 17:22:19,666 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-10-05 17:22:19,666 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:49342 (no session established for client)
[junit] 2016-10-05 17:22:19,666 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-10-05 17:22:19,668 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-10-05 17:22:19,668 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-10-05 17:22:19,668 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-10-05 17:22:19,668 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-10-05 17:22:19,669 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17689
[junit] 2016-10-05 17:22:19,669 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-10-05 17:22:19,669 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-10-05 17:22:19,669 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-10-05 17:22:19,740 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x12412d9146d closed
[junit] 2016-10-05 17:22:19,740 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x12412d9146d
[junit] 2016-10-05 17:22:19,740 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-10-05 17:22:19,741 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-10-05 17:22:19,741 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-10-05 17:22:19,741 [myid:] - INFO  

Re: [VOTE] move Apache Zookeeper to git

2016-10-05 Thread Edward Ribeiro
Excuse me guys!

I've written on Macbook Pro. No idea why GMail messed it up. I was only
able to see the strange characters when I pasted on a gist text area. The
previous message is below, but if anyone is still having trouble (I tried
to remove the weird character), I left a copy at:
https://gist.github.com/eribeiro/da2a6a6c9a508610d52d0755fae8352d

"Hi,

The patch attached on ZOOKEEPER-2597 is a straightforward adaptation of
Kafka's one. It takes care of merging Github PR into Apache git repo and a
subsequent closing of the PR on the GH side, among other things (rewriting
of commit messages, etc). The current status is: the script needs to be
reviewed/validated by a committer. It has been some time since I uploaded
the patch, so I gonna do another pass through it in the meantime.

There are some workflow issues beyond the scope of ZOOKEEPER-2597 that need
to be sorted out (IMO):

1. The normal workflow is to open a JIRA ticket before doing any GH PR,
that is, no JIRA-less PRs. The PR should have a title of the form
"ZOOKEEPER-: Title". This will trigger the Apache JIRA-Github
integration and it's opening show up in the JIRA ticket.

2. OTOH, not every Kafka PR needs a corresponding JIRA ticket. There are a
class of PRs with "MINOR" title that represent trivial code changes and
"HOT-FIX" title that fix urgent, but simple bugs. Both bypass the JIRA
creation step, even tough they are still subject to review. It's worth
adopting a similar approach for ZK project?

3. IIRC (didn't find any page to confirm), Cassandra project encourages,
but not demands, that contributors also upload a patch file to JIRA even in
the case of a GH PR (as to leave a audit trail, I guess). Or, at  least, C*
project leaves up to the contributors to either open a GH PR or upload the
patch file to JIRA.


+1 about having a 'paper trail' of review comments on JIRA and/or mailing
list (I would prefer the mailing list tbh). But as Michael and Flavio
pointed out, I never seen GH PR review **comments** being written back to
JIRA, at least not in Kafka, Cassandra or Solr projects, that I have
followed more closely.

Eddie"


On Wed, Oct 5, 2016 at 1:35 PM, Michael Han  wrote:

> Eddie's mail contains lots of '=E2=80=8B'' which is unicode character
> zero-width space, which might cause parsing trouble for some mail clients.
>
> On Wed, Oct 5, 2016 at 6:42 AM, Flavio Junqueira  wrote:
>
> > Dude, I'm just not able to parse your e-mail, did you write that on a
> > phone or something?
> >
> > -Flavio
> >
> > > On 05 Oct 2016, at 03:54, Edward Ribeiro 
> > wrote:
> > >
> > > Hi,
> > >
> > > The patch attached on ZOOKEEPER-2597 is a
> > > ​straightforward adaptation of
> > > Kafka's one. It takes care of merging Github PR into Apache git repo
> and
> > > ​ a​
> > > subsequent closing of the PR on the GH side
> > > ​ among other things (rewriting of commit messages, etc)​
> > > . The current status is: the script needs to be reviewed/validated by a
> > > committer.
> > > ​It has been some time since I uploaded the patch, so I gonna do
> another
> > > pass through it in the meantime.​
> > >
> > >
> > > ​T
> > > here are some workflow issues beyond the scope of ZOOKEEPER-2597
> > > ​ that need to be sorted out (IMO)​
> > > :
> > >
> > > 1. The normal workflow is to open a JIRA ticket before doing any GH PR
> > > ​, that is, no JIRA-less PRs.​
> > > The PR should have a title of the form "ZOOKEEPER-: Title". This
> will
> > > trigger the Apache JIRA-Github integration and it's opening show up in
> > the
> > > JIRA ticket.
> > >
> > > 2.
> > > ​OTOH, ​n
> > > ot every Kafka PR needs a corresponding JIRA ticket
> > > ​. ​
> > > There are a class of PR
> > > ​s​
> > > with "MINOR"
> > > ​ title​
> > > that represent trivial code changes
> > > ​ and "HOT-FIX" title that fix urgent, but simple bugs. Both​
> > > bypass the JIRA creation step
> > > ​, even tough they are still ​
> > > subject to review
> > > ​.​
> > > It's worth adopting a similar approach for ZK project?
> > >
> > > 3. IIRC
> > > ​ (didn't find any page to confirm)​
> > > , Cassandra project encourages, but not demands, that contributors also
> > > upload a patch file to JIRA even in the case of a GH PR
> > > ​ (as to leave a audit trail, I guess)​
> > > ​.​
> > > Or
> > > ​,​
> > > at
> > > ​ ​
> > > least
> > > ​,​
> > > ​C* project ​
> > > leave
> > > ​s​
> > > up to the contributor
> > > ​s​
> > > to either open a GH PR or upload the patch file
> > > ​ to JIRA. In fact, Github allows the access to a raw patch or diff,
> it's
> > > just a matter of adding the ".patch" or ".diff" suffix to the end of
> the
> > > Pull Request URL.
> > > ​
> > >
> > >
> > > +1 about having a 'paper trail'
> > > ​ of review comments​
> > >
> > > ​o​
> > > n JIRA and
> > > ​/or​
> > > mailing list (I
> > > ​ would​
> > > prefer the mailing list tbh). But as Michael and Flavio pointed out, I
> > > never seen
> > > ​GH ​
> > > PR review
> 

Re: [VOTE] move Apache Zookeeper to git

2016-10-05 Thread Michael Han
Eddie's mail contains lots of '=E2=80=8B'' which is unicode character
zero-width space, which might cause parsing trouble for some mail clients.

On Wed, Oct 5, 2016 at 6:42 AM, Flavio Junqueira  wrote:

> Dude, I'm just not able to parse your e-mail, did you write that on a
> phone or something?
>
> -Flavio
>
> > On 05 Oct 2016, at 03:54, Edward Ribeiro 
> wrote:
> >
> > Hi,
> >
> > The patch attached on ZOOKEEPER-2597 is a
> > ​straightforward adaptation of
> > Kafka's one. It takes care of merging Github PR into Apache git repo and
> > ​ a​
> > subsequent closing of the PR on the GH side
> > ​ among other things (rewriting of commit messages, etc)​
> > . The current status is: the script needs to be reviewed/validated by a
> > committer.
> > ​It has been some time since I uploaded the patch, so I gonna do another
> > pass through it in the meantime.​
> >
> >
> > ​T
> > here are some workflow issues beyond the scope of ZOOKEEPER-2597
> > ​ that need to be sorted out (IMO)​
> > :
> >
> > 1. The normal workflow is to open a JIRA ticket before doing any GH PR
> > ​, that is, no JIRA-less PRs.​
> > The PR should have a title of the form "ZOOKEEPER-: Title". This will
> > trigger the Apache JIRA-Github integration and it's opening show up in
> the
> > JIRA ticket.
> >
> > 2.
> > ​OTOH, ​n
> > ot every Kafka PR needs a corresponding JIRA ticket
> > ​. ​
> > There are a class of PR
> > ​s​
> > with "MINOR"
> > ​ title​
> > that represent trivial code changes
> > ​ and "HOT-FIX" title that fix urgent, but simple bugs. Both​
> > bypass the JIRA creation step
> > ​, even tough they are still ​
> > subject to review
> > ​.​
> > It's worth adopting a similar approach for ZK project?
> >
> > 3. IIRC
> > ​ (didn't find any page to confirm)​
> > , Cassandra project encourages, but not demands, that contributors also
> > upload a patch file to JIRA even in the case of a GH PR
> > ​ (as to leave a audit trail, I guess)​
> > ​.​
> > Or
> > ​,​
> > at
> > ​ ​
> > least
> > ​,​
> > ​C* project ​
> > leave
> > ​s​
> > up to the contributor
> > ​s​
> > to either open a GH PR or upload the patch file
> > ​ to JIRA. In fact, Github allows the access to a raw patch or diff, it's
> > just a matter of adding the ".patch" or ".diff" suffix to the end of the
> > Pull Request URL.
> > ​
> >
> >
> > +1 about having a 'paper trail'
> > ​ of review comments​
> >
> > ​o​
> > n JIRA and
> > ​/or​
> > mailing list (I
> > ​ would​
> > prefer the mailing list tbh). But as Michael and Flavio pointed out, I
> > never seen
> > ​GH ​
> > PR review
> > ​**​
> > comments
> > ​**​
> > being written back to JIRA, at least not in Kafka, Cassandra
> > ​or​
> > Solr projects
> > ​, that I have followed more closely.​
> >
> > Eddie
> >
> >
> > On Tue, Oct 4, 2016 at 6:40 PM, Michael Han  wrote:
> >
>  as long as the opening/closing/commenting all get sent to the mailing
> >> list or recorded in jira
> >> Yeah, this is my impression as well, that we need to keep certain paper
> >> trail regarding activities and comments on ASF side (JIRA or mail list).
> >> Infra page said:
> >>
> >>   - Any Pull Request that gets opened, closed, reopened or **commented**
> >>   on now gets recorded on the project's mailing list
> >>   - If a project has a JIRA instance, any PRs or *comments* on PRs that
> >>   include a JIRA ticket ID will trigger an update on that specific
> ticket
> >>
> >> I checked a couple Kafka and Spark JIRAs but I don't see any of the
> >> comments made in github PR were posted on JIRA, except the activities
> (open
> >> a PR, close a PR). Since both projects have been using github for a
> while I
> >> assume such practice of NOT integrating comments between github and ASF
> >> JIRA is acceptable? Though I feel it would be really useful if comments
> >> could converge in a single place as well, that will provide a clear
> history
> >> for a given technical issue.
> >>
> >> On Tue, Oct 4, 2016 at 12:06 PM, Flavio Junqueira 
> wrote:
> >>
> >>> Until ZOOKEEPER-2597  >> jira/browse/ZOOKEEPER-2597>
> >>> is fixed, we can't merge via github.
> >>>
> >>> For code reviews, we can use GH as long as the
> opening/closing/commenting
> >>> all get sent to the mailing list or recorded in jira. I don't think we
> >> have
> >>> that yet, but it is possible according to this:
> >>>
> >>> https://blogs.apache.org/infra/entry/improved_
> >>> integration_between_apache_and  >>> infra/entry/improved_integration_between_apache_and>
> >>>
> >>> For now, we do need to upload patches and converge using jira.
> >>>
> >>> I think Eddie has been looking at this process trying to replicate the
> >>> Kafka setup, so perhaps he can give an update if I'm right. Kafka
> doesn't
> >>> send every comment to the mailing list, though, but I'm not sure if
> >> that's
> >>> acceptable according to the ASF, I need to double-check.
> >>>
> 

RE: ZooKeeper clients does not handle new error codes properly

2016-10-05 Thread Mohammad arshad
Thanks Michael Han for the information.
It is the same place in my case as well.

-Original Message-
From: Michael Han [mailto:h...@cloudera.com] 
Sent: 04 October 2016 23:08
To: UserZooKeeper
Cc: dev@zookeeper.apache.org
Subject: Re: ZooKeeper clients does not handle new error codes properly

Hi Arshad,

I am curious where the IllegalArgumentException was thrown in code in your use 
case - I am asking because I spotted that in KeeperException.create, we have a 
default fall through [1] that throws IllegalArgumentException, and if this is 
not the place where you observed the IllegalArgumentException in your upgrade 
use case, then we may also need think to change the default fall through here 
from throwing IllegalArgumentException to return something like 
SystemErrorException, because it seems possible that unknown / not mapped error 
codes can be passed to KeeperException.create that will lead to 
IllegalArgumentException that client can't handle well?

[1] https://github.com/apache/zookeeper/blob/master/src/
java/main/org/apache/zookeeper/KeeperException.java#L144

On Tue, Oct 4, 2016 at 8:21 AM, Mohammad arshad 
wrote:

> Thanks Benjamin Reed,
> Client protocol version is 0, it is not changed. Also there is no 
> logic executed at the server side based on the client protocol version.
> Increasing the client protocol version and converting the errors at 
> server may be the ideal and more precise solution but to handle it in 
> a generic way can we convert the unknown error to 
> KeeperException.SystemErrorException
> at client side? Do you foresee any problem in this solution?
>
> Thanks
> -Arshad
>
>
> -Original Message-
> From: Benjamin Reed [mailto:br...@apache.org]
> Sent: 04 October 2016 10:27
> To: u...@zookeeper.apache.org
> Cc: DevZooKeeper
> Subject: Re: ZooKeeper clients does not handle new error codes 
> properly
>
> did we bump the protocol version when we added the new errors? the 
> server could do the conversion when it responds to older clients.
>
> On Mon, Oct 3, 2016 at 3:05 AM, Flavio Junqueira  wrote:
>
> > Hi Arshad,
> >
> > It makes sense to me. What if we convert unknown server errors to 
> > KeeperException.SystemErrorException? This is a generic error and it 
> > extends KeeperException.
> >
> > I don't see it as a big issue to make this change, but others may 
> > feel differently. If we do it, then we will need a release note 
> > pointing out the change of behavior.
> >
> > -Flavio
> >
> > > On 03 Oct 2016, at 08:54, Mohammad arshad 
> > > 
> > wrote:
> > >
> > > Hi All,
> > > In Zookeeper rolling upgrade scenario where server is new but 
> > > client is
> > old, when sever sends error code which is not understood by a 
> > client, client throws IllegalArgumentException. Generally 
> > IllegalArgumentException is not handled by any of the ZK applications.
> > It is too generic. How to handle this scenario in ZK applications?
> > > My understanding is instead of throwing IllegalArgumentException 
> > > we
> > should throw a subclass of KeeperException, for example 
> > InvalidErrorCodeException, so that zk apps can take more specific action.
> > > Any thoughts?
> > >
> > > Thanks
> > > -Arshad
> > >
> >
> >
>



--
Cheers
Michael.


Re: [VOTE] move Apache Zookeeper to git

2016-10-05 Thread Flavio Junqueira
Dude, I'm just not able to parse your e-mail, did you write that on a phone or 
something?

-Flavio

> On 05 Oct 2016, at 03:54, Edward Ribeiro  wrote:
> 
> Hi,
> 
> The patch attached on ZOOKEEPER-2597 is a
> ​straightforward adaptation of
> Kafka's one. It takes care of merging Github PR into Apache git repo and
> ​ a​
> subsequent closing of the PR on the GH side
> ​ among other things (rewriting of commit messages, etc)​
> . The current status is: the script needs to be reviewed/validated by a
> committer.
> ​It has been some time since I uploaded the patch, so I gonna do another
> pass through it in the meantime.​
> 
> 
> ​T
> here are some workflow issues beyond the scope of ZOOKEEPER-2597
> ​ that need to be sorted out (IMO)​
> :
> 
> 1. The normal workflow is to open a JIRA ticket before doing any GH PR
> ​, that is, no JIRA-less PRs.​
> The PR should have a title of the form "ZOOKEEPER-: Title". This will
> trigger the Apache JIRA-Github integration and it's opening show up in the
> JIRA ticket.
> 
> 2.
> ​OTOH, ​n
> ot every Kafka PR needs a corresponding JIRA ticket
> ​. ​
> There are a class of PR
> ​s​
> with "MINOR"
> ​ title​
> that represent trivial code changes
> ​ and "HOT-FIX" title that fix urgent, but simple bugs. Both​
> bypass the JIRA creation step
> ​, even tough they are still ​
> subject to review
> ​.​
> It's worth adopting a similar approach for ZK project?
> 
> 3. IIRC
> ​ (didn't find any page to confirm)​
> , Cassandra project encourages, but not demands, that contributors also
> upload a patch file to JIRA even in the case of a GH PR
> ​ (as to leave a audit trail, I guess)​
> ​.​
> Or
> ​,​
> at
> ​ ​
> least
> ​,​
> ​C* project ​
> leave
> ​s​
> up to the contributor
> ​s​
> to either open a GH PR or upload the patch file
> ​ to JIRA. In fact, Github allows the access to a raw patch or diff, it's
> just a matter of adding the ".patch" or ".diff" suffix to the end of the
> Pull Request URL.
> ​
> 
> 
> +1 about having a 'paper trail'
> ​ of review comments​
> 
> ​o​
> n JIRA and
> ​/or​
> mailing list (I
> ​ would​
> prefer the mailing list tbh). But as Michael and Flavio pointed out, I
> never seen
> ​GH ​
> PR review
> ​**​
> comments
> ​**​
> being written back to JIRA, at least not in Kafka, Cassandra
> ​or​
> Solr projects
> ​, that I have followed more closely.​
> 
> Eddie
> 
> 
> On Tue, Oct 4, 2016 at 6:40 PM, Michael Han  wrote:
> 
 as long as the opening/closing/commenting all get sent to the mailing
>> list or recorded in jira
>> Yeah, this is my impression as well, that we need to keep certain paper
>> trail regarding activities and comments on ASF side (JIRA or mail list).
>> Infra page said:
>> 
>>   - Any Pull Request that gets opened, closed, reopened or **commented**
>>   on now gets recorded on the project's mailing list
>>   - If a project has a JIRA instance, any PRs or *comments* on PRs that
>>   include a JIRA ticket ID will trigger an update on that specific ticket
>> 
>> I checked a couple Kafka and Spark JIRAs but I don't see any of the
>> comments made in github PR were posted on JIRA, except the activities (open
>> a PR, close a PR). Since both projects have been using github for a while I
>> assume such practice of NOT integrating comments between github and ASF
>> JIRA is acceptable? Though I feel it would be really useful if comments
>> could converge in a single place as well, that will provide a clear history
>> for a given technical issue.
>> 
>> On Tue, Oct 4, 2016 at 12:06 PM, Flavio Junqueira  wrote:
>> 
>>> Until ZOOKEEPER-2597 > jira/browse/ZOOKEEPER-2597>
>>> is fixed, we can't merge via github.
>>> 
>>> For code reviews, we can use GH as long as the opening/closing/commenting
>>> all get sent to the mailing list or recorded in jira. I don't think we
>> have
>>> that yet, but it is possible according to this:
>>> 
>>> https://blogs.apache.org/infra/entry/improved_
>>> integration_between_apache_and >> infra/entry/improved_integration_between_apache_and>
>>> 
>>> For now, we do need to upload patches and converge using jira.
>>> 
>>> I think Eddie has been looking at this process trying to replicate the
>>> Kafka setup, so perhaps he can give an update if I'm right. Kafka doesn't
>>> send every comment to the mailing list, though, but I'm not sure if
>> that's
>>> acceptable according to the ASF, I need to double-check.
>>> 
>>> -Flavio
>>> 
 On 04 Oct 2016, at 19:42, Michael Han  wrote:
 
 Hi,
 
 Now we've moved to git, what is the policy for uploading patches and
>>> doing
 code reviews? I am asking because I've seen recently there are git pull
 requests coming in without associated patch file uploaded to JIRA. I've
 checked
 https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute,
 looks like there is not much change regarding patch 

Re: [VOTE] move Apache Zookeeper to git

2016-10-05 Thread Flavio Junqueira
Apparently, infra allowed Kafka to not have comments written to the dev list or 
jira. There is a thread discussing whether that decision should be reverted or 
not. Not sure how much value it adds to this discussion, but it is good to have 
another reference:

http://mail-archives.apache.org/mod_mbox/kafka-dev/201510.mbox/%3cCAD5tkZaEmmpvS9-6w6KsubhW1ddrowgOYvLs=dhcvl2p2ky...@mail.gmail.com%3e
 


-Flavio

> On 04 Oct 2016, at 22:40, Michael Han  wrote:
> 
>>> as long as the opening/closing/commenting all get sent to the mailing
> list or recorded in jira
> Yeah, this is my impression as well, that we need to keep certain paper
> trail regarding activities and comments on ASF side (JIRA or mail list).
> Infra page said:
> 
>   - Any Pull Request that gets opened, closed, reopened or **commented**
>   on now gets recorded on the project's mailing list
>   - If a project has a JIRA instance, any PRs or *comments* on PRs that
>   include a JIRA ticket ID will trigger an update on that specific ticket
> 
> I checked a couple Kafka and Spark JIRAs but I don't see any of the
> comments made in github PR were posted on JIRA, except the activities (open
> a PR, close a PR). Since both projects have been using github for a while I
> assume such practice of NOT integrating comments between github and ASF
> JIRA is acceptable? Though I feel it would be really useful if comments
> could converge in a single place as well, that will provide a clear history
> for a given technical issue.
> 
> On Tue, Oct 4, 2016 at 12:06 PM, Flavio Junqueira  > wrote:
> 
>> Until ZOOKEEPER-2597 > >
>> is fixed, we can't merge via github.
>> 
>> For code reviews, we can use GH as long as the opening/closing/commenting
>> all get sent to the mailing list or recorded in jira. I don't think we have
>> that yet, but it is possible according to this:
>> 
>> https://blogs.apache.org/infra/entry/improved_ 
>> 
>> integration_between_apache_and > 
>> infra/entry/improved_integration_between_apache_and>
>> 
>> For now, we do need to upload patches and converge using jira.
>> 
>> I think Eddie has been looking at this process trying to replicate the
>> Kafka setup, so perhaps he can give an update if I'm right. Kafka doesn't
>> send every comment to the mailing list, though, but I'm not sure if that's
>> acceptable according to the ASF, I need to double-check.
>> 
>> -Flavio
>> 
>>> On 04 Oct 2016, at 19:42, Michael Han  wrote:
>>> 
>>> Hi,
>>> 
>>> Now we've moved to git, what is the policy for uploading patches and
>> doing
>>> code reviews? I am asking because I've seen recently there are git pull
>>> requests coming in without associated patch file uploaded to JIRA. I've
>>> checked
>>> https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute,
>>> looks like there is not much change regarding patch process - so
>> presumably
>>> we still need to generate and upload patch file to JIRA for the record,
>>> while using github (maybe in addition of review board, or in the future
>>> with gerrit) to do code reviews?
>>> 
>>> 
>>> On Wed, Sep 21, 2016 at 6:05 AM, Edward Ribeiro <
>> edward.ribe...@gmail.com>
>>> wrote:
>>> 
 Cool, just open https://issues.apache.org/jira/browse/ZOOKEEPER-2597
 
 PS: I removed the REPO_HOME global variable.
 
 On Wed, Sep 21, 2016 at 6:53 AM, Flavio Junqueira 
>> wrote:
 
> Better to have that in the form of a pull request or diff.
> 
> REPO_HOME does seem to be unused.
> 
> -Flavio
> 
>> On 20 Sep 2016, at 18:57, Edward Ribeiro 
> wrote:
>> 
>> Hey, I have started porting the kafka-merge.py to work on ZK repos. I
> would
>> need someone to review it and help me test it now.
>> 
>> The files were uploaded below, but I will create a github repo yet
 today.
>> 
>> https://www.dropbox.com/sh/od8bet2574jttm3/
> AADv1DXTb8vfyVCmelFbYCEha?dl=0
>> 
>> I uploaded the kafka version script so that you can use diff or Meld
>> to
>> spot my changes, but feel free to grasp the original file here:
>> https://github.com/apache/kafka/blob/trunk/kafka-merge-pr.py
>> 
>> PS: It's just me or REPO_HOME env variable is not used anywhere in the
>> merge script???
>> 
>> Cheers,
>> Eddie
>> 
>> On Tue, Sep 20, 2016 at 12:19 PM, Patrick Hunt 
 wrote:
>> 
>>> On Mon, Sep 19, 2016 at 4:11 PM, Benjamin Reed 
> wrote:
>>> 
 what you are suggesting sounds good, 

ZooKeeper_branch35_jdk8 - Build # 254 - Still Failing

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/254/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 474930 lines...]
[junit] 2016-10-05 12:15:20,006 [myid:] - WARN  [New I/O boss 
#66:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 
0x1598ef74] EXCEPTION: java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:11222
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:11222
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
[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:1142)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-10-05 12:15:20,006 [myid:] - INFO  [New I/O boss 
#66:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-10-05 12:15:20,006 [myid:127.0.0.1:11222] - INFO  
[main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1231] - channel for 
sessionid 0x101283e50b4 is lost, closing socket connection and attempting 
reconnect
[junit] 2016-10-05 12:15:20,130 [myid:127.0.0.1:11343] - INFO  
[main-SendThread(127.0.0.1:11343):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:11343. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 12:15:20,131 [myid:] - INFO  [New I/O boss 
#9438:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {}
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:11343
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
[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:1142)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-10-05 12:15:20,131 [myid:] - WARN  [New I/O boss 
#9438:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 
0x076a983b] EXCEPTION: java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:11343
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:11343
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[junit] at 
org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
[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 

ZooKeeper-trunk-jdk8 - Build # 771 - Failure

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/771/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 465263 lines...]
[junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[junit] at java.net.Socket.connect(Socket.java:589)
[junit] at 
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:441)
[junit] at 
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:482)
[junit] at 
org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:419)
[junit] at 
org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:486)
[junit] at 
org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:465)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-10-05 12:00:43,330 [myid:] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message 
format version), 3 (n.leader), 0x20003 (n.zxid), 0x3 (n.round), LOOKING 
(n.state), 3 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)1 (n.config 
version)
[junit] 2016-10-05 12:00:43,330 [myid:] - INFO  
[WorkerReceiver[myid=2]:FastLeaderElection@688] - Notification: 2 (message 
format version), 3 (n.leader), 0x20003 (n.zxid), 0x3 (n.round), LOOKING 
(n.state), 3 (n.sid), 0x2 (n.peerEPoch), LEADING (my state)1 (n.config 
version)
[junit] 2016-10-05 12:00:43,331 [myid:] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message 
format version), 2 (n.leader), 0x0 (n.zxid), 0x (n.round), 
LEADING (n.state), 2 (n.sid), 0x1 (n.peerEPoch), LOOKING (my state)1 
(n.config version)
[junit] Running org.apache.zookeeper.server.ZxidRolloverTest in thread 4
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 
sec, Thread: 4, Class: org.apache.zookeeper.server.ZxidRolloverTest
[junit] Test org.apache.zookeeper.server.ZxidRolloverTest FAILED (timeout)
[junit] 2016-10-05 12:01:18,207 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 132984
[junit] 2016-10-05 12:01:18,208 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 55
[junit] 2016-10-05 12:01:18,208 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testManyChildWatchersAutoReset
[junit] 2016-10-05 12:01:18,208 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-10-05 12:01:18,209 [myid:] - INFO  [ProcessThread(sid:0 
cport:21997)::PrepRequestProcessor@647] - Processed session termination for 
sessionid: 0x10127275008
[junit] 2016-10-05 12:01:18,224 [myid:] - INFO  
[NIOWorkerThread-18:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port21997,name1=Connections,name2=127.0.0.1,name3=0x10127275008]
[junit] 2016-10-05 12:01:18,224 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x10127275008
[junit] 2016-10-05 12:01:18,224 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x10127275008 closed
[junit] 2016-10-05 12:01:18,225 [myid:] - INFO  
[NIOWorkerThread-18:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:55747 which had sessionid 0x10127275008
[junit] 2016-10-05 12:01:18,225 [myid:] - INFO  [ProcessThread(sid:0 
cport:21997)::PrepRequestProcessor@647] - Processed session termination for 
sessionid: 0x101272750080001
[junit] 2016-10-05 12:01:18,249 [myid:] - INFO  
[NIOWorkerThread-12:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port21997,name1=Connections,name2=127.0.0.1,name3=0x101272750080001]
[junit] 2016-10-05 12:01:18,249 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x101272750080001 closed
[junit] 2016-10-05 12:01:18,250 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-10-05 12:01:18,250 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x101272750080001
[junit] 2016-10-05 12:01:18,250 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-10-05 12:01:18,251 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-10-05 12:01:18,250 [myid:] - INFO  
[NIOWorkerThread-12:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:55716 which had sessionid 0x101272750080001
[junit] 2016-10-05 12:01:18,253 [myid:] - INFO  

ZooKeeper_branch35_openjdk7 - Build # 252 - Still Failing

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/252/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 455976 lines...]
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
[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] 2016-10-05 10:13:07,394 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port30317,name1=Connections,name2=127.0.0.1,name3=0x10126d37bd8]
[junit] 2016-10-05 10:13:07,494 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x10126d37bd8 closed
[junit] 2016-10-05 10:13:07,494 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x10126d37bd8
[junit] 2016-10-05 10:13:07,494 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 139706
[junit] 2016-10-05 10:13:07,494 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1643
[junit] 2016-10-05 10:13:07,495 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-10-05 10:13:07,495 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-10-05 10:13:07,495 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-10-05 10:13:07,495 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:30317
[junit] 2016-10-05 10:13:07,502 [myid:] - INFO  [main:ZooKeeperServer@529] 
- shutting down
[junit] 2016-10-05 10:13:07,502 [myid:] - ERROR [main:ZooKeeperServer@501] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-10-05 10:13:07,502 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-10-05 10:13:07,503 [myid:] - INFO  
[main:PrepRequestProcessor@965] - Shutting down
[junit] 2016-10-05 10:13:07,503 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-10-05 10:13:07,503 [myid:] - INFO  [ProcessThread(sid:0 
cport:30317)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-10-05 10:13:07,503 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-10-05 10:13:07,503 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-10-05 10:13:07,507 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port30317,name1=InMemoryDataTree]
[junit] 2016-10-05 10:13:07,507 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30317]
[junit] 2016-10-05 10:13:07,507 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 30317
[junit] 2016-10-05 10:13:07,508 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-10-05 10:13:07,513 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 4825 at start it was 4825
[junit] 2016-10-05 10:13:07,514 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-10-05 10:13:07,514 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
445.963 sec, Thread: 8, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2016-10-05 10:13:07,592 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-10-05 10:13:07,592 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-10-05 10:13:07,624 [myid:127.0.0.1:30194] - INFO  
[main-SendThread(127.0.0.1:30194):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:30194. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-10-05 10:13:07,625 [myid:127.0.0.1:30194] 

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

2016-10-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1335/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 143847 lines...]
[junit] at 
java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340)
[junit] at 
java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:338)
[junit] at 
org.apache.zookeeper.server.quorum.LearnerHandler.shutdown(LearnerHandler.java:901)
[junit] at 
org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:622)
[junit] 2016-10-05 07:57:07,128 [myid:] - WARN  
[LearnerHandler-/127.0.0.1:55408:LearnerHandler@619] - *** GOODBYE 
/127.0.0.1:55408 
[junit] 2016-10-05 07:57:07,129 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-10-05 07:57:07,130 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-10-05 07:57:07,130 [myid:] - WARN  
[LearnerHandler-/127.0.0.1:55408:LearnerHandler@903] - Ignoring unexpected 
exception
[junit] java.lang.InterruptedException
[junit] at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1219)
[junit] at 
java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340)
[junit] at 
java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:338)
[junit] at 
org.apache.zookeeper.server.quorum.LearnerHandler.shutdown(LearnerHandler.java:901)
[junit] at 
org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:622)
[junit] 2016-10-05 07:57:07,130 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:/127.0.0.1:11253:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-10-05 07:57:07,131 [myid:] - INFO  
[/127.0.0.1:11248:QuorumCnxManager$Listener@661] - Leaving listener
[junit] 2016-10-05 07:57:07,131 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5,name2=Leader]
[junit] 2016-10-05 07:57:07,131 [myid:] - INFO  [main:QuorumBase@398] - 
Shutting down leader election 
QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled)
[junit] 2016-10-05 07:57:07,131 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):QuorumPeer@1127] - 
Unexpected exception
[junit] java.lang.InterruptedException
[junit] at java.lang.Object.wait(Native Method)
[junit] at 
org.apache.zookeeper.server.quorum.Leader.lead(Leader.java:561)
[junit] at 
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1124)
[junit] 2016-10-05 07:57:07,132 [myid:] - INFO  [main:QuorumBase@403] - 
Waiting for QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled) to exit 
thread
[junit] 2016-10-05 07:57:07,132 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):Leader@623] - 
Shutting down
[junit] 2016-10-05 07:57:07,132 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):QuorumPeer@1158] - 
PeerState set to LOOKING
[junit] 2016-10-05 07:57:07,132 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):QuorumPeer@1140] - 
QuorumPeer main thread exited
[junit] 2016-10-05 07:57:07,132 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5]
[junit] 2016-10-05 07:57:07,132 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5]
[junit] 2016-10-05 07:57:07,132 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.1]
[junit] 2016-10-05 07:57:07,132 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.2]
[junit] 2016-10-05 07:57:07,133 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.3]
[junit] 2016-10-05 07:57:07,133 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11253)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.4]
[junit] 

[jira] [Comment Edited] (ZOOKEEPER-1045) Support Quorum Peer mutual authentication via SASL

2016-10-05 Thread Rakesh R (JIRA)

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

Rakesh R edited comment on ZOOKEEPER-1045 at 10/5/16 7:10 AM:
--

Attached another patch in the [review ticket 
47354|https://reviews.apache.org/r/47354/] addressing [~hanm]'s comments. 
Majorly I've used the {{QuorumConnectionThread}} only if the 
'quorumSaslEnabled' to process the connection requests asynchronously. In the 
existing code path(non-auth) it will continue connecting to the peers 
sequentially. This separation is basically done to give the confidence to all 
by not touching the existing code flow, and keeps a different code path for 
this feature. I hope this change will help to push the feature safely into the 
{{branch3.4}}.

[~fpj], [~cnauroth], [~rgs], do you have some cycles to review the latest 
patch. Appreciate your feedback. Thanks!


was (Author: rakeshr):
Attached another patch in the [review ticket 
47354|https://reviews.apache.org/r/47354/] addressing [~hanm]'s comments. 
Majorly I've used the {{QuorumConnectionThread}} only if the 
'quorumSaslEnabled' to process the connection requests asynchronously. In the 
existing code path(non-auth) it will continue connecting to the peers 
sequentially. This separation is basically done to give the confidence to all 
by not touching the existing code flow, and keeps a different code path for 
this feature. I hope this change will help to push the feature safely in 
{{branch3.4}}.

[~fpj], [~cnauroth], [~rgs], do you have some cycles to review the latest 
patch. Appreciate your feedback. Thanks!

> Support Quorum Peer mutual authentication via SASL
> --
>
> Key: ZOOKEEPER-1045
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1045
> Project: ZooKeeper
>  Issue Type: New Feature
>  Components: server
>Reporter: Eugene Koontz
>Assignee: Rakesh R
>Priority: Critical
> Fix For: 3.4.10, 3.5.3
>
> Attachments: 0001-ZOOKEEPER-1045-br-3-4.patch, 
> 1045_failing_phunt.tar.gz, HOST_RESOLVER-ZK-1045.patch, 
> TEST-org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.txt, 
> ZK-1045-test-case-failure-logs.zip, ZOOKEEPER-1045-00.patch, 
> ZOOKEEPER-1045-Rolling Upgrade Design Proposal.pdf, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045TestValidationDesign.pdf, 
> org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.testRollingUpgrade.log
>
>
> ZOOKEEPER-938 addresses mutual authentication between clients and servers. 
> This bug, on the other hand, is for authentication among quorum peers. 
> Hopefully much of the work done on SASL integration with Zookeeper for 
> ZOOKEEPER-938 can be used as a foundation for this enhancement.
> Review board: https://reviews.apache.org/r/47354/



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


[jira] [Comment Edited] (ZOOKEEPER-1045) Support Quorum Peer mutual authentication via SASL

2016-10-05 Thread Rakesh R (JIRA)

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

Rakesh R edited comment on ZOOKEEPER-1045 at 10/5/16 7:08 AM:
--

Attached another patch in the [review ticket 
47354|https://reviews.apache.org/r/47354/] addressing [~hanm]'s comments. 
Majorly I've used the {{QuorumConnectionThread}} only if the 
'quorumSaslEnabled' to process the connection requests asynchronously. In the 
existing code path(non-auth) it will continue connecting to the peers 
sequentially. This separation is basically done to give the confidence to all 
by not touching the existing code flow, and keeps a different code path for 
this feature. I hope this change will help to push the feature safely in 
{{branch3.4}}.

[~fpj], [~cnauroth], [~rgs], do you have some cycles to review the latest 
patch. Appreciate your feedback. Thanks!


was (Author: rakeshr):
Attached another patch in the [review ticket 
47354|https://reviews.apache.org/r/47354/] addressing [~hanm]'s comments. 
Majorly I've used the {{QuorumConnectionThread}} only if the 
'quorumSaslEnabled' to process the connection requests asynchronously. In the 
existing code path(non-auth) it will continue connecting to the peers 
sequentially. This change is basically done to give the confidence to all by 
not touching the existing code flow so as to improve the confidence in pushing 
this feature in.

[~fpj], [~cnauroth], [~rgs], do you have some cycles to review the latest 
patch. Appreciate your feedback. Thanks!

> Support Quorum Peer mutual authentication via SASL
> --
>
> Key: ZOOKEEPER-1045
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1045
> Project: ZooKeeper
>  Issue Type: New Feature
>  Components: server
>Reporter: Eugene Koontz
>Assignee: Rakesh R
>Priority: Critical
> Fix For: 3.4.10, 3.5.3
>
> Attachments: 0001-ZOOKEEPER-1045-br-3-4.patch, 
> 1045_failing_phunt.tar.gz, HOST_RESOLVER-ZK-1045.patch, 
> TEST-org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.txt, 
> ZK-1045-test-case-failure-logs.zip, ZOOKEEPER-1045-00.patch, 
> ZOOKEEPER-1045-Rolling Upgrade Design Proposal.pdf, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045TestValidationDesign.pdf, 
> org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.testRollingUpgrade.log
>
>
> ZOOKEEPER-938 addresses mutual authentication between clients and servers. 
> This bug, on the other hand, is for authentication among quorum peers. 
> Hopefully much of the work done on SASL integration with Zookeeper for 
> ZOOKEEPER-938 can be used as a foundation for this enhancement.
> Review board: https://reviews.apache.org/r/47354/



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