[jira] [Commented] (ZOOKEEPER-1371) Remove dependency on log4j in the source code.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202347#comment-15202347 ] Chris Nauroth commented on ZOOKEEPER-1371: -- ZOOKEEPER-2393 tracks a partial revert to restore the SLF4J Log4J 1 binding on the runtime classpath. > Remove dependency on log4j in the source code. > -- > > Key: ZOOKEEPER-1371 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1371 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.4.0, 3.4.1, 3.4.2, 3.4.3 >Reporter: Mahadev konar >Assignee: Arshad Mohammad > Labels: patch > Fix For: 3.5.2, 3.6.0 > > Attachments: ZOOKEEPER-1371-05.patch, ZOOKEEPER-1371.patch, > ZOOKEEPER-1371.patch, ZOOKEEPER-1371.patch, ZOOKEEPER-1371.patch > > > ZOOKEEPER-850 added slf4j to ZK. We still depend on log4j in our codebase. We > should remove the dependency on log4j so that we can make logging pluggable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2393) Revert run-time dependency on log4j and slf4j-log4j12
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated ZOOKEEPER-2393: --- Attachment: ZOOKEEPER-2393.patch Thanks [~cnauroth], Submitting new patch > Revert run-time dependency on log4j and slf4j-log4j12 > - > > Key: ZOOKEEPER-2393 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2393 > Project: ZooKeeper > Issue Type: Bug > Components: server >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad >Priority: Blocker > Fix For: 3.5.2, 3.6.0 > > Attachments: ZOOKEEPER-2393.patch, ZOOKEEPER-2393.patch > > > Zookeeper run-time dependency on log4j and slf4j-log4j12 was removed as part > of ZOOKEEPER-1371 jira work. > Following things were done as part of ZOOKEEPER-1371 > # Removed direct log4j API use from the code, instead used slf4j-api > # Changed log4j and slf4j-log4j12 run time dependency to test time > dependency > # Upgraded log4j, slf4j-log4j12 and slf4j-api versions. > Here is the component wise version change > #* (zookeeper)ivy.xml > log4j: 1.2.15 -->1.7.5 > #* src\contrib\loggraph\ivy.xml > slf4j-api: 1.6.1 -->1.7.5 > slf4j-log4j12: 1.6.1 -->1.7.5 > log4j: 1.2.15 -->1.7.5 > #* src\contrib\rest\ivy.xml > slf4j-api: 1.6.1 -->1.7.5 > slf4j-log4j12: 1.6.1 -->1.7.5 > log4j: 1.2.15 -->1.7.5 > #* src\contrib\zooinspector\ivy.xml > slf4j-api: 1.6.1 -->1.7.5 > slf4j-log4j12: 1.6.1 -->1.7.5 > log4j: 1.2.15 -->1.7.5 > The major problem with ZOOKEEPER-1371 change is that it removed run time > dependency. For more detail refer ZOOKEEPER-2342 discussion > Now as part of this jira revert back only run time dependency, #2, on log4j > and slf4j-log4j12. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper_branch35_solaris - Build # 33 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/33/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 346616 lines...] [junit] 2016-03-19 03:24:17,846 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-03-19 03:24:17,847 [myid:] - INFO [main:ClientBase@460] - STARTING server [junit] 2016-03-19 03:24:17,847 [myid:] - INFO [main:ClientBase@380] - CREATING server instance 127.0.0.1:11222 [junit] 2016-03-19 03:24:17,847 [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-03-19 03:24:17,849 [myid:] - INFO [main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222 [junit] 2016-03-19 03:24:17,849 [myid:] - INFO [main:ClientBase@355] - STARTING server instance 127.0.0.1:11222 [junit] 2016-03-19 03:24:17,850 [myid:] - INFO [main:ZooKeeperServer@858] - minSessionTimeout set to 6000 [junit] 2016-03-19 03:24:17,850 [myid:] - INFO [main:ZooKeeperServer@867] - maxSessionTimeout set to 6 [junit] 2016-03-19 03:24:17,850 [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/test1546155965398087293.junit.dir/version-2 snapdir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test1546155965398087293.junit.dir/version-2 [junit] 2016-03-19 03:24:17,851 [myid:] - INFO [main:FileSnap@83] - Reading snapshot /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test1546155965398087293.junit.dir/version-2/snapshot.b [junit] 2016-03-19 03:24:17,853 [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/test1546155965398087293.junit.dir/version-2/snapshot.b [junit] 2016-03-19 03:24:17,854 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222 [junit] 2016-03-19 03:24:17,854 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:43467 [junit] 2016-03-19 03:24:17,855 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from /127.0.0.1:43467 [junit] 2016-03-19 03:24:17,855 [myid:] - INFO [NIOWorkerThread-1:StatCommand@49] - Stat command output [junit] 2016-03-19 03:24:17,856 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:43467 (no session established for client) [junit] 2016-03-19 03:24:17,856 [myid:] - INFO [main:JMXEnv@228] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-03-19 03:24:17,857 [myid:] - INFO [main:JMXEnv@245] - expect:InMemoryDataTree [junit] 2016-03-19 03:24:17,858 [myid:] - INFO [main:JMXEnv@249] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree [junit] 2016-03-19 03:24:17,858 [myid:] - INFO [main:JMXEnv@245] - expect:StandaloneServer_port [junit] 2016-03-19 03:24:17,858 [myid:] - INFO [main:JMXEnv@249] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11222 [junit] 2016-03-19 03:24:17,858 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17771 [junit] 2016-03-19 03:24:17,858 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24 [junit] 2016-03-19 03:24:17,858 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testQuota [junit] 2016-03-19 03:24:17,859 [myid:] - INFO [main:ClientBase@537] - tearDown starting [junit] 2016-03-19 03:24:17,932 [myid:] - INFO [main:ZooKeeper@1110] - Session: 0x12009e533ba closed [junit] 2016-03-19 03:24:17,932 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@543] - EventThread shut down for session: 0x12009e533ba [junit] 2016-03-19 03:24:17,932 [myid:] - INFO [main:ClientBase@507] - STOPPING server [junit] 2016-03-19 03:24:17,933 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2016-03-19 03:24:17,933 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-03-19 03:24:17,933 [myid:] - INFO [NIOServerCxnFactory.SelectorThread
[jira] [Updated] (ZOOKEEPER-2393) Revert run-time dependency on log4j and slf4j-log4j12
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated ZOOKEEPER-2393: --- Attachment: ZOOKEEPER-2393.patch # Reverted back run-time dependency on log4j and slf4j-log4j12 # Renamed src\java\lib\log4j-1.2.16.LICENSE.txt to log4j-1.2.17.LICENSE.txt, log4j-1.2.17 has same LICENSE.txt as log4j-1.2.16 > Revert run-time dependency on log4j and slf4j-log4j12 > - > > Key: ZOOKEEPER-2393 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2393 > Project: ZooKeeper > Issue Type: Bug > Components: server >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Fix For: 3.5.2 > > Attachments: ZOOKEEPER-2393.patch > > > Zookeeper run-time dependency on log4j and slf4j-log4j12 was removed as part > of ZOOKEEPER-1371 jira work. > Following things were done as part of ZOOKEEPER-1371 > # Removed direct log4j API use from the code, instead used slf4j-api > # Changed log4j and slf4j-log4j12 run time dependency to test time > dependency > # Upgraded log4j, slf4j-log4j12 and slf4j-api versions. > Here is the component wise version change > #* (zookeeper)ivy.xml > log4j: 1.2.15 -->1.7.5 > #* src\contrib\loggraph\ivy.xml > slf4j-api: 1.6.1 -->1.7.5 > slf4j-log4j12: 1.6.1 -->1.7.5 > log4j: 1.2.15 -->1.7.5 > #* src\contrib\rest\ivy.xml > slf4j-api: 1.6.1 -->1.7.5 > slf4j-log4j12: 1.6.1 -->1.7.5 > log4j: 1.2.15 -->1.7.5 > #* src\contrib\zooinspector\ivy.xml > slf4j-api: 1.6.1 -->1.7.5 > slf4j-log4j12: 1.6.1 -->1.7.5 > log4j: 1.2.15 -->1.7.5 > The major problem with ZOOKEEPER-1371 change is that it removed run time > dependency. For more detail refer ZOOKEEPER-2342 discussion > Now as part of this jira revert back only run time dependency, #2, on log4j > and slf4j-log4j12. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper_branch35_solaris - Build # 29 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/29/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 346288 lines...] [junit] 2016-03-17 17:29:13,054 [myid:] - INFO [main:ZooKeeperServer@867] - maxSessionTimeout set to 6 [junit] 2016-03-17 17:29:13,054 [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/test1402806748994656121.junit.dir/version-2 snapdir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test1402806748994656121.junit.dir/version-2 [junit] 2016-03-17 17:29:13,054 [myid:] - INFO [main:FileSnap@83] - Reading snapshot /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test1402806748994656121.junit.dir/version-2/snapshot.b [junit] 2016-03-17 17:29:13,056 [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/test1402806748994656121.junit.dir/version-2/snapshot.b [junit] 2016-03-17 17:29:13,058 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222 [junit] 2016-03-17 17:29:13,058 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:55812 [junit] 2016-03-17 17:29:13,059 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from /127.0.0.1:55812 [junit] 2016-03-17 17:29:13,059 [myid:] - INFO [NIOWorkerThread-1:StatCommand@49] - Stat command output [junit] 2016-03-17 17:29:13,059 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:55812 (no session established for client) [junit] 2016-03-17 17:29:13,060 [myid:] - INFO [main:JMXEnv@228] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-03-17 17:29:13,061 [myid:] - INFO [main:JMXEnv@245] - expect:InMemoryDataTree [junit] 2016-03-17 17:29:13,061 [myid:] - INFO [main:JMXEnv@249] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree [junit] 2016-03-17 17:29:13,061 [myid:] - INFO [main:JMXEnv@245] - expect:StandaloneServer_port [junit] 2016-03-17 17:29:13,062 [myid:] - INFO [main:JMXEnv@249] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11222 [junit] 2016-03-17 17:29:13,062 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17771 [junit] 2016-03-17 17:29:13,062 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24 [junit] 2016-03-17 17:29:13,063 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testQuota [junit] 2016-03-17 17:29:13,063 [myid:] - INFO [main:ClientBase@537] - tearDown starting [junit] 2016-03-17 17:29:13,142 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@543] - EventThread shut down for session: 0x120029e0f6b [junit] 2016-03-17 17:29:13,143 [myid:] - INFO [main:ZooKeeper@1110] - Session: 0x120029e0f6b closed [junit] 2016-03-17 17:29:13,143 [myid:] - INFO [main:ClientBase@507] - STOPPING server [junit] 2016-03-17 17:29:13,143 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-03-17 17:29:13,143 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-03-17 17:29:13,143 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2016-03-17 17:29:13,143 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-03-17 17:29:13,144 [myid:] - INFO [main:ZooKeeperServer@498] - shutting down [junit] 2016-03-17 17:29:13,144 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-03-17 17:29:13,144 [myid:] - INFO [main:PrepRequestProcessor@967] - Shutting down [junit] 2016-03-17 17:29:13,145 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-03-17 17:29:13,145 [myid:] - INFO [ProcessThread(sid:0 cport:11222)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop! [junit] 2016-03-17 17:29:13,145 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169]
ZooKeeper_branch34 - Build # 1458 - Failure
See https://builds.apache.org/job/ZooKeeper_branch34/1458/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 213411 lines...] [junit] 2016-03-18 03:49:23,316 [myid:] - INFO [main:JMXEnv@250] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2016-03-18 03:49:23,316 [myid:] - INFO [main:ClientBase@490] - STOPPING server [junit] 2016-03-18 03:49:23,316 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - NIOServerCnxn factory exited run method [junit] 2016-03-18 03:49:23,316 [myid:] - INFO [main:ZooKeeperServer@469] - shutting down [junit] 2016-03-18 03:49:23,316 [myid:] - INFO [main:SessionTrackerImpl@225] - Shutting down [junit] 2016-03-18 03:49:23,317 [myid:] - INFO [main:PrepRequestProcessor@767] - Shutting down [junit] 2016-03-18 03:49:23,317 [myid:] - INFO [main:SyncRequestProcessor@209] - Shutting down [junit] 2016-03-18 03:49:23,317 [myid:] - INFO [ProcessThread(sid:0 cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop! [junit] 2016-03-18 03:49:23,318 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited! [junit] 2016-03-18 03:49:23,318 [myid:] - INFO [main:FinalRequestProcessor@415] - shutdown of request processor complete [junit] 2016-03-18 03:49:23,319 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-03-18 03:49:23,319 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-03-18 03:49:23,321 [myid:] - INFO [main:ClientBase@443] - STARTING server [junit] 2016-03-18 03:49:23,321 [myid:] - INFO [main:ClientBase@364] - CREATING server instance 127.0.0.1:11221 [junit] 2016-03-18 03:49:23,322 [myid:] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221 [junit] 2016-03-18 03:49:23,323 [myid:] - INFO [main:ClientBase@339] - STARTING server instance 127.0.0.1:11221 [junit] 2016-03-18 03:49:23,323 [myid:] - INFO [main:ZooKeeperServer@170] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/branch-3.4/build/test/tmp/test1920332561234384598.junit.dir/version-2 snapdir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/branch-3.4/build/test/tmp/test1920332561234384598.junit.dir/version-2 [junit] 2016-03-18 03:49:23,328 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-03-18 03:49:23,329 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - Accepted socket connection from /127.0.0.1:49390 [junit] 2016-03-18 03:49:23,329 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing stat command from /127.0.0.1:49390 [junit] 2016-03-18 03:49:23,330 [myid:] - INFO [Thread-5:NIOServerCnxn$StatCommand@663] - Stat command output [junit] 2016-03-18 03:49:23,330 [myid:] - INFO [Thread-5:NIOServerCnxn@1008] - Closed socket connection for client /127.0.0.1:49390 (no session established for client) [junit] 2016-03-18 03:49:23,330 [myid:] - INFO [main:JMXEnv@229] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-03-18 03:49:23,332 [myid:] - INFO [main:JMXEnv@246] - expect:InMemoryDataTree [junit] 2016-03-18 03:49:23,332 [myid:] - INFO [main:JMXEnv@250] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree [junit] 2016-03-18 03:49:23,332 [myid:] - INFO [main:JMXEnv@246] - expect:StandaloneServer_port [junit] 2016-03-18 03:49:23,333 [myid:] - INFO [main:JMXEnv@250] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2016-03-18 03:49:23,333 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 31162 [junit] 2016-03-18 03:49:23,333 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20 [junit] 2016-03-18 03:49:23,334 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota [junit] 2016-03-18 03:49:23,334 [myid:] - INFO [main:ClientBase@520] - tearDown starting [junit] 2016-03-18 03:49:23,400 [myid:] - INFO [main:ZooKeeper@684] - Session: 0x15387d78a55 closed [junit] 2016-03-18 03:49:23,400 [myid:] - INFO [main:ClientBase@490] - STOPPING server [junit] 2016-03-18 03:49:23,400 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for session: 0x15387d78a55 [junit] 2016-03-18 03:49:23,400 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - NIOServerCnxn factory exited run method [junit] 20
Re: We need to prioritize getting logging fixed in trunk/3.5
I'm a strong +1 to get this fixed even if it requires reverting the original patch. Broken logging is huge. Let's do whatever is expedient and sensible to fix it. On Tue, Mar 15, 2016 at 7:27 PM, Chris Nauroth wrote: > Yes, that's basically my assessment too. Copy-pasting my earlier comment > from ZOOKEEPER-1371: > > "After this patch, ZooKeeper no longer produces any logging, because there > is no SLF4J binding jar available on the runtime classpath." > > > There is no compatibility problem with switching to SLF4J exclusively as > our API of choice for logging instead of calling the Log4J API. The > incompatible part is that the distro isn't shipping with any SLF4J binding > included. Perhaps we can do a partial revert of just that part of > ZOOKEEPER-1371. > > --Chris Nauroth > > > > > On 3/15/16, 11:54 AM, "Patrick Hunt" wrote: > > >Hm, I started looking at the original patch in more depth: > > > https://issues.apache.org/jira/secure/attachment/12773684/ZOOKEEPER-1371-0 > >5.patch > > > >is the real root issue 2342 is trying to address the following line > >change: > > > >- >transitive="false"/> > >+ >transitive="false" conf="test->default"/> > > > >Specifically that we changed from runtime to test only for this > >dependency? Perhaps we just need to revert that? I see some other > >magic happening in the build.xml file that I don't quite understand - > >adding a new target and NoLog4j... references. > > > >Raul perhaps you can give more insight since it seems like you worked > >on 1371 most recently? > > > >Patrick > > > > > >On Tue, Mar 15, 2016 at 11:41 AM, Chris Nauroth > > wrote: > >> I agree. Even if we don't fully understand every minute technical > >>detail > >> of Log4J 2 vs. Log4J 1, I think we've learned enough from my > >> work-in-progress patch to declare that a migration is too risky for the > >> 3.5 line. Reverting ZOOKEEPER-1371 (the earlier backwards-incompatible > >> logging change) is the better choice for the interest of proceeding with > >> 3.5 releases. > >> > >> --Chris Nauroth > >> > >> > >> > >> > >> On 3/15/16, 11:23 AM, "Patrick Hunt" wrote: > >> > >>>I just commented on ZOOKEEPER-2342... not sure I fully understand all > >>>the issues to be honest. Given how much we're trying to do in 3.5 it > >>>seems like it would be prudent to wait on 1371 until 3.6... IMO. :-) > >>> > >>>Patrick > >>> > >>>On Tue, Mar 15, 2016 at 11:15 AM, Chris Nauroth > >>> wrote: > At this point, I am +1 for a revert of the patch that introduced the > problem (ZOOKEEPER-1371). We need more time to come up with a > migration > path to Log4J 2 that minimizes impact on operators. That will take > time, > and I'd prefer that we don't hold up 3.5.2-alpha for it. > > --Chris Nauroth > > > > > On 3/15/16, 11:08 AM, "Patrick Hunt" wrote: > > >Hi folks, can we prioritize getting logging fixed? It's causing test > >failures, e.g.: > > > https://builds.apache.org/job/ZooKeeper-trunk/2850/artifact/trunk/buil > >d/ > >tm > >p/zk.log > > > >This is the jira: > >https://issues.apache.org/jira/browse/ZOOKEEPER-2342 > > > > > >Perhaps we should revert the change that caused this in the first > >place. > > > >Patrick > > > > >>> > >> > > > >
[jira] [Commented] (ZOOKEEPER-2387) Attempt to gracefully stop the
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200466#comment-15200466 ] Biju Nair commented on ZOOKEEPER-2387: -- [~phunt] Thanks again. For users who would like any inflight or queued tasks like snapshot is shutdown before bringing down ZK completely in a normal case, can the shutdown hook registration made based on a configurable option with the default option being {{false}}. > Attempt to gracefully stop the > --- > > Key: ZOOKEEPER-2387 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2387 > Project: ZooKeeper > Issue Type: Improvement >Reporter: Biju Nair >Assignee: Biju Nair > Attachments: ZOOKEEPER-2387-1.patch > > > To stop ZooKeeper service, {{kill}} is issued against the ZK process. It will > be good to gracefully stop all the subcomponents. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-1257) Rename MultiTransactionRecord to MultiRequest
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202055#comment-15202055 ] Biju Nair commented on ZOOKEEPER-1257: -- Can this be made into a lower priority item than {{critical}} ? > Rename MultiTransactionRecord to MultiRequest > - > > Key: ZOOKEEPER-1257 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1257 > Project: ZooKeeper > Issue Type: Sub-task >Reporter: Thomas Koch >Assignee: Thomas Koch >Priority: Critical > > Understanding the code behind multi operations doesn't get any easier when > the code violates naming consistency. > All other Request classes are called xxxRequest, only for multi its > xxxTransactionRecord! Also "Transaction" is wrong, because there is the > concepts of transactions that are transmitted between quorum peers or > committed to disc. MultiTransactionRecord however is a _Request_ from a > client. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper-trunk - Build # 2856 - Failure
See https://builds.apache.org/job/ZooKeeper-trunk/2856/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 385163 lines...] [exec] Log Message Received: [2016-03-19 02:15:40,358:13866(0x2b10c44be540):ZOO_INFO@log_env@1048: Client environment:user.name=jenkins] [exec] Log Message Received: [2016-03-19 02:15:40,358:13866(0x2b10c44be540):ZOO_INFO@log_env@1056: Client environment:user.home=/home/jenkins] [exec] Log Message Received: [2016-03-19 02:15:40,358:13866(0x2b10c44be540):ZOO_INFO@log_env@1068: Client environment:user.dir=/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/trunk/build/test/test-cppunit] [exec] Log Message Received: [2016-03-19 02:15:40,358:13866(0x2b10c44be540):ZOO_INFO@zookeeper_init_internal@: Initiating client connection, host=127.0.0.1:22181 sessionTimeout=1 watcher=0x45d2a0 sessionId=0 sessionPasswd= context=0x7fff0c22bc70 flags=0] [exec] Log Message Received: [2016-03-19 02:15:40,359:13866(0x2b10c6b4d700):ZOO_INFO@check_events@2357: initiated connection to server [127.0.0.1:22181]] [exec] Log Message Received: [2016-03-19 02:15:40,380:13866(0x2b10c6b4d700):ZOO_INFO@check_events@2409: session establishment complete on server [127.0.0.1:22181], sessionId=0x1019c04f2ce0010, negotiated timeout=1 ] [exec] : elapsed 1001 : OK [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset ZooKeeper server started : elapsed 10067 : OK [exec] Zookeeper_simpleSystem::testDeserializeString : elapsed 0 : OK [exec] Zookeeper_simpleSystem::testFirstServerDown : elapsed 1001 : OK [exec] Zookeeper_simpleSystem::testNullData : elapsed 1049 : OK [exec] Zookeeper_simpleSystem::testIPV6 : elapsed 1007 : OK [exec] Zookeeper_simpleSystem::testCreate : elapsed 1033 : OK [exec] Zookeeper_simpleSystem::testPath : elapsed 1058 : OK [exec] Zookeeper_simpleSystem::testPathValidation : elapsed 1142 : OK [exec] Zookeeper_simpleSystem::testPing : elapsed 17759 : OK [exec] Zookeeper_simpleSystem::testAcl : elapsed 1033 : OK [exec] Zookeeper_simpleSystem::testChroot : elapsed 3106 : OK [exec] Zookeeper_simpleSystem::testAuth ZooKeeper server started ZooKeeper server started : elapsed 30142 : OK [exec] Zookeeper_simpleSystem::testHangingClient : elapsed 1191 : OK [exec] Zookeeper_simpleSystem::testWatcherAutoResetWithGlobal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 14259 : OK [exec] Zookeeper_simpleSystem::testWatcherAutoResetWithLocal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 14351 : OK [exec] Zookeeper_simpleSystem::testGetChildren2 : elapsed 1058 : OK [exec] Zookeeper_simpleSystem::testLastZxid : elapsed 4525 : OK [exec] Zookeeper_simpleSystem::testRemoveWatchers ZooKeeper server started : elapsed 4085 : OK [exec] Zookeeper_readOnly::testReadOnly : elapsed 4092 : OK [exec] /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/trunk/src/c/tests/TestReconfig.cc:183: Assertion: equality assertion failed [Expected: 1, Actual : 0] [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] == [exec] make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/trunk/build/test/test-cppunit' [exec] make[1]: *** [check-TESTS] Error 1 [exec] make: *** [check-am] Error 2 BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/trunk/build.xml:1361: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/trunk/build.xml:1321: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/trunk/build.xml:1331: exec returned: 2 Total time: 14 minutes 47 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 LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 Recording fingerprints Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 Recording test results Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 Publishing Javadoc Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 Setting LATEST1_7_HOME=/home/jenkins/j
ZooKeeper_branch35_solaris - Build # 26 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/26/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 346719 lines...] [junit] 2016-03-16 18:03:27,618 [myid:] - INFO [main:ClientBase@460] - STARTING server [junit] 2016-03-16 18:03:27,618 [myid:] - INFO [main:ClientBase@380] - CREATING server instance 127.0.0.1:11222 [junit] 2016-03-16 18:03:27,618 [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-03-16 18:03:27,619 [myid:] - INFO [main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222 [junit] 2016-03-16 18:03:27,619 [myid:] - INFO [main:ClientBase@355] - STARTING server instance 127.0.0.1:11222 [junit] 2016-03-16 18:03:27,620 [myid:] - INFO [main:ZooKeeperServer@858] - minSessionTimeout set to 6000 [junit] 2016-03-16 18:03:27,620 [myid:] - INFO [main:ZooKeeperServer@867] - maxSessionTimeout set to 6 [junit] 2016-03-16 18:03:27,620 [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/test4256911066503306350.junit.dir/version-2 snapdir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test4256911066503306350.junit.dir/version-2 [junit] 2016-03-16 18:03:27,621 [myid:] - INFO [main:FileSnap@83] - Reading snapshot /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test4256911066503306350.junit.dir/version-2/snapshot.b [junit] 2016-03-16 18:03:27,623 [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/test4256911066503306350.junit.dir/version-2/snapshot.b [junit] 2016-03-16 18:03:27,624 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222 [junit] 2016-03-16 18:03:27,625 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:36899 [junit] 2016-03-16 18:03:27,625 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from /127.0.0.1:36899 [junit] 2016-03-16 18:03:27,625 [myid:] - INFO [NIOWorkerThread-1:StatCommand@49] - Stat command output [junit] 2016-03-16 18:03:27,626 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:36899 (no session established for client) [junit] 2016-03-16 18:03:27,626 [myid:] - INFO [main:JMXEnv@228] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-03-16 18:03:27,627 [myid:] - INFO [main:JMXEnv@245] - expect:InMemoryDataTree [junit] 2016-03-16 18:03:27,628 [myid:] - INFO [main:JMXEnv@249] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree [junit] 2016-03-16 18:03:27,628 [myid:] - INFO [main:JMXEnv@245] - expect:StandaloneServer_port [junit] 2016-03-16 18:03:27,628 [myid:] - INFO [main:JMXEnv@249] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11222 [junit] 2016-03-16 18:03:27,628 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17770 [junit] 2016-03-16 18:03:27,628 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24 [junit] 2016-03-16 18:03:27,628 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testQuota [junit] 2016-03-16 18:03:27,629 [myid:] - INFO [main:ClientBase@537] - tearDown starting [junit] 2016-03-16 18:03:27,702 [myid:] - INFO [main:ZooKeeper@1110] - Session: 0x11ffd970d4e closed [junit] 2016-03-16 18:03:27,702 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@543] - EventThread shut down for session: 0x11ffd970d4e [junit] 2016-03-16 18:03:27,702 [myid:] - INFO [main:ClientBase@507] - STOPPING server [junit] 2016-03-16 18:03:27,703 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-03-16 18:03:27,703 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-03-16 18:03:27,703 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-03-16 18:
[jira] [Resolved] (ZOOKEEPER-2390) pom file needs license information
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt resolved ZOOKEEPER-2390. - Resolution: Duplicate Assignee: Patrick Hunt I believe this is a duplicate of ZOOKEEPER-2373 which was recently fixed. I'm closing this but please re-open if I missed something or mis-understood. > pom file needs license information > -- > > Key: ZOOKEEPER-2390 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2390 > Project: ZooKeeper > Issue Type: Improvement > Components: build >Affects Versions: 3.5.1, 3.5.2, 3.6.0, 4.0.0 >Reporter: Ben McCann >Assignee: Patrick Hunt >Priority: Blocker > > Can you add a license section to the pom file? > org.apache.zookeeper:zookeeper:3.5.1-alpha does specify one currently > Automated tools utilize the license in the pom the ensure we're clients are > using appropriately licensed software > > > Apache License, Version 2.0 > http://www.apache.org/licenses/LICENSE-2.0.txt > repo > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2139) Support multiple ZooKeeper client, with different configurations, in a single JVM
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated ZOOKEEPER-2139: --- Summary: Support multiple ZooKeeper client, with different configurations, in a single JVM (was: Zookeeper client configuration should not be java system property) > Support multiple ZooKeeper client, with different configurations, in a single > JVM > - > > Key: ZOOKEEPER-2139 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2139 > Project: ZooKeeper > Issue Type: Improvement > Components: java client >Affects Versions: 3.5.0 >Reporter: Surendra Singh Lilhore >Assignee: Arshad Mohammad > Fix For: 3.5.2, 3.6.0 > > Attachments: ZOOKEEPER-2139-05.patch, ZOOKEEPER-2139-06.patch, > ZOOKEEPER-2139-07.patch, ZOOKEEPER-2139-08.patch, ZOOKEEPER-2139.patch, > ZOOKEEPER-2139.patch, ZOOKEEPER-2139_1.patch, ZOOKEEPER-2139_2.patch > > > I have two ZK client in one JVM, one is secure client and second is normal > client (For non secure cluster). > "zookeeper.sasl.client" system property is "true" by default, because of this > my second client connection is failing. > We should pass all client configurations in client constructor like HDFS > client. > For example : > {code} > public ZooKeeper(String connectString, int sessionTimeout, Watcher watcher, > Configuration conf) throws IOException > { > .. > .. > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[GitHub] zookeeper pull request: Update netty to 3.7.1.Final
Github user ceefour closed the pull request at: https://github.com/apache/zookeeper/pull/57 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Updated] (ZOOKEEPER-2374) Can not telnet 2181 port on aws ec2 server
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-2374: Fix Version/s: (was: 3.4.9) (was: 3.5.2) (was: 3.6.0) > Can not telnet 2181 port on aws ec2 server > -- > > Key: ZOOKEEPER-2374 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2374 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.4.6 >Reporter: zhupengfei >Priority: Blocker > > This is the second time I faced the problem on ec2, my activemq stomp port > have the same problem, but tcp message port works fine. > I have checked zookeeper.out, no error log found. And aws technical support > tell it maybe caused by zookeeper. > OS Type: > Amazon Linux AMI > Network Test Result: > -bash-4.1$ netstat | grep 2181 > -bash-4.1$ telnet localhost 2181 > Trying 127.0.0.1... > ^C > -bash-4.1$ netstat -tunpl|grep 2181 > (Not all processes could be identified, non-owned process info > will not be shown, you would have to be root to see it all.) > tcp0 0 :::2181 :::* > LISTEN 17923/java > -bash-4.1$ netstat -an |grep 2181 > tcp0 1 172.12.10.152:60171 172.12.10.152:2181 > SYN_SENT > tcp0 0 :::2181 :::* > LISTEN > tcp0 1 :::127.0.0.1:36032 :::127.0.0.1:2181 > SYN_SENT -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-1582) EndOfStreamException: Unable to read additional data from client
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202173#comment-15202173 ] Marcelo Mendes commented on ZOOKEEPER-1582: --- Got the same error trying to setup Solr 4.7.2 + Zookeeper 3.4.6 Looking for some error on Solr startup log I found: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.jetty.start.Main.invokeMain(Main.java:473) at org.eclipse.jetty.start.Main.start(Main.java:615) at org.eclipse.jetty.start.Main.main(Main.java:96) Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /configs/config1/solr-webapp/webapp/WEB-INF/lib/guava-14.0.1.jar at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783) at org.apache.solr.common.cloud.SolrZkClient$10.execute(SolrZkClient.java:429) at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:73) at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:426) at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:336) at org.apache.solr.cloud.ZkController.uploadToZK(ZkController.java:1330) And that's what's logged on ZK log file: 2016-03-18 18:12:39,922 [myid:] - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception EndOfStreamException: Unable to read additional data from client sessionid 0x1538b7af63c, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208) at java.lang.Thread.run(Thread.java:745) > EndOfStreamException: Unable to read additional data from client > > > Key: ZOOKEEPER-1582 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1582 > Project: ZooKeeper > Issue Type: Bug > Environment: windows 7 > jdk 7 >Reporter: zhouyanming >Priority: Blocker > > 1.download zookeeper-3.4.4.tar.gz and unzip > 2.rename conf/zoo_sample.cfg to zoo.cfg > 3.click zkServer.cmd > 4.click zkCli.cmd > zkCli can not connect to zkServer,it blocked > zkServer console print > 2012-11-13 17:28:05,302 [myid:] - WARN > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@349] - caught end of > stream exception > EndOfStreamException: Unable to read additional data from client sessionid > 0x13af9131eee, likely client has closed socket > at > org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220) > at > org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208) > at java.lang.Thread.run(Thread.java:722) > 2012-11-13 17:28:05,308 [myid:] - INFO > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed > socket connection for client /127.0.0.1:54810 which had sessionid > 0x13af9131eee -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197298#comment-15197298 ] Flavio Junqueira commented on ZOOKEEPER-2391: - Thanks for reporting the issue and the patch, [~kazuakibanzai]. Do you want to update the docs as well in your patch? Also, I think we need to fix this in branches 3.4, 3.5, and trunk, yes? > setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak > way > --- > > Key: ZOOKEEPER-2391 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391 > Project: ZooKeeper > Issue Type: Bug > Components: documentation, server >Reporter: Kazuaki Banzai >Assignee: Kazuaki Banzai >Priority: Minor > Attachments: ZOOKEEPER-2391.patch > > > setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak > way. > * -1 restores the default, but this is not documented. > * values < -1 are permitted but make no sense. > * min > max is permitted but makes not sense. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper_branch34_jdk8 - Build # 510 - Failure
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/510/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 1300 lines...] [ivy:retrieve] :: loading settings :: file = /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/branch-3.4/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: org.apache.zookeeper#zookeeper;3.4.9-SNAPSHOT [ivy:retrieve] confs: [default] [ivy:retrieve] found org.slf4j#slf4j-api;1.6.1 in maven2 [ivy:retrieve] found org.slf4j#slf4j-log4j12;1.6.1 in maven2 [ivy:retrieve] found log4j#log4j;1.2.16 in maven2 [ivy:retrieve] found jline#jline;0.9.94 in maven2 [ivy:retrieve] found io.netty#netty;3.7.0.Final in maven2 [ivy:retrieve] downloading http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar ... [ivy:retrieve] .. (24kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] org.slf4j#slf4j-api;1.6.1!slf4j-api.jar (62ms) [ivy:retrieve] downloading http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar ... [ivy:retrieve] .. (9kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] org.slf4j#slf4j-log4j12;1.6.1!slf4j-log4j12.jar (61ms) [ivy:retrieve] downloading http://repo1.maven.org/maven2/log4j/log4j/1.2.16/log4j-1.2.16.jar ... [ivy:retrieve] . (470kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] log4j#log4j;1.2.16!log4j.jar(bundle) (131ms) [ivy:retrieve] downloading http://repo1.maven.org/maven2/jline/jline/0.9.94/jline-0.9.94.jar ... [ivy:retrieve] ... (85kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] jline#jline;0.9.94!jline.jar (62ms) [ivy:retrieve] downloading http://repo1.maven.org/maven2/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar ... [ivy:retrieve] (1180kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] io.netty#netty;3.7.0.Final!netty.jar (117ms) [ivy:retrieve] :: resolution report :: resolve 1972ms :: artifacts dl 441ms - | |modules|| artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| - | default | 5 | 5 | 5 | 0 || 5 | 5 | - [ivy:retrieve] :: retrieving :: org.apache.zookeeper#zookeeper [ivy:retrieve] confs: [default] [ivy:retrieve] 5 artifacts copied, 0 already retrieved (1769kB/16ms) clover.setup: clover.info: clover: jute: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/branch-3.4/build.xml:272: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-7-openjdk-amd64/jre" Total time: 4 seconds Build step 'Execute shell' marked build as failure Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? Email was triggered for: Failure - Any Sending email for trigger: Failure - Any ### ## FAILED TESTS (if any) ## No tests ran.
ZooKeeper-trunk-openjdk7 - Build # 957 - Still Failing
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/957/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 1463 lines...] [ivy:retrieve] :: Apache Ivy 2.4.0 - 20141213170938 :: http://ant.apache.org/ivy/ :: [ivy:retrieve] :: loading settings :: file = /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: org.apache.zookeeper#zookeeper;3.6.0-SNAPSHOT [ivy:retrieve] confs: [default] [ivy:retrieve] found jline#jline;2.11 in maven2 [ivy:retrieve] found org.mortbay.jetty#jetty;6.1.26 in maven2 [ivy:retrieve] found org.mortbay.jetty#jetty-util;6.1.26 in maven2 [ivy:retrieve] found org.mortbay.jetty#servlet-api;2.5-20081211 in maven2 [ivy:retrieve] found org.codehaus.jackson#jackson-mapper-asl;1.9.11 in maven2 [ivy:retrieve] found org.codehaus.jackson#jackson-core-asl;1.9.11 in maven2 [ivy:retrieve] found org.slf4j#slf4j-api;1.7.5 in maven2 [ivy:retrieve] found commons-cli#commons-cli;1.2 in maven2 [ivy:retrieve] found io.netty#netty;3.7.1.Final in maven2 [ivy:retrieve] found net.java.dev.javacc#javacc;5.0 in maven2 [ivy:retrieve] :: resolution report :: resolve 363ms :: artifacts dl 14ms - | |modules|| artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| - | default | 10 | 0 | 0 | 0 || 10 | 0 | - [ivy:retrieve] :: retrieving :: org.apache.zookeeper#zookeeper [ivy:retrieve] confs: [default] [ivy:retrieve] 10 artifacts copied, 0 already retrieved (3562kB/36ms) clover.setup: clover.info: clover: generate_jute_parser: [mkdir] Created dir: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/jute_compiler/org/apache/jute/compiler/generated [ivy:artifactproperty] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead [ivy:artifactproperty] :: loading settings :: file = /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/ivysettings.xml [move] Moving 1 file to /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/lib [javacc] Java Compiler Compiler Version 5.0 (Parser Generator) [javacc] (type "javacc" with no arguments for help) [javacc] Reading from file /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/src/java/main/org/apache/jute/compiler/generated/rcc.jj . . . [javacc] File "TokenMgrError.java" does not exist. Will create one. [javacc] File "ParseException.java" does not exist. Will create one. [javacc] File "Token.java" does not exist. Will create one. [javacc] File "SimpleCharStream.java" does not exist. Will create one. [javacc] Parser generated successfully. jute: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build.xml:280: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-7-openjdk-amd64/jre" Total time: 2 seconds Build step 'Invoke Ant' marked build as failure Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? Email was triggered for: Failure - Any Sending email for trigger: Failure - Any ### ## FAILED TESTS (if any) ## No tests ran.
[jira] [Updated] (ZOOKEEPER-2392) Update netty to 3.7.1.Final
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hendy Irawan updated ZOOKEEPER-2392: Attachment: ZOOKEEPER-2392.patch [~phunt] I apologize, here's the patch. > Update netty to 3.7.1.Final > --- > > Key: ZOOKEEPER-2392 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2392 > Project: ZooKeeper > Issue Type: Improvement > Components: build >Affects Versions: 3.4.6, 3.5.1 >Reporter: Hendy Irawan >Assignee: Hendy Irawan >Priority: Minor > Fix For: 3.5.2, 3.6.0 > > Attachments: ZOOKEEPER-2392.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper_branch35_solaris - Build # 32 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/32/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 344253 lines...] [junit] 2016-03-18 19:09:31,016 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-03-18 19:09:31,017 [myid:] - INFO [main:ClientBase@460] - STARTING server [junit] 2016-03-18 19:09:31,017 [myid:] - INFO [main:ClientBase@380] - CREATING server instance 127.0.0.1:11222 [junit] 2016-03-18 19:09:31,018 [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-03-18 19:09:31,019 [myid:] - INFO [main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222 [junit] 2016-03-18 19:09:31,019 [myid:] - INFO [main:ClientBase@355] - STARTING server instance 127.0.0.1:11222 [junit] 2016-03-18 19:09:31,020 [myid:] - INFO [main:ZooKeeperServer@858] - minSessionTimeout set to 6000 [junit] 2016-03-18 19:09:31,020 [myid:] - INFO [main:ZooKeeperServer@867] - maxSessionTimeout set to 6 [junit] 2016-03-18 19:09:31,020 [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/test8584977190840899208.junit.dir/version-2 snapdir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test8584977190840899208.junit.dir/version-2 [junit] 2016-03-18 19:09:31,021 [myid:] - INFO [main:FileSnap@83] - Reading snapshot /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/branch-3.5/build/test/tmp/test8584977190840899208.junit.dir/version-2/snapshot.b [junit] 2016-03-18 19:09:31,023 [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/test8584977190840899208.junit.dir/version-2/snapshot.b [junit] 2016-03-18 19:09:31,024 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222 [junit] 2016-03-18 19:09:31,025 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:50175 [junit] 2016-03-18 19:09:31,025 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from /127.0.0.1:50175 [junit] 2016-03-18 19:09:31,026 [myid:] - INFO [NIOWorkerThread-1:StatCommand@49] - Stat command output [junit] 2016-03-18 19:09:31,026 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:50175 (no session established for client) [junit] 2016-03-18 19:09:31,026 [myid:] - INFO [main:JMXEnv@228] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-03-18 19:09:31,027 [myid:] - INFO [main:JMXEnv@245] - expect:InMemoryDataTree [junit] 2016-03-18 19:09:31,028 [myid:] - INFO [main:JMXEnv@249] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree [junit] 2016-03-18 19:09:31,028 [myid:] - INFO [main:JMXEnv@245] - expect:StandaloneServer_port [junit] 2016-03-18 19:09:31,028 [myid:] - INFO [main:JMXEnv@249] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11222 [junit] 2016-03-18 19:09:31,028 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17765 [junit] 2016-03-18 19:09:31,028 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24 [junit] 2016-03-18 19:09:31,029 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testQuota [junit] 2016-03-18 19:09:31,029 [myid:] - INFO [main:ClientBase@537] - tearDown starting [junit] 2016-03-18 19:09:31,112 [myid:] - INFO [main:ZooKeeper@1110] - Session: 0x1200820301b closed [junit] 2016-03-18 19:09:31,112 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@543] - EventThread shut down for session: 0x1200820301b [junit] 2016-03-18 19:09:31,112 [myid:] - INFO [main:ClientBase@507] - STOPPING server [junit] 2016-03-18 19:09:31,113 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-03-18 19:09:31,113 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-03-18 19:09:31,113 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFacto
[jira] [Commented] (ZOOKEEPER-2388) Unit tests failing on Solaris
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15198074#comment-15198074 ] Raul Gutierrez Segales commented on ZOOKEEPER-2388: --- Thanks for the quick fix [~arshad.mohammad]! +1 cc: [~cnauroth], [~phunt] in case any of you don't get to merge this, i'll do so later tonight. Thanks! > Unit tests failing on Solaris > - > > Key: ZOOKEEPER-2388 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2388 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Affects Versions: 3.5.2 >Reporter: Patrick Hunt >Assignee: Arshad Mohammad >Priority: Blocker > Fix For: 3.5.2, 3.6.0 > > Attachments: ZOOKEEPER-2388-01.patch > > > The same two tests are failing consistently on Solaris in 3.5/trunk (I don't > see similar failures in 3.4, jenkins is mostly green there) > org.apache.zookeeper.server.quorum.LocalPeerBeanTest.testClientAddress > org.apache.zookeeper.server.quorum.QuorumPeerTest.testQuorumPeerListendOnSpecifiedClientIP -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2384) Support atomic increment / decrement of znode value
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated ZOOKEEPER-2384: -- Labels: atomic (was: ) > Support atomic increment / decrement of znode value > --- > > Key: ZOOKEEPER-2384 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2384 > Project: ZooKeeper > Issue Type: Improvement >Reporter: Ted Yu > Labels: atomic > > Use case is to store reference count (integer type) in znode. > It is desirable to provide support for atomic increment / decrement of the > znode value. > Suggestion from Flavio: > you can read the znode, keep the version of the znode, update the value, > write back conditionally. The condition for the setData operation to succeed > is that the version is the same that it read > While the above is feasible, developer has to implement retry logic > him/herself. It is not easy to combine increment / decrement with other > operations using multi. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Failed: ZOOKEEPER-2393 PreCommit Build #3108
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2393 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3108/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 390300 lines...] [exec] -1 tests included. The patch doesn't appear to include any new or modified tests. [exec] Please justify why no new tests are needed for this patch. [exec] Also please list what manual steps were performed to verify this patch. [exec] [exec] -1 javadoc. The javadoc tool appears to have generated 100 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 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/3108//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3108//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3108//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] d8f05f58196503afa00a177441c0b9ac5a91246b 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:1646: exec returned: 2 Total time: 19 minutes 55 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 Recording test results Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 [description-setter] Description set: ZOOKEEPER-2393 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 Setting LATEST1_7_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7 ### ## FAILED TESTS (if any) ## All tests passed
[jira] [Commented] (ZOOKEEPER-2393) Revert run-time dependency on log4j and slf4j-log4j12
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202594#comment-15202594 ] Hadoop QA commented on ZOOKEEPER-2393: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12794306/ZOOKEEPER-2393.patch against trunk revision 1735646. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. -1 javadoc. The javadoc tool appears to have generated 100 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 passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3108//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3108//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3108//console This message is automatically generated. > Revert run-time dependency on log4j and slf4j-log4j12 > - > > Key: ZOOKEEPER-2393 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2393 > Project: ZooKeeper > Issue Type: Bug > Components: server >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad >Priority: Blocker > Fix For: 3.5.2, 3.6.0 > > Attachments: ZOOKEEPER-2393.patch, ZOOKEEPER-2393.patch > > > Zookeeper run-time dependency on log4j and slf4j-log4j12 was removed as part > of ZOOKEEPER-1371 jira work. > Following things were done as part of ZOOKEEPER-1371 > # Removed direct log4j API use from the code, instead used slf4j-api > # Changed log4j and slf4j-log4j12 run time dependency to test time > dependency > # Upgraded log4j, slf4j-log4j12 and slf4j-api versions. > Here is the component wise version change > #* (zookeeper)ivy.xml > log4j: 1.2.15 -->1.7.5 > #* src\contrib\loggraph\ivy.xml > slf4j-api: 1.6.1 -->1.7.5 > slf4j-log4j12: 1.6.1 -->1.7.5 > log4j: 1.2.15 -->1.7.5 > #* src\contrib\rest\ivy.xml > slf4j-api: 1.6.1 -->1.7.5 > slf4j-log4j12: 1.6.1 -->1.7.5 > log4j: 1.2.15 -->1.7.5 > #* src\contrib\zooinspector\ivy.xml > slf4j-api: 1.6.1 -->1.7.5 > slf4j-log4j12: 1.6.1 -->1.7.5 > log4j: 1.2.15 -->1.7.5 > The major problem with ZOOKEEPER-1371 change is that it removed run time > dependency. For more detail refer ZOOKEEPER-2342 discussion > Now as part of this jira revert back only run time dependency, #2, on log4j > and slf4j-log4j12. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper_branch34_openjdk7 - Build # 1014 - Failure
See https://builds.apache.org/job/ZooKeeper_branch34_openjdk7/1014/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 1279 lines...] [ivy:retrieve] :: loading settings :: file = /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7/branch-3.4/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: org.apache.zookeeper#zookeeper;3.4.9-SNAPSHOT [ivy:retrieve] confs: [default] [ivy:retrieve] found org.slf4j#slf4j-api;1.6.1 in maven2 [ivy:retrieve] found org.slf4j#slf4j-log4j12;1.6.1 in maven2 [ivy:retrieve] found log4j#log4j;1.2.16 in maven2 [ivy:retrieve] found jline#jline;0.9.94 in maven2 [ivy:retrieve] found io.netty#netty;3.7.0.Final in maven2 [ivy:retrieve] downloading http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar ... [ivy:retrieve] .. (24kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] org.slf4j#slf4j-api;1.6.1!slf4j-api.jar (61ms) [ivy:retrieve] downloading http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar ... [ivy:retrieve] .. (9kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] org.slf4j#slf4j-log4j12;1.6.1!slf4j-log4j12.jar (63ms) [ivy:retrieve] downloading http://repo1.maven.org/maven2/log4j/log4j/1.2.16/log4j-1.2.16.jar ... [ivy:retrieve] (470kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] log4j#log4j;1.2.16!log4j.jar(bundle) (116ms) [ivy:retrieve] downloading http://repo1.maven.org/maven2/jline/jline/0.9.94/jline-0.9.94.jar ... [ivy:retrieve] ... (85kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] jline#jline;0.9.94!jline.jar (65ms) [ivy:retrieve] downloading http://repo1.maven.org/maven2/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar ... [ivy:retrieve] .. (1180kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] io.netty#netty;3.7.0.Final!netty.jar (97ms) [ivy:retrieve] :: resolution report :: resolve 1994ms :: artifacts dl 422ms - | |modules|| artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| - | default | 5 | 5 | 5 | 0 || 5 | 5 | - [ivy:retrieve] :: retrieving :: org.apache.zookeeper#zookeeper [ivy:retrieve] confs: [default] [ivy:retrieve] 5 artifacts copied, 0 already retrieved (1769kB/16ms) clover.setup: clover.info: clover: jute: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7/branch-3.4/build.xml:272: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-7-openjdk-amd64/jre" Total time: 4 seconds Build step 'Invoke Ant' marked build as failure Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? Email was triggered for: Failure - Any Sending email for trigger: Failure - Any ### ## FAILED TESTS (if any) ## No tests ran.