[jira] [Commented] (ZOOKEEPER-1423) 4lw and jmx should expose the size of the datadir/datalogdir
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14617558#comment-14617558 ] Raul Gutierrez Segales commented on ZOOKEEPER-1423: --- Thanks for the patch [~eribeiro]! A few nits: In: {code} +@Override +public long getDataDirSize() { +if (zkDb == null) return 0L; +File path = zkDb.snapLog.getDataDir(); +return getDirSize(path); +} + +@Override +public long getLogDirSize() { {code} please use {} for if statements, even the body only has 1 statement. I.e.: {code} +public long getDataDirSize() { +if (zkDb == null) { + return 0L; +} +File path = zkDb.snapLog.getDataDir(); +return getDirSize(path); +} {code} Ditto for getLogDirSize(). Other than, lgtm. Will do one more pass after the nits are addressed - thanks! > 4lw and jmx should expose the size of the datadir/datalogdir > > > Key: ZOOKEEPER-1423 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1423 > Project: ZooKeeper > Issue Type: Improvement > Components: jmx >Affects Versions: 3.5.0 >Reporter: Patrick Hunt >Assignee: Edward Ribeiro > Labels: newbie > Attachments: ZOOKEEPER-1423.2.patch, ZOOKEEPER-1423.3.patch, > ZOOKEEPER-1423.4.patch, ZOOKEEPER-1423.patch > > > There are no metrics currently available on the size of the > datadir/datalogdir. These grow w/o bound unless the cleanup script is run. It > would be good to expose these metrics through jmx/4lw such that monitoring > can be done on the size. Would key ppl in on whether cleanup was actually > running. In particular this could be monitored/alerted on by third party > systems (nagios, ganglia and the like). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-1423) 4lw and jmx should expose the size of the datadir/datalogdir
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward Ribeiro updated ZOOKEEPER-1423: -- Attachment: ZOOKEEPER-1423.4.patch Resuming work on this ticket by attaching a new patch compatible with last year's ZK changes. > 4lw and jmx should expose the size of the datadir/datalogdir > > > Key: ZOOKEEPER-1423 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1423 > Project: ZooKeeper > Issue Type: Improvement > Components: jmx >Affects Versions: 3.5.0 >Reporter: Patrick Hunt >Assignee: Edward Ribeiro > Labels: newbie > Attachments: ZOOKEEPER-1423.2.patch, ZOOKEEPER-1423.3.patch, > ZOOKEEPER-1423.4.patch, ZOOKEEPER-1423.patch > > > There are no metrics currently available on the size of the > datadir/datalogdir. These grow w/o bound unless the cleanup script is run. It > would be good to expose these metrics through jmx/4lw such that monitoring > can be done on the size. Would key ppl in on whether cleanup was actually > running. In particular this could be monitored/alerted on by third party > systems (nagios, ganglia and the like). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2122) Impplement SSL support in the Zookeeper C client library
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14617034#comment-14617034 ] Raul Gutierrez Segales commented on ZOOKEEPER-2122: --- (says patch available but the patch apparently wasn't uploaded) > Impplement SSL support in the Zookeeper C client library > > > Key: ZOOKEEPER-2122 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2122 > Project: ZooKeeper > Issue Type: Sub-task > Components: c client >Affects Versions: 3.5.0 >Reporter: Ashish Amarnath >Assignee: Ashish Amarnath >Priority: Trivial > Labels: build, security > Fix For: 3.5.2, 3.6.0 > > > Implement SSL support in the Zookeeper C client library to work with the > secure server. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2122) Impplement SSL support in the Zookeeper C client library
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14617008#comment-14617008 ] Raul Gutierrez Segales commented on ZOOKEEPER-2122: --- that's fantastic [~ashi.khur...@gmail.com]! how hard would it be, do you think, to extend that to support other platforms as wells (using openssl or gnutls, etc)? also, happy to help review this! > Impplement SSL support in the Zookeeper C client library > > > Key: ZOOKEEPER-2122 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2122 > Project: ZooKeeper > Issue Type: Sub-task > Components: c client >Reporter: Ashish Amarnath >Assignee: Ashish Amarnath >Priority: Trivial > Labels: security > Fix For: 3.5.2, 3.6.0 > > > Implement SSL support in the Zookeeper C client library to work with the > secure server. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2122) Impplement SSL support in the Zookeeper C client library
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Atanas updated ZOOKEEPER-2122: -- Priority: Trivial (was: Major) > Impplement SSL support in the Zookeeper C client library > > > Key: ZOOKEEPER-2122 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2122 > Project: ZooKeeper > Issue Type: Sub-task > Components: c client >Reporter: Ashish Amarnath >Assignee: Ashish Amarnath >Priority: Trivial > Labels: security > Fix For: 3.5.2, 3.6.0 > > > Implement SSL support in the Zookeeper C client library to work with the > secure server. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2223) support method-level JUnit testcase
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616846#comment-14616846 ] Chris Nauroth commented on ZOOKEEPER-2223: -- [~suda], thank you for being so thorough and taking care of all of the tests in this patch! > support method-level JUnit testcase > --- > > Key: ZOOKEEPER-2223 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2223 > Project: ZooKeeper > Issue Type: Improvement > Components: tests >Reporter: Akihiro Suda >Assignee: Akihiro Suda >Priority: Minor > Fix For: 3.5.2, 3.6.0 > > Attachments: ZOOKEEPER-2223-v2.patch, ZOOKEEPER-2223-v3.patch, > ZOOKEEPER-2223-v4.patch, ZOOKEEPER-2223.patch > > > Currently, a user can execute class-level single test, but cannot execute > method-level ones. > This patch adds a support for method-level single test so as to facilitate > ease of debugging failing tests (like ZOOKEEPER-2080). > Class-level test (exists in current version) > {panel} > $ ant -Dtestcase=ReconfigRecoveryTest test-core-java > {panel} > Method-level test (proposal) > {panel} > $ ant -Dtestcase=ReconfigRecoveryTest > -Dtest.method=testCurrentObserverIsParticipantInNewConfig test-core-java > {panel} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper-trunk - Build # 2746 - Failure
See https://builds.apache.org/job/ZooKeeper-trunk/2746/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 376284 lines...] [junit] java.lang.InterruptedException [junit] at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1219) [junit] at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340) [junit] at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:338) [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.shutdown(LearnerHandler.java:901) [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:622) [junit] 2015-07-07 10:37:55,437 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:27521:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2015-07-07 10:37:55,437 [myid:] - INFO [/127.0.0.1:27523:QuorumCnxManager$Listener@659] - Leaving listener [junit] 2015-07-07 10:37:55,437 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5,name2=Leader] [junit] 2015-07-07 10:37:55,438 [myid:] - INFO [main:QuorumUtil@254] - Shutting down leader election QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled) [junit] 2015-07-07 10:37:55,438 [myid:] - WARN [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled):QuorumPeer@1080] - Unexpected exception [junit] java.lang.InterruptedException [junit] at java.lang.Object.wait(Native Method) [junit] at org.apache.zookeeper.server.quorum.Leader.lead(Leader.java:559) [junit] at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1077) [junit] 2015-07-07 10:37:55,438 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled):Leader@613] - Shutting down [junit] 2015-07-07 10:37:55,438 [myid:] - INFO [main:QuorumUtil@259] - Waiting for QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled) to exit thread [junit] 2015-07-07 10:37:55,438 [myid:] - WARN [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled):QuorumPeer@] - PeerState set to LOOKING [junit] 2015-07-07 10:37:55,438 [myid:] - WARN [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled):QuorumPeer@1093] - QuorumPeer main thread exited [junit] 2015-07-07 10:37:55,438 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5] [junit] 2015-07-07 10:37:55,438 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5] [junit] 2015-07-07 10:37:55,438 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.1] [junit] 2015-07-07 10:37:55,438 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.2] [junit] 2015-07-07 10:37:55,439 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:27521)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.3] [junit] 2015-07-07 10:37:55,439 [myid:] - INFO [main:FourLetterWordMain@84] - connecting to 127.0.0.1 27509 [junit] 2015-07-07 10:37:55,439 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27509 is no longer accepting client connections [junit] 2015-07-07 10:37:55,439 [myid:] - INFO [main:FourLetterWordMain@84] - connecting to 127.0.0.1 27512 [junit] 2015-07-07 10:37:55,439 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27512 is no longer accepting client connections [junit] 2015-07-07 10:37:55,439 [myid:] - INFO [main:FourLetterWordMain@84] - connecting to 127.0.0.1 27515 [junit] 2015-07-07 10:37:55,440 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27515 is no longer accepting client connections [junit] 2015-07-07 10:37:55,440 [myid:] - INFO [main:FourLetterWordMain@84] - connecting to 127.0.0.1 27518 [junit] 2015-07-07 10:37:55,440 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27518 is no longer accepting client connections [junit] 2015-07-07 10:37:55,440 [myid:] - INFO [main:FourLetterWordMain@84] - connecting to 127.0.0.1 27521 [junit] 2015-07-07 10:37:55,440 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:2752
[jira] [Commented] (ZOOKEEPER-2223) support method-level JUnit testcase
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616493#comment-14616493 ] Hudson commented on ZOOKEEPER-2223: --- FAILURE: Integrated in ZooKeeper-trunk #2746 (See [https://builds.apache.org/job/ZooKeeper-trunk/2746/]) ZOOKEEPER-2223: support method-level JUnit testcase (Akihiro Suda via rgs) (rgs: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1689571) * /zookeeper/trunk/CHANGES.txt * /zookeeper/trunk/build.xml * /zookeeper/trunk/ivy.xml * /zookeeper/trunk/src/contrib/rest/build.xml * /zookeeper/trunk/src/contrib/rest/ivy.xml * /zookeeper/trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/Base.java * /zookeeper/trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/CreateTest.java * /zookeeper/trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/DeleteTest.java * /zookeeper/trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/ExistsTest.java * /zookeeper/trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/GetChildrenTest.java * /zookeeper/trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/GetTest.java * /zookeeper/trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/RootTest.java * /zookeeper/trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/SessionTest.java * /zookeeper/trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/SetTest.java * /zookeeper/trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/WadlTest.java * /zookeeper/trunk/src/contrib/zooinspector/ivy.xml * /zookeeper/trunk/src/java/systest/org/apache/zookeeper/test/system/BaseSysTest.java * /zookeeper/trunk/src/java/systest/org/apache/zookeeper/test/system/SimpleSysTest.java * /zookeeper/trunk/src/java/test/org/apache/jute/BinaryInputArchiveTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/ClientReconnectTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/CustomHostProviderTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/JUnit4ZKTestRunner.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/MultiResponseTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/MultiTransactionRecordTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/PortAssignmentTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/RemoveWatchesTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/VerGenTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/ZKParameterized.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/common/PathUtilsTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/common/TimeTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/DatadirCleanupManagerTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/NIOServerCnxnTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/NettyServerCnxnTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/SessionTrackerTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/WatchesPathReportTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/WatchesReportTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/WatchesSummaryTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/ZooKeeperServerConfTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/ZooKeeperThreadTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/ZxidRolloverTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/admin/CommandResponseTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/CommitProcessorConcurrencyTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/CommitProcessorTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/FLETestUtils.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/QuorumRequestPipelineTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/Zab1_0Test.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/util/VerifyingFileFactoryTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ClientBase.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/JMXEnv.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/MultiTransactionTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/OSMXBeanTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ReadOnlyModeTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/SessionInvalidationTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/StringUtilTest.java * /z
ZooKeeper_branch35_jdk7 - Build # 348 - Failure
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/348/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 374113 lines...] [junit] java.lang.InterruptedException [junit] at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1219) [junit] at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340) [junit] at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:338) [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.shutdown(LearnerHandler.java:901) [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:622) [junit] 2015-07-07 10:21:40,865 [myid:] - WARN [LearnerHandler-/127.0.0.1:40476:LearnerHandler@619] - *** GOODBYE /127.0.0.1:40476 [junit] 2015-07-07 10:21:40,868 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2015-07-07 10:21:40,868 [myid:] - WARN [LearnerHandler-/127.0.0.1:40476:LearnerHandler@903] - Ignoring unexpected exception [junit] java.lang.InterruptedException [junit] at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1219) [junit] at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340) [junit] at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:338) [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.shutdown(LearnerHandler.java:901) [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:622) [junit] 2015-07-07 10:21:40,869 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2015-07-07 10:21:40,869 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:16749:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2015-07-07 10:21:40,869 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2015-07-07 10:21:40,870 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5,name2=Leader] [junit] 2015-07-07 10:21:40,870 [myid:] - INFO [/127.0.0.1:16751:QuorumCnxManager$Listener@659] - Leaving listener [junit] 2015-07-07 10:21:40,870 [myid:] - WARN [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled):QuorumPeer@1080] - Unexpected exception [junit] java.lang.InterruptedException [junit] at java.lang.Object.wait(Native Method) [junit] at org.apache.zookeeper.server.quorum.Leader.lead(Leader.java:559) [junit] at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1077) [junit] 2015-07-07 10:21:40,871 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled):Leader@613] - Shutting down [junit] 2015-07-07 10:21:40,871 [myid:] - INFO [main:QuorumUtil@254] - Shutting down leader election QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled) [junit] 2015-07-07 10:21:40,871 [myid:] - WARN [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled):QuorumPeer@] - PeerState set to LOOKING [junit] 2015-07-07 10:21:40,872 [myid:] - INFO [main:QuorumUtil@259] - Waiting for QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled) to exit thread [junit] 2015-07-07 10:21:40,872 [myid:] - WARN [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled):QuorumPeer@1093] - QuorumPeer main thread exited [junit] 2015-07-07 10:21:40,872 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5] [junit] 2015-07-07 10:21:40,872 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5] [junit] 2015-07-07 10:21:40,872 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.1] [junit] 2015-07-07 10:21:40,872 [myid:] - INFO [QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:16749)(secure=disabled):MBeanRegistry@119] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.2] [junit] 2015-07-07 10:21:40,873 [myid:] - INFO [Quo
ZooKeeper-trunk-solaris - Build # 1046 - Still Failing
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1046/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 18 lines...] U src/java/test/org/apache/zookeeper/CustomHostProviderTest.java U src/java/test/org/apache/zookeeper/server/ZooKeeperServerConfTest.java U src/java/test/org/apache/zookeeper/server/NIOServerCnxnTest.java U src/java/test/org/apache/zookeeper/server/ZxidRolloverTest.java U src/java/test/org/apache/zookeeper/server/WatchesPathReportTest.java U src/java/test/org/apache/zookeeper/server/admin/CommandResponseTest.java U src/java/test/org/apache/zookeeper/server/quorum/CommitProcessorConcurrencyTest.java U src/java/test/org/apache/zookeeper/server/quorum/WatchLeakTest.java U src/java/test/org/apache/zookeeper/server/quorum/Zab1_0Test.java U src/java/test/org/apache/zookeeper/server/quorum/FLETestUtils.java U src/java/test/org/apache/zookeeper/server/quorum/QuorumRequestPipelineTest.java U src/java/test/org/apache/zookeeper/server/quorum/CommitProcessorTest.java U src/java/test/org/apache/zookeeper/server/DatadirCleanupManagerTest.java U src/java/test/org/apache/zookeeper/server/WatchesSummaryTest.java U src/java/test/org/apache/zookeeper/server/NettyServerCnxnTest.java U src/java/test/org/apache/zookeeper/server/WatchesReportTest.java U src/java/test/org/apache/zookeeper/server/ZooKeeperThreadTest.java U src/java/test/org/apache/zookeeper/server/util/VerifyingFileFactoryTest.java U src/java/test/org/apache/zookeeper/server/SessionTrackerTest.java U src/java/test/org/apache/zookeeper/VerGenTest.java U src/java/test/org/apache/zookeeper/MultiTransactionRecordTest.java U src/java/test/org/apache/zookeeper/test/StringUtilTest.java U src/java/test/org/apache/zookeeper/test/WatchEventWhenAutoResetTest.java U src/java/test/org/apache/zookeeper/test/MultiTransactionTest.java U src/java/test/org/apache/zookeeper/test/ClientBase.java U src/java/test/org/apache/zookeeper/test/SessionInvalidationTest.java U src/java/test/org/apache/zookeeper/test/JMXEnv.java U src/java/test/org/apache/zookeeper/test/ReadOnlyModeTest.java U src/java/test/org/apache/zookeeper/test/X509AuthTest.java U src/java/test/org/apache/zookeeper/test/OSMXBeanTest.java A src/java/test/org/apache/zookeeper/ZKParameterized.java U src/java/test/org/apache/zookeeper/common/PathUtilsTest.java U src/java/test/org/apache/zookeeper/common/TimeTest.java U src/java/test/org/apache/zookeeper/MultiResponseTest.java U src/java/test/org/apache/zookeeper/JUnit4ZKTestRunner.java U src/java/test/org/apache/zookeeper/RemoveWatchesTest.java U src/java/test/org/apache/zookeeper/PortAssignmentTest.java U src/java/test/org/apache/zookeeper/ClientReconnectTest.java U src/java/test/org/apache/jute/BinaryInputArchiveTest.java U src/recipes/election/test/org/apache/zookeeper/recipes/leader/LeaderElectionSupportTest.java U src/recipes/lock/test/org/apache/zookeeper/recipes/lock/ZNodeNameTest.java U build.xml U CHANGES.txt U ivy.xml At revision 1689597 Updating http://svn.apache.org/repos/asf/hadoop/nightly at revision '2015-07-07T08:31:34.276 +' At revision 1689597 no change for http://svn.apache.org/repos/asf/hadoop/nightly since the previous build No emails were triggered. [locks-and-latches] Checking to see if we really have the locks [locks-and-latches] Have all the locks, build can start [ZooKeeper-trunk-solaris] $ /bin/bash /var/tmp/hudson2758825825634980314.sh FATAL: Cannot find executable from the chosen Ant installation "Ant (latest)" Build step 'Invoke Ant' marked build as failure [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released Recording test results Email was triggered for: Failure Sending email for trigger: Failure ### ## FAILED TESTS (if any) ## No tests ran.
[jira] [Updated] (ZOOKEEPER-2223) support method-level JUnit testcase
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh R updated ZOOKEEPER-2223: Fix Version/s: 3.5.2 > support method-level JUnit testcase > --- > > Key: ZOOKEEPER-2223 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2223 > Project: ZooKeeper > Issue Type: Improvement > Components: tests >Reporter: Akihiro Suda >Assignee: Akihiro Suda >Priority: Minor > Fix For: 3.5.2, 3.6.0 > > Attachments: ZOOKEEPER-2223-v2.patch, ZOOKEEPER-2223-v3.patch, > ZOOKEEPER-2223-v4.patch, ZOOKEEPER-2223.patch > > > Currently, a user can execute class-level single test, but cannot execute > method-level ones. > This patch adds a support for method-level single test so as to facilitate > ease of debugging failing tests (like ZOOKEEPER-2080). > Class-level test (exists in current version) > {panel} > $ ant -Dtestcase=ReconfigRecoveryTest test-core-java > {panel} > Method-level test (proposal) > {panel} > $ ant -Dtestcase=ReconfigRecoveryTest > -Dtest.method=testCurrentObserverIsParticipantInNewConfig test-core-java > {panel} -- This message was sent by Atlassian JIRA (v6.3.4#6332)