[jira] [Commented] (ZOOKEEPER-2253) C asserts ordering of ping requests, while Java client does not

2015-09-25 Thread Chris Chen (JIRA)

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

Chris Chen commented on ZOOKEEPER-2253:
---

[~rgs] lemme know if you have any questions

> C asserts ordering of ping requests, while Java client does not
> ---
>
> Key: ZOOKEEPER-2253
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2253
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: c client
>Affects Versions: 3.5.0
>Reporter: Chris Chen
> Attachments: ZOOKEEPER-2253.patch, ZOOKEEPER-2253.patch, 
> ZOOKEEPER-2253.patch, zookeeper-2253-3.4.patch
>
>
> Affects C clients from 3.3 to trunk.
> The Java client does not enforce ordering on ping requests. It merely updates 
> fields when a ping reply is received and schedules a new ping request when 
> necessary.
> The C client actually enqueues the void response in the completion data 
> structure and pulls it off when it gets a response.
> This sounds like an implementation detail (and it is, sort of), but if a 
> future server were to, say, send unsolicited ping replies to a client to 
> assert liveness, it would work fine against a Java client but would cause a C 
> client to fail the assertion in zookeeper_process, "assert(cptr)", line 2912, 
> zookeeper.c.



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


Failed: ZOOKEEPER-2211 PreCommit Build #2886

2015-09-25 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2211
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2886/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 372899 lines...]
 [exec] 
 [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/2886//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2886//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2886//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] 82bb5707e811cb7e36e313da681d7bc2251910b4 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:1787:
 exec returned: 1

Total time: 8 minutes 57 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Sending artifact delta relative to PreCommit-ZOOKEEPER-Build #2880
Archived 7 artifacts
Archive block size is 32768
Received 6 blocks and 370334 bytes
Compression is 34.7%
Took 1.2 sec
Recording test results
Description set: ZOOKEEPER-2211
Email was triggered for: Failure
Sending email for trigger: Failure



###
## FAILED TESTS (if any) 
##
1 tests failed.
REGRESSION:  org.apache.zookeeper.test.ClientPortBindTest.testBindByAddress

Error Message:
No such device

Stack Trace:
java.net.SocketException: No such device
at java.net.NetworkInterface.isLoopback0(Native Method)
at java.net.NetworkInterface.isLoopback(NetworkInterface.java:382)
at 
org.apache.zookeeper.test.ClientPortBindTest.testBindByAddress(ClientPortBindTest.java:61)
at 
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)




[jira] [Commented] (ZOOKEEPER-2211) PurgeTxnLog does not correctly purge when snapshots and logs are at different locations

2015-09-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-2211:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12762442/ZOOKEEPER-2211-03.patch
  against trunk revision 1705225.

+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/2886//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2886//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2886//console

This message is automatically generated.

> PurgeTxnLog does not correctly purge when snapshots and logs are at different 
> locations
> ---
>
> Key: ZOOKEEPER-2211
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2211
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: scripts
>Affects Versions: 3.4.6, 3.5.0
> Environment: Ubuntu 12.04, Java 1.7.
>Reporter: Wesley Chow
>Assignee: Arshad Mohammad
> Fix For: 3.4.7, 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-2211-02.patch, ZOOKEEPER-2211-03.patch, 
> ZOOKEEPER-2211.patch
>
>
> PurgeTxnLog does not work when snapshots and transaction logs are at 
> different file paths. The argument handling is buggy and only works when both 
> snap and datalog dirs are given, and datalog dir contains both logs and snaps 
> (snap is ignored).



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


[jira] [Updated] (ZOOKEEPER-2211) PurgeTxnLog does not correctly purge when snapshots and logs are at different locations

2015-09-25 Thread Arshad Mohammad (JIRA)

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

Arshad Mohammad updated ZOOKEEPER-2211:
---
Attachment: ZOOKEEPER-2211-03.patch

Submitting new patch

> PurgeTxnLog does not correctly purge when snapshots and logs are at different 
> locations
> ---
>
> Key: ZOOKEEPER-2211
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2211
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: scripts
>Affects Versions: 3.4.6, 3.5.0
> Environment: Ubuntu 12.04, Java 1.7.
>Reporter: Wesley Chow
>Assignee: Arshad Mohammad
> Fix For: 3.4.7, 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-2211-02.patch, ZOOKEEPER-2211-03.patch, 
> ZOOKEEPER-2211.patch
>
>
> PurgeTxnLog does not work when snapshots and transaction logs are at 
> different file paths. The argument handling is buggy and only works when both 
> snap and datalog dirs are given, and datalog dir contains both logs and snaps 
> (snap is ignored).



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


[jira] [Commented] (ZOOKEEPER-2211) PurgeTxnLog does not correctly purge when snapshots and logs are at different locations

2015-09-25 Thread Arshad Mohammad (JIRA)

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

Arshad Mohammad commented on ZOOKEEPER-2211:


Thanks a lot  [~rakeshr] for your review comments
# handled
#  Here "greater than 3" means at least 4, but as per the existing 
functionality even 3 snap/logs can be retained.  So I think message "greater 
than 3" will be misleading. IMHO,  "greater than or equal to 3" will be more 
appropriate message. Changed the message to {code}System.out.println("\tcount 
-- the number of old snaps/logs you want to keep, value should be greater than 
or equal to 3");{code} 
is this OK?

> PurgeTxnLog does not correctly purge when snapshots and logs are at different 
> locations
> ---
>
> Key: ZOOKEEPER-2211
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2211
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: scripts
>Affects Versions: 3.4.6, 3.5.0
> Environment: Ubuntu 12.04, Java 1.7.
>Reporter: Wesley Chow
>Assignee: Arshad Mohammad
> Fix For: 3.4.7, 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-2211-02.patch, ZOOKEEPER-2211.patch
>
>
> PurgeTxnLog does not work when snapshots and transaction logs are at 
> different file paths. The argument handling is buggy and only works when both 
> snap and datalog dirs are given, and datalog dir contains both logs and snaps 
> (snap is ignored).



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


[jira] [Commented] (ZOOKEEPER-2281) ZK Server startup fails if there are spaces in the JAVA_HOME path

2015-09-25 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-2281:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12762375/ZOOKEEPER-2281-00.patch
  against trunk revision 1705225.

+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 patch.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2885//console

This message is automatically generated.

> ZK Server startup fails if there are spaces in the JAVA_HOME path
> -
>
> Key: ZOOKEEPER-2281
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2281
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
> Environment: Windows
>Reporter: neha
>Priority: Minor
> Attachments: ZOOKEEPER-2281-00.patch
>
>
> Zookeeper startup fails if there are spaces in the %JAVA_HOME% variable. 
> {code}
> if not exist %JAVA_HOME%\bin\java.exe (
>   echo Error: JAVA_HOME is incorrectly set.
>   goto :eof
> )
> set JAVA=%JAVA_HOME%\bin\java
> {code}



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


Failed: ZOOKEEPER-2281 PreCommit Build #2885

2015-09-25 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2281
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2885/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 105 lines...]
 [exec] Skipping patch.
 [exec] 1 out of 1 hunk ignored
 [exec] PATCH APPLICATION FAILED
 [exec] 
 [exec] 
 [exec] 
 [exec] 
 [exec] -1 overall.  Here are the results of testing the latest attachment 
 [exec]   
http://issues.apache.org/jira/secure/attachment/12762375/ZOOKEEPER-2281-00.patch
 [exec]   against trunk revision 1705225.
 [exec] 
 [exec] +1 @author.  The patch does not contain any @author tags.
 [exec] 
 [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 patch.  The patch command could not apply the patch.
 [exec] 
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2885//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] 4a80b4364ba2537d1ed3d003b24d195ea4253932 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:1787:
 exec returned: 1

Total time: 44 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Sending artifact delta relative to PreCommit-ZOOKEEPER-Build #2880
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 60907 bytes
Compression is 0.0%
Took 0.84 sec
Recording test results
Description set: ZOOKEEPER-2281
Email was triggered for: Failure
Sending email for trigger: Failure



###
## FAILED TESTS (if any) 
##
No tests ran.

[jira] [Updated] (ZOOKEEPER-2281) ZK Server startup fails if there are spaces in the JAVA_HOME path

2015-09-25 Thread neha (JIRA)

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

neha updated ZOOKEEPER-2281:

Attachment: ZOOKEEPER-2281-00.patch

Updated the patch. Please review.

> ZK Server startup fails if there are spaces in the JAVA_HOME path
> -
>
> Key: ZOOKEEPER-2281
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2281
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
> Environment: Windows
>Reporter: neha
>Priority: Minor
> Attachments: ZOOKEEPER-2281-00.patch
>
>
> Zookeeper startup fails if there are spaces in the %JAVA_HOME% variable. 
> {code}
> if not exist %JAVA_HOME%\bin\java.exe (
>   echo Error: JAVA_HOME is incorrectly set.
>   goto :eof
> )
> set JAVA=%JAVA_HOME%\bin\java
> {code}



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


ZooKeeper_branch35_jdk7 - Build # 399 - Still Failing

2015-09-25 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/399/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 372334 lines...]
[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-09-25 10:44:28,309 [myid:] - WARN  
[LearnerHandler-/127.0.0.1:35810: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-09-25 10:44:28,311 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2015-09-25 10:44:28,310 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2015-09-25 10:44:28,310 [myid:] - WARN  
[LearnerHandler-/127.0.0.1:35811: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-09-25 10:44:28,311 [myid:] - INFO  
[/127.0.0.1:22137:QuorumCnxManager$Listener@659] - Leaving listener
[junit] 2015-09-25 10:44:28,311 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5,name2=Leader]
[junit] 2015-09-25 10:44:28,312 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(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-09-25 10:44:28,313 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled):Leader@613] 
- Shutting down
[junit] 2015-09-25 10:44:28,313 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled):QuorumPeer@]
 - PeerState set to LOOKING
[junit] 2015-09-25 10:44:28,313 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled):QuorumPeer@1093]
 - QuorumPeer main thread exited
[junit] 2015-09-25 10:44:28,313 [myid:] - INFO  [main:QuorumUtil@254] - 
Shutting down leader election 
QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled)
[junit] 2015-09-25 10:44:28,313 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5]
[junit] 2015-09-25 10:44:28,313 [myid:] - INFO  [main:QuorumUtil@259] - 
Waiting for QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled) 
to exit thread
[junit] 2015-09-25 10:44:28,313 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5]
[junit] 2015-09-25 10:44:28,314 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.1]
[junit] 2015-09-25 10:44:28,314 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.2]
[junit] 2015-09-25 10:44:28,314 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:22135)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_i

ZooKeeper_branch35_jdk7 - Build # 398 - Failure

2015-09-25 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/398/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 380454 lines...]
 [exec] Log Message Received: [2015-09-25 
07:35:53,686:10927(0x2b20fba2e480):ZOO_INFO@log_env@1017: Client 
environment:host.name=jenkins-ubuntu-1404-4gb-665]
 [exec] Log Message Received: [2015-09-25 
07:35:53,686:10927(0x2b20fba2e480):ZOO_INFO@log_env@1024: Client 
environment:os.name=Linux]
 [exec] Log Message Received: [2015-09-25 
07:35:53,686:10927(0x2b20fba2e480):ZOO_INFO@log_env@1025: Client 
environment:os.arch=3.13.0-30-generic]
 [exec] Log Message Received: [2015-09-25 
07:35:53,686:10927(0x2b20fba2e480):ZOO_INFO@log_env@1026: Client 
environment:os.version=#54-Ubuntu SMP Mon Jun 9 22:45:01 UTC 2014]
 [exec] Log Message Received: [2015-09-25 
07:35:53,686:10927(0x2b20fba2e480):ZOO_INFO@log_env@1034: Client 
environment:user.name=jenkins]
 [exec] Log Message Received: [2015-09-25 
07:35:53,686:10927(0x2b20fba2e480):ZOO_INFO@log_env@1042: Client 
environment:user.home=/home/jenkins]
 [exec] Log Message Received: [2015-09-25 
07:35:53,686:10927(0x2b20fba2e480):ZOO_INFO@log_env@1054: Client 
environment:user.dir=/jenkins/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build/test/test-cppunit]
 [exec] Log Message Received: [2015-09-25 
07:35:53,686:10927(0x2b20fba2e480):ZOO_INFO@zookeeper_init_internal@1097: 
Initiating client connection, host=127.0.0.1:22181 sessionTimeout=1 
watcher=0x45d2f0 sessionId=0 sessionPasswd= context=0x7fff662dfd70 
flags=0]
 [exec] Log Message Received: [2015-09-25 
07:35:53,687:10927(0x2b20fe125700):ZOO_INFO@check_events@2345: initiated 
connection to server [127.0.0.1:22181]]
 [exec] Log Message Received: [2015-09-25 
07:35:53,690:10927(0x2b20fe125700):ZOO_INFO@check_events@2397: session 
establishment complete on server [127.0.0.1:22181], 
sessionId=0x1000296a943000f, negotiated timeout=1 ]
 [exec]  : elapsed 1001 : OK
 [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset ZooKeeper server 
started : elapsed 10565 : OK
 [exec] Zookeeper_simpleSystem::testDeserializeString : elapsed 0 : OK
 [exec] Zookeeper_simpleSystem::testFirstServerDown : elapsed 1001 : OK
 [exec] Zookeeper_simpleSystem::testNullData : elapsed 1018 : OK
 [exec] Zookeeper_simpleSystem::testIPV6 : elapsed 1004 : OK
 [exec] Zookeeper_simpleSystem::testCreate : elapsed 1007 : OK
 [exec] Zookeeper_simpleSystem::testPath : elapsed 1011 : OK
 [exec] Zookeeper_simpleSystem::testPathValidation : elapsed 1032 : OK
 [exec] Zookeeper_simpleSystem::testPing : elapsed 17177 : OK
 [exec] Zookeeper_simpleSystem::testAcl : elapsed 1012 : OK
 [exec] Zookeeper_simpleSystem::testChroot : elapsed 3027 : OK
 [exec] Zookeeper_simpleSystem::testAuth ZooKeeper server started ZooKeeper 
server started : elapsed 31163 : OK
 [exec] Zookeeper_simpleSystem::testHangingClient : elapsed 1021 : OK
 [exec] Zookeeper_simpleSystem::testWatcherAutoResetWithGlobal ZooKeeper 
server started ZooKeeper server started ZooKeeper server started : elapsed 
16729 : OK
 [exec] Zookeeper_simpleSystem::testWatcherAutoResetWithLocal ZooKeeper 
server started ZooKeeper server started ZooKeeper server started : elapsed 
15754 : OK
 [exec] Zookeeper_simpleSystem::testGetChildren2 : elapsed 1024 : OK
 [exec] Zookeeper_simpleSystem::testLastZxid : elapsed 4512 : OK
 [exec] Zookeeper_simpleSystem::testRemoveWatchers ZooKeeper server started 
: elapsed 4736 : OK
 [exec] Zookeeper_readOnly::testReadOnly : elapsed 4338 : OK
 [exec] 
/jenkins/workspace/ZooKeeper_branch35_jdk7/branch-3.5/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] make[1]: *** [check-TESTS] Error 1
 [exec] make: *** [check-am] Error 2
 [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 
`/jenkins/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build/test/test-cppunit'

BUILD FAILED
/jenkins/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build.xml:1494: The 
following error occurred while executing this line:
/jenkins/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build.xml:1454: The 
following error occurred while executing this line:
/jenkins/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build.xml:1464: exec 
returned: 2

Total time: 49 minutes 38 seconds
Build step 'Invoke Ant' marked build as failure
Archiving artifacts
Sending artifact delta relative to ZooKeeper_branch35_jdk7 #397
Archived 2 artifacts
Archive block size is 32768
Received 0 b

[jira] [Commented] (ZOOKEEPER-2279) QuorumPeer loadDataBase() error message is incorrect

2015-09-25 Thread Hudson (JIRA)

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

Hudson commented on ZOOKEEPER-2279:
---

FAILURE: Integrated in ZooKeeper-trunk #2799 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/2799/])
ZOOKEEPER-2279: QuorumPeer loadDataBase() error message is incorrect(Arshad 
Mohammad via rakeshr) (rakeshr: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1705221)
* /zookeeper/trunk/CHANGES.txt
* 
/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java


> QuorumPeer  loadDataBase() error message is incorrect
> -
>
> Key: ZOOKEEPER-2279
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2279
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: quorum
>Affects Versions: 3.5.0, 3.5.1
>Reporter: sunhaitao
>Assignee: Arshad Mohammad
> Fix For: 3.4.7, 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-2279-01.patch
>
>
> in  loadDataBase() method, the below info is incorrect.
>  if (acceptedEpoch < currentEpoch) {
> throw new IOException("The current epoch, " + 
> ZxidUtils.zxidToString(currentEpoch) + " is less than the accepted epoch, " + 
> ZxidUtils.zxidToString(acceptedEpoch));
> }
> It should print:
> Change the message to ("The accepted epoch, " + 
> ZxidUtils.zxidToString(acceptedEpoch) + " is less than the current epoch, " + 
> ZxidUtils.zxidToString(currentEpoch)



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


ZooKeeper-trunk - Build # 2799 - Failure

2015-09-25 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/2799/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 375403 lines...]
[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-09-25 07:33:25,353 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2015-09-25 07:33:25,354 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:30214:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2015-09-25 07:33:25,355 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2015-09-25 07:33:25,355 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2015-09-25 07:33:25,355 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5,name2=Leader]
[junit] 2015-09-25 07:33:25,356 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(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-09-25 07:33:25,356 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled):Leader@613] 
- Shutting down
[junit] 2015-09-25 07:33:25,356 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled):QuorumPeer@]
 - PeerState set to LOOKING
[junit] 2015-09-25 07:33:25,356 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled):QuorumPeer@1093]
 - QuorumPeer main thread exited
[junit] 2015-09-25 07:33:25,356 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5]
[junit] 2015-09-25 07:33:25,356 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5]
[junit] 2015-09-25 07:33:25,356 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.1]
[junit] 2015-09-25 07:33:25,357 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.2]
[junit] 2015-09-25 07:33:25,357 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled):MBeanRegistry@128]
 - Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.3]
[junit] 2015-09-25 07:33:25,356 [myid:] - INFO  
[/127.0.0.1:30216:QuorumCnxManager$Listener@659] - Leaving listener
[junit] 2015-09-25 07:33:25,357 [myid:] - INFO  [main:QuorumUtil@254] - 
Shutting down leader election 
QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled)
[junit] 2015-09-25 07:33:25,358 [myid:] - INFO  [main:QuorumUtil@259] - 
Waiting for QuorumPeer[myid=5](plain=/0:0:0:0:0:0:0:0:30214)(secure=disabled) 
to exit thread
[junit] 2015-09-25 07:33:25,358 [myid:] - INFO  
[main:FourLetterWordMain@84] - connecting to 127.0.0.1 30202
[junit] 2015-09-25 07:33:25,358 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:30202 is no longer accepting client connections
[junit] 2015-09-25 07:33:25,358 [myid:] - INFO  
[main:FourLetterWordMain@84] - connecting to 127.0.0.1 30205
[junit] 2015-09-25 07:33:25,359 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:30205 is no longer accepting client connections
[junit] 2015-09-25 07:33:25,359 [myid:] - INFO  
[main:FourLetterWordMain@84] - connecting to 127.0.0.1 30208
[junit] 2015-09-25 07:33:25,359 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:30208 is no longer accepting client connections
[junit] 2015-09-25 07:33:25,359 [myid:] - INFO  
[main:FourLetterWordMain@84] - connecting to 127.0.0.1 30211
[junit] 2015-09-25 07:33:25,359 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:30211 is no longer accepting client connections
[junit] 2015-09-25 07:33:25,359 [myid:] - INFO  
[main:FourLetterWordMai

[jira] [Commented] (ZOOKEEPER-1803) Add description for pzxid in programmer's guide.

2015-09-25 Thread Hudson (JIRA)

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

Hudson commented on ZOOKEEPER-1803:
---

FAILURE: Integrated in ZooKeeper-trunk #2799 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/2799/])
ZOOKEEPER-1803: Add description for pzxid in programmer's guide(Arshad Mohammad 
via rakeshr) (rakeshr: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1705225)
* /zookeeper/trunk/CHANGES.txt
* 
/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperProgrammers.xml


> Add description for pzxid in programmer's guide.
> 
>
> Key: ZOOKEEPER-1803
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1803
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: documentation
>Reporter: Leader Ni
>Assignee: Arshad Mohammad
> Fix For: 3.4.7, 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-1803-02.patch, zookeeperProgrammers.html.patch
>
>
> The Stat(org.apache.zookeeper.data.Stat) Structures has the filed pzxid, but 
> no document about it in  programmer's 
> guide(http://zookeeper.apache.org/doc/r3.4.3/zookeeperProgrammers.html#sc_zkStatStructure)



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