ZooKeeper_branch34_jdk7 - Build # 1185 - Failure
See https://builds.apache.org/job/ZooKeeper_branch34_jdk7/1185/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 222036 lines...] [junit] 2016-08-13 02:43:49,658 [myid:] - INFO [main:PrepRequestProcessor@765] - Shutting down [junit] 2016-08-13 02:43:49,658 [myid:] - INFO [main:SyncRequestProcessor@209] - Shutting down [junit] 2016-08-13 02:43:49,658 [myid:] - INFO [ProcessThread(sid:0 cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop! [junit] 2016-08-13 02:43:49,659 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited! [junit] 2016-08-13 02:43:49,659 [myid:] - INFO [main:FinalRequestProcessor@402] - shutdown of request processor complete [junit] 2016-08-13 02:43:49,660 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-08-13 02:43:49,660 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-08-13 02:43:49,662 [myid:] - INFO [main:ClientBase@445] - STARTING server [junit] 2016-08-13 02:43:49,662 [myid:] - INFO [main:ClientBase@366] - CREATING server instance 127.0.0.1:11221 [junit] 2016-08-13 02:43:49,662 [myid:] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221 [junit] 2016-08-13 02:43:49,662 [myid:] - INFO [main:ClientBase@341] - STARTING server instance 127.0.0.1:11221 [junit] 2016-08-13 02:43:49,663 [myid:] - INFO [main:ZooKeeperServer@170] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/branch-3.4/build/test/tmp/test4561522041776134122.junit.dir/version-2 snapdir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/branch-3.4/build/test/tmp/test4561522041776134122.junit.dir/version-2 [junit] 2016-08-13 02:43:49,666 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-08-13 02:43:49,667 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - Accepted socket connection from /127.0.0.1:51452 [junit] 2016-08-13 02:43:49,667 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing stat command from /127.0.0.1:51452 [junit] 2016-08-13 02:43:49,668 [myid:] - INFO [Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output [junit] 2016-08-13 02:43:49,668 [myid:] - INFO [Thread-4:NIOServerCnxn@1008] - Closed socket connection for client /127.0.0.1:51452 (no session established for client) [junit] 2016-08-13 02:43:49,668 [myid:] - INFO [main:JMXEnv@229] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-08-13 02:43:49,670 [myid:] - INFO [main:JMXEnv@246] - expect:InMemoryDataTree [junit] 2016-08-13 02:43:49,670 [myid:] - INFO [main:JMXEnv@250] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree [junit] 2016-08-13 02:43:49,670 [myid:] - INFO [main:JMXEnv@246] - expect:StandaloneServer_port [junit] 2016-08-13 02:43:49,670 [myid:] - INFO [main:JMXEnv@250] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2016-08-13 02:43:49,671 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 32616 [junit] 2016-08-13 02:43:49,671 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20 [junit] 2016-08-13 02:43:49,671 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota [junit] 2016-08-13 02:43:49,671 [myid:] - INFO [main:ClientBase@522] - tearDown starting [junit] 2016-08-13 02:43:49,740 [myid:] - INFO [main:ZooKeeper@684] - Session: 0x15681c8b3f4 closed [junit] 2016-08-13 02:43:49,740 [myid:] - INFO [main:ClientBase@492] - STOPPING server [junit] 2016-08-13 02:43:49,740 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for session: 0x15681c8b3f4 [junit] 2016-08-13 02:43:49,740 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - NIOServerCnxn factory exited run method [junit] 2016-08-13 02:43:49,741 [myid:] - INFO [main:ZooKeeperServer@469] - shutting down [junit] 2016-08-13 02:43:49,741 [myid:] - INFO [main:SessionTrackerImpl@225] - Shutting down [junit] 2016-08-13 02:43:49,741 [myid:] - INFO [main:PrepRequestProcessor@765] - Shutting down [junit] 2016-08-13 02:43:49,741 [myid:] - INFO [main:SyncRequestProcessor@209] - Shutting down [junit] 2016-08-13 02:43:49,741 [myid:] - INFO [ProcessThread(sid:0 cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop! [junit] 2016-08-13 02:43:49,742 [myid:] - INFO
ZooKeeper_branch34_jdk8 - Build # 664 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/664/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 226294 lines...] [junit] 2016-08-12 23:08:13,696 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - NIOServerCnxn factory exited run method [junit] 2016-08-12 23:08:13,696 [myid:] - INFO [main:ZooKeeperServer@469] - shutting down [junit] 2016-08-12 23:08:13,697 [myid:] - INFO [main:SessionTrackerImpl@225] - Shutting down [junit] 2016-08-12 23:08:13,697 [myid:] - INFO [main:PrepRequestProcessor@765] - Shutting down [junit] 2016-08-12 23:08:13,697 [myid:] - INFO [main:SyncRequestProcessor@209] - Shutting down [junit] 2016-08-12 23:08:13,697 [myid:] - INFO [ProcessThread(sid:0 cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop! [junit] 2016-08-12 23:08:13,697 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited! [junit] 2016-08-12 23:08:13,698 [myid:] - INFO [main:FinalRequestProcessor@402] - shutdown of request processor complete [junit] 2016-08-12 23:08:13,698 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-08-12 23:08:13,699 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-08-12 23:08:13,700 [myid:] - INFO [main:ClientBase@445] - STARTING server [junit] 2016-08-12 23:08:13,701 [myid:] - INFO [main:ClientBase@366] - CREATING server instance 127.0.0.1:11221 [junit] 2016-08-12 23:08:13,701 [myid:] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221 [junit] 2016-08-12 23:08:13,701 [myid:] - INFO [main:ClientBase@341] - STARTING server instance 127.0.0.1:11221 [junit] 2016-08-12 23:08:13,702 [myid:] - INFO [main:ZooKeeperServer@170] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/branch-3.4/build/test/tmp/test1611033972335054932.junit.dir/version-2 snapdir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/branch-3.4/build/test/tmp/test1611033972335054932.junit.dir/version-2 [junit] 2016-08-12 23:08:13,705 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-08-12 23:08:13,706 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - Accepted socket connection from /127.0.0.1:59132 [junit] 2016-08-12 23:08:13,706 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing stat command from /127.0.0.1:59132 [junit] 2016-08-12 23:08:13,707 [myid:] - INFO [Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output [junit] 2016-08-12 23:08:13,707 [myid:] - INFO [Thread-4:NIOServerCnxn@1008] - Closed socket connection for client /127.0.0.1:59132 (no session established for client) [junit] 2016-08-12 23:08:13,707 [myid:] - INFO [main:JMXEnv@229] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-08-12 23:08:13,710 [myid:] - INFO [main:JMXEnv@246] - expect:InMemoryDataTree [junit] 2016-08-12 23:08:13,710 [myid:] - INFO [main:JMXEnv@250] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree [junit] 2016-08-12 23:08:13,710 [myid:] - INFO [main:JMXEnv@246] - expect:StandaloneServer_port [junit] 2016-08-12 23:08:13,710 [myid:] - INFO [main:JMXEnv@250] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2016-08-12 23:08:13,711 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 33587 [junit] 2016-08-12 23:08:13,711 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20 [junit] 2016-08-12 23:08:13,711 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota [junit] 2016-08-12 23:08:13,711 [myid:] - INFO [main:ClientBase@522] - tearDown starting [junit] 2016-08-12 23:08:13,781 [myid:] - INFO [main:ZooKeeper@684] - Session: 0x156810350fb closed [junit] 2016-08-12 23:08:13,782 [myid:] - INFO [main:ClientBase@492] - STOPPING server [junit] 2016-08-12 23:08:13,781 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for session: 0x156810350fb [junit] 2016-08-12 23:08:13,782 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - NIOServerCnxn factory exited run method [junit] 2016-08-12 23:08:13,782 [myid:] - INFO [main:ZooKeeperServer@469] - shutting down [junit] 2016-08-12 23:08:13,782 [myid:] - INFO [main:SessionTrackerImpl@225] - Shutting down [junit] 2016-08-12 23:08:13,783 [myid:] - INFO
ZooKeeper-trunk-openjdk7 - Build # 1125 - Failure
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1125/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 450194 lines...] [junit] 2016-08-12 21:18:48,453 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222 [junit] 2016-08-12 21:18:48,454 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-08-12 21:18:48,456 [myid:] - INFO [main:ClientBase@466] - STARTING server [junit] 2016-08-12 21:18:48,456 [myid:] - INFO [main:ClientBase@386] - CREATING server instance 127.0.0.1:11222 [junit] 2016-08-12 21:18:48,456 [myid:] - INFO [main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s sessionless connection timeout, 3 selector thread(s), 48 worker threads, and 64 kB direct buffers. [junit] 2016-08-12 21:18:48,457 [myid:] - INFO [main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222 [junit] 2016-08-12 21:18:48,457 [myid:] - INFO [main:ClientBase@361] - STARTING server instance 127.0.0.1:11222 [junit] 2016-08-12 21:18:48,458 [myid:] - INFO [main:ZooKeeperServer@858] - minSessionTimeout set to 6000 [junit] 2016-08-12 21:18:48,458 [myid:] - INFO [main:ZooKeeperServer@867] - maxSessionTimeout set to 6 [junit] 2016-08-12 21:18:48,459 [myid:] - INFO [main:ZooKeeperServer@156] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test928692938808894888.junit.dir/version-2 snapdir /x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test928692938808894888.junit.dir/version-2 [junit] 2016-08-12 21:18:48,460 [myid:] - INFO [main:FileSnap@83] - Reading snapshot /x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test928692938808894888.junit.dir/version-2/snapshot.b [junit] 2016-08-12 21:18:48,463 [myid:] - INFO [main:FileTxnSnapLog@298] - Snapshotting: 0xb to /x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test928692938808894888.junit.dir/version-2/snapshot.b [junit] 2016-08-12 21:18:48,466 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222 [junit] 2016-08-12 21:18:48,467 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:34387 [junit] 2016-08-12 21:18:48,468 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from /127.0.0.1:34387 [junit] 2016-08-12 21:18:48,468 [myid:] - INFO [NIOWorkerThread-1:StatCommand@49] - Stat command output [junit] 2016-08-12 21:18:48,468 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:34387 (no session established for client) [junit] 2016-08-12 21:18:48,469 [myid:] - INFO [main:JMXEnv@228] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-08-12 21:18:48,471 [myid:] - INFO [main:JMXEnv@245] - expect:InMemoryDataTree [junit] 2016-08-12 21:18:48,471 [myid:] - INFO [main:JMXEnv@249] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree [junit] 2016-08-12 21:18:48,471 [myid:] - INFO [main:JMXEnv@245] - expect:StandaloneServer_port [junit] 2016-08-12 21:18:48,471 [myid:] - INFO [main:JMXEnv@249] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11222 [junit] 2016-08-12 21:18:48,472 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 70288 [junit] 2016-08-12 21:18:48,472 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 25 [junit] 2016-08-12 21:18:48,472 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testQuota [junit] 2016-08-12 21:18:48,473 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-08-12 21:18:48,523 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x100397dff0a [junit] 2016-08-12 21:18:48,523 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x100397dff0a closed [junit] 2016-08-12 21:18:48,524 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-08-12 21:18:48,524 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-08-12 21:18:48,525 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-08-12 21:18:48,524 [myid:] - INFO
[jira] [Created] (ZOOKEEPER-2512) Allow Jetty dependency to use HTTPS and Basic Auth
Edward Ribeiro created ZOOKEEPER-2512: - Summary: Allow Jetty dependency to use HTTPS and Basic Auth Key: ZOOKEEPER-2512 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2512 Project: ZooKeeper Issue Type: Improvement Components: server Affects Versions: 3.5.2 Reporter: Edward Ribeiro Assignee: Edward Ribeiro Fix For: 3.5.1, 3.5.0, 3.4.8 If ZOOKEEPER-2489 gets committed then it would be nice to allow more flexible configuration of https and basic authentication to JettyAdminServer. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2325) Data inconsistency if all snapshots empty or missing
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Reed updated ZOOKEEPER-2325: - Attachment: zk.patch patch for ZOOKEEPER-2325.001.patch to make sure the initial case is handled correctly: the server starts up and logs a few transactions and then restarts. (found because this patch doesn't pass unit tests.) > Data inconsistency if all snapshots empty or missing > > > Key: ZOOKEEPER-2325 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2325 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.4.6 >Reporter: Andrew Grasso >Assignee: Andrew Grasso >Priority: Critical > Attachments: ZOOKEEPER-2325-test.patch, ZOOKEEPER-2325.001.patch, > zk.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > When loading state from snapshots on startup, FileTxnSnapLog.java ignores the > result of FileSnap.deserialize, which is -1L if no valid snapshots are found. > Recovery proceeds with dt.lastProcessed == 0, its initial value. > The result is that Zookeeper will process the transaction logs and then begin > serving requests with a different state than the rest of the ensemble. > To reproduce: > In a healthy zookeeper cluster of size >= 3, shut down one node. > Either delete all snapshots for this node or change all to be empty files. > Restart the node. > We believe this can happen organically if a node runs out of disk space. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2504) Enforce that server ids are unique in a cluster
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15419190#comment-15419190 ] Michael Han commented on ZOOKEEPER-2504: The formatted test result report only include Java test. There is a C client test failed, which contributed to the -1. It's a known issue tracked by ZOOKEEPER-2152. {noformat} [exec] [exec] /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/c/tests/TestReconfig.cc:154: Assertion: assertion failed [Expression: false] [exec] [exec] Failures !!! [exec] [exec] Run: 72 Failure total: 1 {noformat} > Enforce that server ids are unique in a cluster > --- > > Key: ZOOKEEPER-2504 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2504 > Project: ZooKeeper > Issue Type: Bug >Reporter: Dan Benediktson >Assignee: Dan Benediktson > Attachments: ZOOKEEPER-2504.patch > > > The leader will happily accept connections from learners that have the same > server id (i.e., due to misconfiguration). This can lead to various issues > including non-unique session_ids being generated by these servers. > The leader can enforce that all learners come in with unique server IDs; if a > learner attempts to connect with an id that is already in use, it should be > denied. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2504) Enforce that server ids are unique in a cluster
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15419170#comment-15419170 ] Dan Benediktson commented on ZOOKEEPER-2504: Test results say that core tests all passed (except one that was skipped), in spite of the above comment... > Enforce that server ids are unique in a cluster > --- > > Key: ZOOKEEPER-2504 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2504 > Project: ZooKeeper > Issue Type: Bug >Reporter: Dan Benediktson >Assignee: Dan Benediktson > Attachments: ZOOKEEPER-2504.patch > > > The leader will happily accept connections from learners that have the same > server id (i.e., due to misconfiguration). This can lead to various issues > including non-unique session_ids being generated by these servers. > The leader can enforce that all learners come in with unique server IDs; if a > learner attempts to connect with an id that is already in use, it should be > denied. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2504) Enforce that server ids are unique in a cluster
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15419160#comment-15419160 ] Hadoop QA commented on ZOOKEEPER-2504: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12823503/ZOOKEEPER-2504.patch against trunk revision 1755857. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3361//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3361//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3361//console This message is automatically generated. > Enforce that server ids are unique in a cluster > --- > > Key: ZOOKEEPER-2504 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2504 > Project: ZooKeeper > Issue Type: Bug >Reporter: Dan Benediktson >Assignee: Dan Benediktson > Attachments: ZOOKEEPER-2504.patch > > > The leader will happily accept connections from learners that have the same > server id (i.e., due to misconfiguration). This can lead to various issues > including non-unique session_ids being generated by these servers. > The leader can enforce that all learners come in with unique server IDs; if a > learner attempts to connect with an id that is already in use, it should be > denied. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Failed: ZOOKEEPER-2504 PreCommit Build #3361
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2504 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3361/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 550679 lines...] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 3 new or modified tests. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3361//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3361//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3361//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Comment added. [exec] 361937d64638762e5b39113e5bfb156d81e5bdb2 logged out [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/build.xml:1605: exec returned: 1 Total time: 20 minutes 31 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2504 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## All tests passed
ZooKeeper_branch35_solaris - Build # 208 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/208/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 434495 lines...] [junit] 2016-08-12 17:20:49,306 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-08-12 17:20:49,307 [myid:] - INFO [main:ClientBase@466] - STARTING server [junit] 2016-08-12 17:20:49,307 [myid:] - INFO [main:ClientBase@386] - CREATING server instance 127.0.0.1:11222 [junit] 2016-08-12 17:20:49,308 [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-08-12 17:20:49,308 [myid:] - INFO [main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222 [junit] 2016-08-12 17:20:49,309 [myid:] - INFO [main:ClientBase@361] - STARTING server instance 127.0.0.1:11222 [junit] 2016-08-12 17:20:49,309 [myid:] - INFO [main:ZooKeeperServer@858] - minSessionTimeout set to 6000 [junit] 2016-08-12 17:20:49,309 [myid:] - INFO [main:ZooKeeperServer@867] - maxSessionTimeout set to 6 [junit] 2016-08-12 17:20:49,310 [myid:] - INFO [main:ZooKeeperServer@156] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test3801696847387630871.junit.dir/version-2 snapdir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test3801696847387630871.junit.dir/version-2 [junit] 2016-08-12 17:20:49,310 [myid:] - INFO [main:FileSnap@83] - Reading snapshot /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test3801696847387630871.junit.dir/version-2/snapshot.b [junit] 2016-08-12 17:20:49,312 [myid:] - INFO [main:FileTxnSnapLog@298] - Snapshotting: 0xb to /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test3801696847387630871.junit.dir/version-2/snapshot.b [junit] 2016-08-12 17:20:49,313 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222 [junit] 2016-08-12 17:20:49,314 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:53830 [junit] 2016-08-12 17:20:49,315 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from /127.0.0.1:53830 [junit] 2016-08-12 17:20:49,315 [myid:] - INFO [NIOWorkerThread-1:StatCommand@49] - Stat command output [junit] 2016-08-12 17:20:49,315 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:53830 (no session established for client) [junit] 2016-08-12 17:20:49,315 [myid:] - INFO [main:JMXEnv@228] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-08-12 17:20:49,317 [myid:] - INFO [main:JMXEnv@245] - expect:InMemoryDataTree [junit] 2016-08-12 17:20:49,317 [myid:] - INFO [main:JMXEnv@249] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree [junit] 2016-08-12 17:20:49,317 [myid:] - INFO [main:JMXEnv@245] - expect:StandaloneServer_port [junit] 2016-08-12 17:20:49,317 [myid:] - INFO [main:JMXEnv@249] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11222 [junit] 2016-08-12 17:20:49,317 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17872 [junit] 2016-08-12 17:20:49,318 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24 [junit] 2016-08-12 17:20:49,318 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testQuota [junit] 2016-08-12 17:20:49,318 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-08-12 17:20:49,392 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x122fcc11ed2 closed [junit] 2016-08-12 17:20:49,392 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x122fcc11ed2 [junit] 2016-08-12 17:20:49,392 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-08-12 17:20:49,392 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2016-08-12 17:20:49,392 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-08-12 17:20:49,393 [myid:] - INFO
[jira] [Commented] (ZOOKEEPER-2342) Migrate to Log4J 2.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15419142#comment-15419142 ] Mikael Ståldal commented on ZOOKEEPER-2342: --- Maybe this will be easier if you fix ZOOKEEPER-233 and provide separate server and client artifacts. > Migrate to Log4J 2. > --- > > Key: ZOOKEEPER-2342 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2342 > Project: ZooKeeper > Issue Type: Bug >Reporter: Chris Nauroth >Assignee: Chris Nauroth > Fix For: 3.6.0 > > Attachments: ZOOKEEPER-2342.001.patch > > > ZOOKEEPER-1371 removed our source code dependency on Log4J. It appears that > this also removed the Log4J SLF4J binding jar from the runtime classpath. > Without any SLF4J binding jar available on the runtime classpath, it is > impossible to write logs. > This JIRA investigated migration to Log4J 2 as a possible path towards > resolving the bug introduced by ZOOKEEPER-1371. At this point, we know this > is not feasible short-term. This JIRA remains open to track long-term > migration to Log4J 2. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2504) Enforce that server ids are unique in a cluster
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Benediktson updated ZOOKEEPER-2504: --- Attachment: ZOOKEEPER-2504.patch Didn't see the findbugs warnings during local testing... > Enforce that server ids are unique in a cluster > --- > > Key: ZOOKEEPER-2504 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2504 > Project: ZooKeeper > Issue Type: Bug >Reporter: Dan Benediktson >Assignee: Dan Benediktson > Attachments: ZOOKEEPER-2504.patch > > > The leader will happily accept connections from learners that have the same > server id (i.e., due to misconfiguration). This can lead to various issues > including non-unique session_ids being generated by these servers. > The leader can enforce that all learners come in with unique server IDs; if a > learner attempts to connect with an id that is already in use, it should be > denied. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2504) Enforce that server ids are unique in a cluster
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Benediktson updated ZOOKEEPER-2504: --- Attachment: (was: ZOOKEEPER-2504.patch) > Enforce that server ids are unique in a cluster > --- > > Key: ZOOKEEPER-2504 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2504 > Project: ZooKeeper > Issue Type: Bug >Reporter: Dan Benediktson >Assignee: Dan Benediktson > > The leader will happily accept connections from learners that have the same > server id (i.e., due to misconfiguration). This can lead to various issues > including non-unique session_ids being generated by these servers. > The leader can enforce that all learners come in with unique server IDs; if a > learner attempts to connect with an id that is already in use, it should be > denied. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Re: http://zookeeper.apache.org/doc/r3.5.2-alpha/ showing old document
Thanks Flavio. I visited the site http://zookeeper.apache.org/ doc/r3.5.2-alpha/ just now. It is showing the latest document. -Arshad On Fri, Aug 12, 2016 at 10:21 PM, Flavio Junqueirawrote: > I've fixed this. Let me know if there is anything else I missed, please. > > -Flavio > > > On 10 Aug 2016, at 15:24, Flavio Junqueira wrote: > > > > I thought we were generating the new documentation upon releasing. I > just checked the how to release and we are just copying. I'll take care of > it. > > > > -Flavio > > > >> On 10 Aug 2016, at 07:52, Mohammad arshad > wrote: > >> > >> 1. I think it is ok to update the document, in the release tar, in the > next release > >> 2. Can we generate and update the documentation site > http://zookeeper.apache.org/doc/r3.5.2-alpha/, because mostly people > refer this website for document reference. > >> > >> -Arshad > >> > >> -Original Message- > >> From: Patrick Hunt [mailto:ph...@apache.org] > >> Sent: 10 August 2016 00:06 > >> To: DevZooKeeper; Flavio > >> Subject: Re: http://zookeeper.apache.org/doc/r3.5.2-alpha/ showing old > document > >> > >> Thanks for catching this Mohammad, it looks like this commit changed > the source on 3.5 branch but the generated docs were not re-generated: > >> > >> + ZOOKEEPER-2402: Document client side properties (Arshad Mohammad via > >> + fpj) > >> > >> svn commit: r1745280 - in /zookeeper/branches/branch-3.5: CHANGES.txt > src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml > >> src/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml > >> > >> As a result the published documentation is out of date with the source. > >> > >> We have a few options, including but not limited to: 1) fix it during > the next release (i.e. ignore it for now), 2) someone could regenerate the > documentation for that release and update the published docs manually. > >> others? > >> > >> Patrick > >> > >> > >> On Mon, Aug 8, 2016 at 8:24 AM, Mohammad arshad < > mohammad.ars...@huawei.com> > >> wrote: > >> > >>> http://zookeeper.apache.org/doc/r3.5.2-alpha/ is not showing the > >>> documentation which is released with zookeeper-3.5.2-alpha Released > >>> tar ball has up to date documentation source but the generated > >>> document is still old. > >>> > >>> For example: > >>> src\docs\src\documentation\content\xdocs\zookeeperProgrammers.xml has > >>> bellow content > >>> zookeeper.sasl.client > >>> > >>> Set the value to >>> role="bold">false to disable > >>> SASL authentication. Default is > >>> true. > >>> > >>> > >>> But generated document file docs/zookeeperProgrammers.html does not > >>> have above content. > >>> > >>> -Arshad > >>> > >>> > > > >
Failed: ZOOKEEPER-2504 PreCommit Build #3360
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2504 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3360/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 586367 lines...] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 3 new or modified tests. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] -1 findbugs. The patch appears to introduce 2 new Findbugs (version 2.0.3) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] +1 core tests. The patch passed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3360//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3360//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3360//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Comment added. [exec] 1a44432ce83c33145936b1e360429b357d269fe5 logged out [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/build.xml:1605: exec returned: 1 Total time: 20 minutes 20 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2504 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## All tests passed
[jira] [Commented] (ZOOKEEPER-2504) Enforce that server ids are unique in a cluster
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15419126#comment-15419126 ] Hadoop QA commented on ZOOKEEPER-2504: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12823500/ZOOKEEPER-2504.patch against trunk revision 1755857. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. -1 findbugs. The patch appears to introduce 2 new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3360//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3360//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3360//console This message is automatically generated. > Enforce that server ids are unique in a cluster > --- > > Key: ZOOKEEPER-2504 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2504 > Project: ZooKeeper > Issue Type: Bug >Reporter: Dan Benediktson >Assignee: Dan Benediktson > Attachments: ZOOKEEPER-2504.patch > > > The leader will happily accept connections from learners that have the same > server id (i.e., due to misconfiguration). This can lead to various issues > including non-unique session_ids being generated by these servers. > The leader can enforce that all learners come in with unique server IDs; if a > learner attempts to connect with an id that is already in use, it should be > denied. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Re: http://zookeeper.apache.org/doc/r3.5.2-alpha/ showing old document
I've fixed this. Let me know if there is anything else I missed, please. -Flavio > On 10 Aug 2016, at 15:24, Flavio Junqueirawrote: > > I thought we were generating the new documentation upon releasing. I just > checked the how to release and we are just copying. I'll take care of it. > > -Flavio > >> On 10 Aug 2016, at 07:52, Mohammad arshad wrote: >> >> 1. I think it is ok to update the document, in the release tar, in the next >> release >> 2. Can we generate and update the documentation site >> http://zookeeper.apache.org/doc/r3.5.2-alpha/, because mostly people refer >> this website for document reference. >> >> -Arshad >> >> -Original Message- >> From: Patrick Hunt [mailto:ph...@apache.org] >> Sent: 10 August 2016 00:06 >> To: DevZooKeeper; Flavio >> Subject: Re: http://zookeeper.apache.org/doc/r3.5.2-alpha/ showing old >> document >> >> Thanks for catching this Mohammad, it looks like this commit changed the >> source on 3.5 branch but the generated docs were not re-generated: >> >> + ZOOKEEPER-2402: Document client side properties (Arshad Mohammad via >> + fpj) >> >> svn commit: r1745280 - in /zookeeper/branches/branch-3.5: CHANGES.txt >> src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml >> src/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml >> >> As a result the published documentation is out of date with the source. >> >> We have a few options, including but not limited to: 1) fix it during the >> next release (i.e. ignore it for now), 2) someone could regenerate the >> documentation for that release and update the published docs manually. >> others? >> >> Patrick >> >> >> On Mon, Aug 8, 2016 at 8:24 AM, Mohammad arshad >> wrote: >> >>> http://zookeeper.apache.org/doc/r3.5.2-alpha/ is not showing the >>> documentation which is released with zookeeper-3.5.2-alpha Released >>> tar ball has up to date documentation source but the generated >>> document is still old. >>> >>> For example: >>> src\docs\src\documentation\content\xdocs\zookeeperProgrammers.xml has >>> bellow content >>> zookeeper.sasl.client >>> >>> Set the value to >> role="bold">false to disable >>> SASL authentication. Default is >>> true. >>> >>> >>> But generated document file docs/zookeeperProgrammers.html does not >>> have above content. >>> >>> -Arshad >>> >>> >
[jira] [Commented] (ZOOKEEPER-2342) Migrate to Log4J 2.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15419094#comment-15419094 ] Mikael Ståldal commented on ZOOKEEPER-2342: --- Hi, I am member of Apache Logging project PMC. Due to various issues in Log4j 1.2.x, it will no longer work in JDK9: http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-July/008654.html As Log4j 1.x is EOL (https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces), these issues will not be fixed. We suggest upgrading to Log4j 2.x, we can offer help to do so. > Migrate to Log4J 2. > --- > > Key: ZOOKEEPER-2342 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2342 > Project: ZooKeeper > Issue Type: Bug >Reporter: Chris Nauroth >Assignee: Chris Nauroth > Fix For: 3.6.0 > > Attachments: ZOOKEEPER-2342.001.patch > > > ZOOKEEPER-1371 removed our source code dependency on Log4J. It appears that > this also removed the Log4J SLF4J binding jar from the runtime classpath. > Without any SLF4J binding jar available on the runtime classpath, it is > impossible to write logs. > This JIRA investigated migration to Log4J 2 as a possible path towards > resolving the bug introduced by ZOOKEEPER-1371. At this point, we know this > is not feasible short-term. This JIRA remains open to track long-term > migration to Log4J 2. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2504) Enforce that server ids are unique in a cluster
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Benediktson updated ZOOKEEPER-2504: --- Attachment: ZOOKEEPER-2504.patch > Enforce that server ids are unique in a cluster > --- > > Key: ZOOKEEPER-2504 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2504 > Project: ZooKeeper > Issue Type: Bug >Reporter: Dan Benediktson >Assignee: Dan Benediktson > Attachments: ZOOKEEPER-2504.patch > > > The leader will happily accept connections from learners that have the same > server id (i.e., due to misconfiguration). This can lead to various issues > including non-unique session_ids being generated by these servers. > The leader can enforce that all learners come in with unique server IDs; if a > learner attempts to connect with an id that is already in use, it should be > denied. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (ZOOKEEPER-1045) Support Quorum Peer mutual authentication via SASL
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15419069#comment-15419069 ] Eugene Koontz edited comment on ZOOKEEPER-1045 at 8/12/16 4:12 PM: --- Thank you [~rakeshr] for the correction - I'm now using the latest, correct patch. was (Author: ekoontz): Thank you ~rakeshr for the correction - I'm now using the latest, correct patch. > 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.5.3, 3.4.10 > > 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-1045TestValidationDesign.pdf > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-1045) Support Quorum Peer mutual authentication via SASL
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15419069#comment-15419069 ] Eugene Koontz commented on ZOOKEEPER-1045: -- Thank you ~rakeshr for the correction - I'm now using the latest, correct patch. > 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.5.3, 3.4.10 > > 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-1045TestValidationDesign.pdf > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper_branch34_openjdk7 - Build # 1169 - Failure
See https://builds.apache.org/job/ZooKeeper_branch34_openjdk7/1169/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 217508 lines...] [junit] 2016-08-12 15:22:12,364 [myid:] - INFO [main:JMXEnv@246] - expect:StandaloneServer_port [junit] 2016-08-12 15:22:12,364 [myid:] - INFO [main:JMXEnv@250] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2016-08-12 15:22:12,364 [myid:] - INFO [main:ClientBase@492] - STOPPING server [junit] 2016-08-12 15:22:12,364 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - NIOServerCnxn factory exited run method [junit] 2016-08-12 15:22:12,365 [myid:] - INFO [main:ZooKeeperServer@469] - shutting down [junit] 2016-08-12 15:22:12,365 [myid:] - INFO [main:SessionTrackerImpl@225] - Shutting down [junit] 2016-08-12 15:22:12,365 [myid:] - INFO [main:PrepRequestProcessor@765] - Shutting down [junit] 2016-08-12 15:22:12,365 [myid:] - INFO [main:SyncRequestProcessor@209] - Shutting down [junit] 2016-08-12 15:22:12,365 [myid:] - INFO [ProcessThread(sid:0 cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop! [junit] 2016-08-12 15:22:12,365 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited! [junit] 2016-08-12 15:22:12,366 [myid:] - INFO [main:FinalRequestProcessor@402] - shutdown of request processor complete [junit] 2016-08-12 15:22:12,366 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-08-12 15:22:12,367 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-08-12 15:22:12,368 [myid:] - INFO [main:ClientBase@445] - STARTING server [junit] 2016-08-12 15:22:12,369 [myid:] - INFO [main:ClientBase@366] - CREATING server instance 127.0.0.1:11221 [junit] 2016-08-12 15:22:12,369 [myid:] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221 [junit] 2016-08-12 15:22:12,370 [myid:] - INFO [main:ClientBase@341] - STARTING server instance 127.0.0.1:11221 [junit] 2016-08-12 15:22:12,370 [myid:] - INFO [main:ZooKeeperServer@170] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /x1/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7/branch-3.4/build/test/tmp/test6961817484917472740.junit.dir/version-2 snapdir /x1/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7/branch-3.4/build/test/tmp/test6961817484917472740.junit.dir/version-2 [junit] 2016-08-12 15:22:12,374 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-08-12 15:22:12,374 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - Accepted socket connection from /127.0.0.1:39718 [junit] 2016-08-12 15:22:12,375 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing stat command from /127.0.0.1:39718 [junit] 2016-08-12 15:22:12,375 [myid:] - INFO [Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output [junit] 2016-08-12 15:22:12,376 [myid:] - INFO [Thread-4:NIOServerCnxn@1008] - Closed socket connection for client /127.0.0.1:39718 (no session established for client) [junit] 2016-08-12 15:22:12,376 [myid:] - INFO [main:JMXEnv@229] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-08-12 15:22:12,378 [myid:] - INFO [main:JMXEnv@246] - expect:InMemoryDataTree [junit] 2016-08-12 15:22:12,378 [myid:] - INFO [main:JMXEnv@250] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree [junit] 2016-08-12 15:22:12,378 [myid:] - INFO [main:JMXEnv@246] - expect:StandaloneServer_port [junit] 2016-08-12 15:22:12,379 [myid:] - INFO [main:JMXEnv@250] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2016-08-12 15:22:12,379 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 26415 [junit] 2016-08-12 15:22:12,379 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20 [junit] 2016-08-12 15:22:12,379 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota [junit] 2016-08-12 15:22:12,380 [myid:] - INFO [main:ClientBase@522] - tearDown starting [junit] 2016-08-12 15:22:12,448 [myid:] - INFO [main:ZooKeeper@684] - Session: 0x1567f58a8bb closed [junit] 2016-08-12 15:22:12,448 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for session: 0x1567f58a8bb [junit] 2016-08-12 15:22:12,448 [myid:] - INFO [main:ClientBase@492] - STOPPING server [junit] 2016-08-12 15:22:12,449 [myid:] - INFO
ZooKeeper_branch35_jdk8 - Build # 189 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/189/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 452014 lines...] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@testLogCallbackInit@993: testLogCallbackInit #8] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@testLogCallbackInit@993: testLogCallbackInit #9] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@zookeeper_close@3258: Closing zookeeper sessionId=0x100115cbdbf000e to [127.0.0.1:22181] [exec] ] [exec] : elapsed 1001 : OK [exec] Zookeeper_simpleSystem::testLogCallbackClearLog Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@log_env@1027: Client environment:zookeeper.version=zookeeper C client 3.5.2] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@log_env@1031: Client environment:host.name=proserpina.apache.org] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@log_env@1038: Client environment:os.name=Linux] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@log_env@1039: Client environment:os.arch=3.13.0-92-generic] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@log_env@1040: Client environment:os.version=#139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@log_env@1048: Client environment:user.name=jenkins] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@log_env@1056: Client environment:user.home=/home/jenkins] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@log_env@1068: Client environment:user.dir=/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk8/branch-3.5/build/test/test-cppunit] [exec] Log Message Received: [2016-08-12 13:13:57,623:18102(0x2b7644ee9540):ZOO_INFO@zookeeper_init_internal@: Initiating client connection, host=127.0.0.1:22181 sessionTimeout=1 watcher=0x45d2a0 sessionId=0 sessionPasswd= context=0x7ffed0bca3f0 flags=0] [exec] Log Message Received: [2016-08-12 13:13:57,624:18102(0x2b7646f46700):ZOO_INFO@check_events@2357: initiated connection to server [127.0.0.1:22181]] [exec] Log Message Received: [2016-08-12 13:13:57,643:18102(0x2b7646f46700):ZOO_INFO@check_events@2409: session establishment complete on server [127.0.0.1:22181], sessionId=0x100115cbdbf000f, negotiated timeout=1 ] [exec] : elapsed 1001 : OK [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset ZooKeeper server started : elapsed 10389 : OK [exec] Zookeeper_simpleSystem::testDeserializeString : elapsed 0 : OK [exec] Zookeeper_simpleSystem::testFirstServerDown : elapsed 1000 : OK [exec] Zookeeper_simpleSystem::testNullData : elapsed 1046 : OK [exec] Zookeeper_simpleSystem::testIPV6 : elapsed 1012 : OK [exec] Zookeeper_simpleSystem::testCreate : elapsed 1025 : OK [exec] Zookeeper_simpleSystem::testPath : elapsed 1049 : OK [exec] Zookeeper_simpleSystem::testPathValidation : elapsed 1133 : OK [exec] Zookeeper_simpleSystem::testPing : elapsed 17601 : OK [exec] Zookeeper_simpleSystem::testAcl : elapsed 1016 : OK [exec] Zookeeper_simpleSystem::testChroot : elapsed 3098 : OK [exec] Zookeeper_simpleSystem::testAuth ZooKeeper server started ZooKeeper server started : elapsed 30811 : OK [exec] Zookeeper_simpleSystem::testHangingClient : elapsed 1040 : OK [exec] Zookeeper_simpleSystem::testWatcherAutoResetWithGlobal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 15280 : OK [exec] Zookeeper_simpleSystem::testWatcherAutoResetWithLocal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 15312 : OK [exec] Zookeeper_simpleSystem::testGetChildren2 : elapsed 1078 : OK [exec] Zookeeper_simpleSystem::testLastZxid : elapsed 4532 : OK [exec] Zookeeper_simpleSystem::testRemoveWatchers ZooKeeper server started : elapsed 4440 : OK [exec] Zookeeper_readOnly::testReadOnly : elapsed 4088 : OK [exec] /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk8/branch-3.5/src/c/tests/TestReconfig.cc:474: Assertion: assertion failed [Expression: found != string::npos, 10.10.10.4:2004 not in newComing list] [exec] Failures !!! [exec] Run: 72 Failure total: 1 Failures: 1 Errors: 0 [exec] FAIL: zktest-mt [exec] == [exec] 1 of 2 tests failed [exec] Please report to u...@zookeeper.apache.org [exec]
ZooKeeper-trunk-jdk8 - Build # 705 - Failure
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/705/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 446683 lines...] [junit] 2016-08-12 12:57:36,958 [myid:] - INFO [main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s sessionless connection timeout, 3 selector thread(s), 48 worker threads, and 64 kB direct buffers. [junit] 2016-08-12 12:57:36,958 [myid:] - INFO [main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222 [junit] 2016-08-12 12:57:36,959 [myid:] - INFO [main:ClientBase@361] - STARTING server instance 127.0.0.1:11222 [junit] 2016-08-12 12:57:36,959 [myid:] - INFO [main:ZooKeeperServer@858] - minSessionTimeout set to 6000 [junit] 2016-08-12 12:57:36,959 [myid:] - INFO [main:ZooKeeperServer@867] - maxSessionTimeout set to 6 [junit] 2016-08-12 12:57:36,959 [myid:] - INFO [main:ZooKeeperServer@156] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build/test/tmp/test1450911853131961115.junit.dir/version-2 snapdir /x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build/test/tmp/test1450911853131961115.junit.dir/version-2 [junit] 2016-08-12 12:57:36,960 [myid:] - INFO [main:FileSnap@83] - Reading snapshot /x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build/test/tmp/test1450911853131961115.junit.dir/version-2/snapshot.b [junit] 2016-08-12 12:57:36,963 [myid:] - INFO [main:FileTxnSnapLog@298] - Snapshotting: 0xb to /x1/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build/test/tmp/test1450911853131961115.junit.dir/version-2/snapshot.b [junit] 2016-08-12 12:57:36,966 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222 [junit] 2016-08-12 12:57:36,967 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:60212 [junit] 2016-08-12 12:57:36,969 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from /127.0.0.1:60212 [junit] 2016-08-12 12:57:36,970 [myid:] - INFO [NIOWorkerThread-1:StatCommand@49] - Stat command output [junit] 2016-08-12 12:57:36,970 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:60212 (no session established for client) [junit] 2016-08-12 12:57:36,970 [myid:] - INFO [main:JMXEnv@228] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-08-12 12:57:36,973 [myid:] - INFO [main:JMXEnv@245] - expect:InMemoryDataTree [junit] 2016-08-12 12:57:36,974 [myid:] - INFO [main:JMXEnv@249] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree [junit] 2016-08-12 12:57:36,974 [myid:] - INFO [main:JMXEnv@245] - expect:StandaloneServer_port [junit] 2016-08-12 12:57:36,974 [myid:] - INFO [main:JMXEnv@249] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11222 [junit] 2016-08-12 12:57:36,975 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 45011 [junit] 2016-08-12 12:57:36,975 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 25 [junit] 2016-08-12 12:57:36,975 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testQuota [junit] 2016-08-12 12:57:36,976 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-08-12 12:57:37,034 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x10037b3246c closed [junit] 2016-08-12 12:57:37,034 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-08-12 12:57:37,034 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-08-12 12:57:37,034 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-08-12 12:57:37,034 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-2:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-08-12 12:57:37,034 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x10037b3246c [junit] 2016-08-12 12:57:37,035 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-08-12 12:57:37,035 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2016-08-12 12:57:37,039
[jira] [Commented] (ZOOKEEPER-2238) Support limiting the maximum number of connections/clients to a zookeeper server.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15418703#comment-15418703 ] Arshad Mohammad commented on ZOOKEEPER-2238: Thanks [~eribeiro] for understanding, I soon submit a patch, taking core work of your patch. > Support limiting the maximum number of connections/clients to a zookeeper > server. > - > > Key: ZOOKEEPER-2238 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2238 > Project: ZooKeeper > Issue Type: Improvement >Reporter: nijel >Assignee: Edward Ribeiro > Attachments: ZOOKEEPER-2238.2.patch, ZOOKEEPER-2238.3.patch, > ZOOKEEPER-2238.4.patch, ZOOKEEPER-2238.diff > > > Currently zookeeper have the feature of limiting the maximum number of > connection/client per IP or Host (maxClientCnxns). > But to safe guard zookeeper server from DoS attack due to many clients from > different IPs, it is better to have a limit of total number of > connections/clients to a a single member of the ZooKeeper ensemble as well. > So the idea is to introduce a new configuration to limit the maximum number > of total connections/clients. > Please share your thoughts. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (ZOOKEEPER-2511) Implement AutoCloseable in ZooKeeper.java
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15418090#comment-15418090 ] Abraham Fine edited comment on ZOOKEEPER-2511 at 8/11/16 11:09 PM: --- Simply adding "implements AutoCloseable" adds a compiler warning: ZooKeeper.java:132: warning: [try] auto-closeable resource ZooKeeper has a member method close() that could throw InterruptedException Which is referenced here: http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html#close() So basically, in classes that implement AutoCloseable, you can't/shouldn't throw InterruptedException from close(). The fun thing is, we don't actually need that "throws InterruptedException" (nothing in the method throws an exception, everything is caught lower in the stack). So I imagine it is kept there for API compatibility purposes. So my solution was to add a @SuppressWarnings("try") and a comment. was (Author: abrahamfine): Simply adding "implements AutoCloseable" adds a compiler warning: ZooKeeper.java:132: warning: [try] auto-closeable resource ZooKeeper has a member method close() that could throw InterruptedException Which is referenced here: http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html#close() So basically, in classes that implement AutoCloseable, you can't throw InterruptedException from close(). The fun thing is, we don't actually need that "throws InterruptedException" (nothing in the method throws an exception, everything is caught lower in the stack). So I imagine it is kept there for API compatibility purposes. So my solution was to add a @SuppressWarnings("try") and a comment. > Implement AutoCloseable in ZooKeeper.java > - > > Key: ZOOKEEPER-2511 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2511 > Project: ZooKeeper > Issue Type: Improvement >Reporter: Abraham Fine >Assignee: Abraham Fine > Attachments: ZOOKEEPER-2511.patch > > > As a java developer I would like to be able to use try-with-resource blocks > with ZooKeeper objects in order to make closing sessions easier. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper-trunk-solaris - Build # 1267 - Still Failing
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1267/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 419355 lines...] [junit] 2016-08-12 08:26:13,161 [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-08-12 08:26:13,163 [myid:] - INFO [main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222 [junit] 2016-08-12 08:26:13,165 [myid:] - INFO [main:ClientBase@361] - STARTING server instance 127.0.0.1:11222 [junit] 2016-08-12 08:26:13,165 [myid:] - INFO [main:ZooKeeperServer@858] - minSessionTimeout set to 6000 [junit] 2016-08-12 08:26:13,166 [myid:] - INFO [main:ZooKeeperServer@867] - maxSessionTimeout set to 6 [junit] 2016-08-12 08:26:13,166 [myid:] - INFO [main:ZooKeeperServer@156] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test8411015351069647501.junit.dir/version-2 snapdir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test8411015351069647501.junit.dir/version-2 [junit] 2016-08-12 08:26:13,167 [myid:] - INFO [main:FileSnap@83] - Reading snapshot /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test8411015351069647501.junit.dir/version-2/snapshot.b [junit] 2016-08-12 08:26:13,170 [myid:] - INFO [main:FileTxnSnapLog@298] - Snapshotting: 0xb to /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test8411015351069647501.junit.dir/version-2/snapshot.b [junit] 2016-08-12 08:26:13,171 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222 [junit] 2016-08-12 08:26:13,172 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:62180 [junit] 2016-08-12 08:26:13,172 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from /127.0.0.1:62180 [junit] 2016-08-12 08:26:13,173 [myid:] - INFO [NIOWorkerThread-1:StatCommand@49] - Stat command output [junit] 2016-08-12 08:26:13,173 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:62180 (no session established for client) [junit] 2016-08-12 08:26:13,173 [myid:] - INFO [main:JMXEnv@228] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-08-12 08:26:13,175 [myid:] - INFO [main:JMXEnv@245] - expect:InMemoryDataTree [junit] 2016-08-12 08:26:13,175 [myid:] - INFO [main:JMXEnv@249] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree [junit] 2016-08-12 08:26:13,175 [myid:] - INFO [main:JMXEnv@245] - expect:StandaloneServer_port [junit] 2016-08-12 08:26:13,175 [myid:] - INFO [main:JMXEnv@249] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11222 [junit] 2016-08-12 08:26:13,175 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17980 [junit] 2016-08-12 08:26:13,176 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24 [junit] 2016-08-12 08:26:13,176 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testQuota [junit] 2016-08-12 08:26:13,176 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-08-12 08:26:13,252 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x122fad7ad29 closed [junit] 2016-08-12 08:26:13,252 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x122fad7ad29 [junit] 2016-08-12 08:26:13,252 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-08-12 08:26:13,253 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-08-12 08:26:13,253 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-08-12 08:26:13,253 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-08-12 08:26:13,253 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2016-08-12 08:26:13,253 [myid:] - INFO [main:ZooKeeperServer@498] -
[jira] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15418430#comment-15418430 ] Arshad Mohammad commented on ZOOKEEPER-2468: Thanks [~dandusv91] for working on this issue. Patch is no applying becuase it is not created with --no-prefix option. Can you please create patch with bellow command, also could you try to write test case as well. {{git diff --no-prefix HEAD > ZOOKEEPER-2468-03.patch}} > SetQuota and DelQuota > - > > Key: ZOOKEEPER-2468 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2468 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.4.8, 3.5.1 > Environment: Windows /Linux >Reporter: Joshi Shankar >Assignee: SREENIVASULUDANDU > Fix For: 3.4.8 > > Attachments: ZOOKEEPER-2468-0.1-patch, ZOOKEEPER-2468-0.2.patch > > > Setquota and delquota commands does not work > Steps to reproduce: > 1. Create Test Node 1 > create -c /TestZookeeperNodeNumber "testdata" > 2. Create Test Node 2 > create -c /TestZookeeperNodeBytes "testdatabytes" > > 3. Set Quota Using > setquota -n 1 /TestZookeeperNodeNumber > 4. Set Quota Using > setquota -b 10 /TestZookeeperNodeBytes > AlreadySelectedException is thrown by Apache CLI. It is bug in Apache > CLI (https://issues.apache.org/jira/browse/CLI-183) > >We can fix by upgrading Apache CLI From(*commons-cli-1.2.jar*) to > (*commons-cli-1.3.1.jar*) > Client Operation Log: > [zk: localhost:2181(CONNECTED) 2] create -c /TestZookeeperNodeNumber > "testdata" > Created /TestZookeeperNodeNumber > [zk: localhost:2181(CONNECTED) 3] create -c /TestZookeeperNodeBytes > "testdatabytes" > Created /TestZookeeperNodeBytes > [zk: localhost:2181(CONNECTED) 4] setquota -n 1 /TestZookeeperNodeNumber > [zk: localhost:2181(CONNECTED) 5] setquota -b 10 /TestZookeeperNodeBytes > The option 'b' was specified but an option from this group has already been > selected: 'n' > ZooKeeper -server host:port cmd args > addauth scheme auth > close > config [-c] [-w] [-s] > connect host:port > create [-s] [-e] [-c] path [data] [acl] > delete [-v version] path > deleteall path > delquota [-n|-b] path > get [-s] [-w] path > getAcl [-s] path > history > listquota path > ls [-s] [-w] path > ls2 path [watch] > printwatches on|off > quit > reconfig [-s] [-v version] [[-file path] | [-members > serverID=host:port1:port2;port3[,...]*] > ] | [-add serverId=host:port1:port2;port3[,...]]* [-remove serverId[,...]*] > redo cmdno > removewatches path [-c|-d|-a] [-l] > rmr path > set [-s] [-v version] path data > setAcl [-s] [-v version] path acl > setquota -n|-b val path > stat [-w] path > sync path -- This message was sent by Atlassian JIRA (v6.3.4#6332)