[jira] [Commented] (ZOOKEEPER-1750) Race condition producing NPE in NIOServerCnxn.toString

2013-09-09 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-1750:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12602296/0003-ZOOKEEPER-1750-branch-3_4.patch
  against trunk revision 1521308.

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 3 new or modified tests.

-1 patch.  The patch command could not apply the patch.

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

This message is automatically generated.

> Race condition producing NPE in NIOServerCnxn.toString
> --
>
> Key: ZOOKEEPER-1750
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1750
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.5.0
>Reporter: Helen Hastings
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.5.0
>
> Attachments: 0001-ZOOKEEPER-1750-trunk-version.patch, 
> 0002-ZOOKEEPER-1750-trunk-version.patch, 0003-ZOOKEEPER-1750-branch-3_4.patch
>
>
> The socket is closed and the variable "sock" is set to null for normal 
> reasons, but the toString method is called before "sock" can be set again, 
> producing a NullPointerException.
> Stack trace: 
> 2013-08-29 01:49:19,991 6277 [CommitProcWorkThread-3] WARN 
> org.apache.zookeeper.server.WorkerService  - Unexpected exception
> java.lang.NullPointerException
> at 
> org.apach.zookeeper.server.NIOServerCnxn.toString(NIOServerCnxn.java:961)
> at java.lang.String.valueOf(String.java:2854)
> at java.lang.StringBuilder.append(StringBuilder.java:128)
> at 
> org.apache.zookeeper.server.NIOServerCnxn.process(NIOServerCnxn.java:1104)
> at 
> org.apache.zookeeper.server.WatchManager.triggerWatch(WatchManager.java:120)
> at 
> org.apache.zookeeper.server.WatchManager.triggerWatch(WatchManager.java:92)
> at org.apache.zookeeper.server.DataTree.createNode(DataTree.java:544)
> at org.apache.zookeeper.server.DataTree.processTxn(DataTree.java:805)
> at org.apache.zookeeper.server.ZKDatabase.processTxn(ZKDatabase.java:319)
> at 
> org.apache.zookeeper.server.ZooKeeperServer.processTxn(ZooKeeperServer.java:967)
> at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:115)
> at 
> org.apache.zookeeper.server.quorum.Leader$ToBeAppliedRequestProcessor.processRequest(Leader.java:859)
> at 
> org.apache.zookeeper.server.quorum.CommitProcessor$CommitWorkRequest.doWork(CommitProcessor.java:271)
> at 
> org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:152)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Failed: ZOOKEEPER-1750 PreCommit Build #1571

2013-09-09 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1750
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1571/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 69 lines...]
 [exec] 
 [exec] patching file 
src/java/main/org/apache/zookeeper/server/NIOServerCnxn.java
 [exec] Hunk #1 FAILED at 60.
 [exec] Hunk #2 FAILED at 132.
 [exec] Hunk #3 FAILED at 206.
 [exec] Hunk #4 FAILED at 990.
 [exec] Hunk #5 FAILED at 1039.
 [exec] Hunk #6 FAILED at 1136.
 [exec] 6 out of 6 hunks FAILED -- saving rejects to file 
src/java/main/org/apache/zookeeper/server/NIOServerCnxn.java.rej
 [exec] patching file 
src/java/test/org/apache/zookeeper/server/NIOServerCnxnTest.java
 [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/12602296/0003-ZOOKEEPER-1750-branch-3_4.patch
 [exec]   against trunk revision 1521308.
 [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 patch.  The patch command could not apply the patch.
 [exec] 
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1571//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] 512532270c95bdc1cfd7b157f0c1903cee9ae8af 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:1623:
 exec returned: 1

Total time: 48 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results
Description set: ZOOKEEPER-1750
Email was triggered for: Failure
Sending email for trigger: Failure



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

[jira] [Updated] (ZOOKEEPER-1750) Race condition producing NPE in NIOServerCnxn.toString

2013-09-09 Thread Rakesh R (JIRA)

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

Rakesh R updated ZOOKEEPER-1750:


Attachment: 0003-ZOOKEEPER-1750-branch-3_4.patch

Updated patch for 3.4 version. Please have a look at it.

> Race condition producing NPE in NIOServerCnxn.toString
> --
>
> Key: ZOOKEEPER-1750
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1750
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.5.0
>Reporter: Helen Hastings
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.5.0
>
> Attachments: 0001-ZOOKEEPER-1750-trunk-version.patch, 
> 0002-ZOOKEEPER-1750-trunk-version.patch, 0003-ZOOKEEPER-1750-branch-3_4.patch
>
>
> The socket is closed and the variable "sock" is set to null for normal 
> reasons, but the toString method is called before "sock" can be set again, 
> producing a NullPointerException.
> Stack trace: 
> 2013-08-29 01:49:19,991 6277 [CommitProcWorkThread-3] WARN 
> org.apache.zookeeper.server.WorkerService  - Unexpected exception
> java.lang.NullPointerException
> at 
> org.apach.zookeeper.server.NIOServerCnxn.toString(NIOServerCnxn.java:961)
> at java.lang.String.valueOf(String.java:2854)
> at java.lang.StringBuilder.append(StringBuilder.java:128)
> at 
> org.apache.zookeeper.server.NIOServerCnxn.process(NIOServerCnxn.java:1104)
> at 
> org.apache.zookeeper.server.WatchManager.triggerWatch(WatchManager.java:120)
> at 
> org.apache.zookeeper.server.WatchManager.triggerWatch(WatchManager.java:92)
> at org.apache.zookeeper.server.DataTree.createNode(DataTree.java:544)
> at org.apache.zookeeper.server.DataTree.processTxn(DataTree.java:805)
> at org.apache.zookeeper.server.ZKDatabase.processTxn(ZKDatabase.java:319)
> at 
> org.apache.zookeeper.server.ZooKeeperServer.processTxn(ZooKeeperServer.java:967)
> at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:115)
> at 
> org.apache.zookeeper.server.quorum.Leader$ToBeAppliedRequestProcessor.processRequest(Leader.java:859)
> at 
> org.apache.zookeeper.server.quorum.CommitProcessor$CommitWorkRequest.doWork(CommitProcessor.java:271)
> at 
> org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:152)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (ZOOKEEPER-1750) Race condition producing NPE in NIOServerCnxn.toString

2013-09-09 Thread Rakesh R (JIRA)

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

Rakesh R commented on ZOOKEEPER-1750:
-

Thanks [~michi009] for the interest.
Hi, I think there is potential problem in the test case assertion which I done 
in the patch.
{code}
String cnxnStr = serverCnxn.toString();
serverCnxn.close();
Assert.assertEquals("Connection mismatches!", cnxnStr,
serverCnxn.toString());
{code}

NIOServerCnxn#toString is using 'sock.socket().getRemoteSocketAddress()' and  
this api is returning 'null' randomly. I think we should change it like:

{code}
try {
serverCnxn.toString();
} catch (Exception e) {
Assert.fail("Shouldn't throw exception while getting 
connection details");
}
{code}

I could see its committed in trunk version. Could you please help to change 
this, otw it may leads random failures. Whats the approach to do the necessary 
changes?

> Race condition producing NPE in NIOServerCnxn.toString
> --
>
> Key: ZOOKEEPER-1750
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1750
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.5.0
>Reporter: Helen Hastings
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.5.0
>
> Attachments: 0001-ZOOKEEPER-1750-trunk-version.patch, 
> 0002-ZOOKEEPER-1750-trunk-version.patch
>
>
> The socket is closed and the variable "sock" is set to null for normal 
> reasons, but the toString method is called before "sock" can be set again, 
> producing a NullPointerException.
> Stack trace: 
> 2013-08-29 01:49:19,991 6277 [CommitProcWorkThread-3] WARN 
> org.apache.zookeeper.server.WorkerService  - Unexpected exception
> java.lang.NullPointerException
> at 
> org.apach.zookeeper.server.NIOServerCnxn.toString(NIOServerCnxn.java:961)
> at java.lang.String.valueOf(String.java:2854)
> at java.lang.StringBuilder.append(StringBuilder.java:128)
> at 
> org.apache.zookeeper.server.NIOServerCnxn.process(NIOServerCnxn.java:1104)
> at 
> org.apache.zookeeper.server.WatchManager.triggerWatch(WatchManager.java:120)
> at 
> org.apache.zookeeper.server.WatchManager.triggerWatch(WatchManager.java:92)
> at org.apache.zookeeper.server.DataTree.createNode(DataTree.java:544)
> at org.apache.zookeeper.server.DataTree.processTxn(DataTree.java:805)
> at org.apache.zookeeper.server.ZKDatabase.processTxn(ZKDatabase.java:319)
> at 
> org.apache.zookeeper.server.ZooKeeperServer.processTxn(ZooKeeperServer.java:967)
> at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:115)
> at 
> org.apache.zookeeper.server.quorum.Leader$ToBeAppliedRequestProcessor.processRequest(Leader.java:859)
> at 
> org.apache.zookeeper.server.quorum.CommitProcessor$CommitWorkRequest.doWork(CommitProcessor.java:271)
> at 
> org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:152)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (ZOOKEEPER-1147) Add support for local sessions

2013-09-09 Thread Raul Gutierrez Segales (JIRA)

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

Raul Gutierrez Segales commented on ZOOKEEPER-1147:
---

ping? any progress to get this merged?

> Add support for local sessions
> --
>
> Key: ZOOKEEPER-1147
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1147
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 3.3.3
>Reporter: Vishal Kathuria
>Assignee: Thawan Kooburat
>  Labels: api-change, scaling
> Fix For: 3.5.0
>
> Attachments: ZOOKEEPER-1147.patch, ZOOKEEPER-1147.patch, 
> ZOOKEEPER-1147.patch, ZOOKEEPER-1147.patch, ZOOKEEPER-1147.patch, 
> ZOOKEEPER-1147.patch, ZOOKEEPER-1147.patch, ZOOKEEPER-1147.patch
>
>   Original Estimate: 840h
>  Remaining Estimate: 840h
>
> This improvement is in the bucket of making ZooKeeper work at a large scale. 
> We are planning on having about a 1 million clients connect to a ZooKeeper 
> ensemble through a set of 50-100 observers. Majority of these clients are 
> read only - ie they do not do any updates or create ephemeral nodes.
> In ZooKeeper today, the client creates a session and the session creation is 
> handled like any other update. In the above use case, the session create/drop 
> workload can easily overwhelm an ensemble. The following is a proposal for a 
> "local session", to support a larger number of connections.
> 1.   The idea is to introduce a new type of session - "local" session. A 
> "local" session doesn't have a full functionality of a normal session.
> 2.   Local sessions cannot create ephemeral nodes.
> 3.   Once a local session is lost, you cannot re-establish it using the 
> session-id/password. The session and its watches are gone for good.
> 4.   When a local session connects, the session info is only maintained 
> on the zookeeper server (in this case, an observer) that it is connected to. 
> The leader is not aware of the creation of such a session and there is no 
> state written to disk.
> 5.   The pings and expiration is handled by the server that the session 
> is connected to.
> With the above changes, we can make ZooKeeper scale to a much larger number 
> of clients without making the core ensemble a bottleneck.
> In terms of API, there are two options that are being considered
> 1. Let the client specify at the connect time which kind of session do they 
> want.
> 2. All sessions connect as local sessions and automatically get promoted to 
> global sessions when they do an operation that requires a global session 
> (e.g. creating an ephemeral node)
> Chubby took the approach of lazily promoting all sessions to global, but I 
> don't think that would work in our case, where we want to keep sessions which 
> never create ephemeral nodes as always local. Option 2 would make it more 
> broadly usable but option 1 would be easier to implement.
> We are thinking of implementing option 1 as the first cut. There would be a 
> client flag, IsLocalSession (much like the current readOnly flag) that would 
> be used to determine whether to create a local session or a global session.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Board report draft

2013-09-09 Thread Flavio Junqueira
Please send me comments if you have any:

=== ZooKeeper Board Report - September 2013

ZooKeeper is a reliable coordination service for distributed
applications.

Trunk is under development for an eventual 3.5.0 release. A couple of 
important improvements on the way for 3.5.0:

- One important new feature in 3.5.0 will be the ability to reconfigure a 
ZooKeeper ensemble. This feature was discussed a long time in 
ZOOKEEPER-107 and we have finally converged and committed it;
- We are also focusing on a number of improvements over the code that
performs recovery. In particular, we are targeting an implementation that
avoids sending and taking unnecessary snapshots, which reduces time
to recover in the presence of crashes.

There are other various patches we are working on related code cleanup
and refactoring.

The status of releases hasn't changed since the last board report. 3.5.0 release
date is not defined yet.  Our focus is on scalability, jdk7 and openjdk 
support, 
maven build/rel, testing and audit logging.

A bug fix release 3.4.6 is also expected to go out, but given the low traffic
of reviews and patches committed, it is unclear when it will happen.

Community:

Mailing list activity is moderate and the number of patch reviews
and commits has dropped significantly. 

* 10 active committers representing 8 unique organizations.
*  9 active PMC members representing 7 unique organizations.
* xxx subscribers on dev (up from 387 last quarter).
* xxx subscribers on user (up from 816 last quarter).
- Patrick Hunt gave a talk at Airbnb 
(https://www.airbnb.co.uk/meetups/9j9ykz5je-tech-talk-patrick-hunt)

[jira] [Commented] (ZOOKEEPER-1750) Race condition producing NPE in NIOServerCnxn.toString

2013-09-09 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki commented on ZOOKEEPER-1750:


+1 Thanks Rakesh.

This patch doesn't apply to branch-3.4. Rakesh, could you generate a separate 
patch for branch-3.4?

> Race condition producing NPE in NIOServerCnxn.toString
> --
>
> Key: ZOOKEEPER-1750
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1750
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.5.0
>Reporter: Helen Hastings
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.5.0
>
> Attachments: 0001-ZOOKEEPER-1750-trunk-version.patch, 
> 0002-ZOOKEEPER-1750-trunk-version.patch
>
>
> The socket is closed and the variable "sock" is set to null for normal 
> reasons, but the toString method is called before "sock" can be set again, 
> producing a NullPointerException.
> Stack trace: 
> 2013-08-29 01:49:19,991 6277 [CommitProcWorkThread-3] WARN 
> org.apache.zookeeper.server.WorkerService  - Unexpected exception
> java.lang.NullPointerException
> at 
> org.apach.zookeeper.server.NIOServerCnxn.toString(NIOServerCnxn.java:961)
> at java.lang.String.valueOf(String.java:2854)
> at java.lang.StringBuilder.append(StringBuilder.java:128)
> at 
> org.apache.zookeeper.server.NIOServerCnxn.process(NIOServerCnxn.java:1104)
> at 
> org.apache.zookeeper.server.WatchManager.triggerWatch(WatchManager.java:120)
> at 
> org.apache.zookeeper.server.WatchManager.triggerWatch(WatchManager.java:92)
> at org.apache.zookeeper.server.DataTree.createNode(DataTree.java:544)
> at org.apache.zookeeper.server.DataTree.processTxn(DataTree.java:805)
> at org.apache.zookeeper.server.ZKDatabase.processTxn(ZKDatabase.java:319)
> at 
> org.apache.zookeeper.server.ZooKeeperServer.processTxn(ZooKeeperServer.java:967)
> at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:115)
> at 
> org.apache.zookeeper.server.quorum.Leader$ToBeAppliedRequestProcessor.processRequest(Leader.java:859)
> at 
> org.apache.zookeeper.server.quorum.CommitProcessor$CommitWorkRequest.doWork(CommitProcessor.java:271)
> at 
> org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:152)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (ZOOKEEPER-1750) Race condition producing NPE in NIOServerCnxn.toString

2013-09-09 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-1750:
--

+1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12602090/0002-ZOOKEEPER-1750-trunk-version.patch
  against trunk revision 1520436.

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

This message is automatically generated.

> Race condition producing NPE in NIOServerCnxn.toString
> --
>
> Key: ZOOKEEPER-1750
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1750
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.5.0
>Reporter: Helen Hastings
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.5.0
>
> Attachments: 0001-ZOOKEEPER-1750-trunk-version.patch, 
> 0002-ZOOKEEPER-1750-trunk-version.patch
>
>
> The socket is closed and the variable "sock" is set to null for normal 
> reasons, but the toString method is called before "sock" can be set again, 
> producing a NullPointerException.
> Stack trace: 
> 2013-08-29 01:49:19,991 6277 [CommitProcWorkThread-3] WARN 
> org.apache.zookeeper.server.WorkerService  - Unexpected exception
> java.lang.NullPointerException
> at 
> org.apach.zookeeper.server.NIOServerCnxn.toString(NIOServerCnxn.java:961)
> at java.lang.String.valueOf(String.java:2854)
> at java.lang.StringBuilder.append(StringBuilder.java:128)
> at 
> org.apache.zookeeper.server.NIOServerCnxn.process(NIOServerCnxn.java:1104)
> at 
> org.apache.zookeeper.server.WatchManager.triggerWatch(WatchManager.java:120)
> at 
> org.apache.zookeeper.server.WatchManager.triggerWatch(WatchManager.java:92)
> at org.apache.zookeeper.server.DataTree.createNode(DataTree.java:544)
> at org.apache.zookeeper.server.DataTree.processTxn(DataTree.java:805)
> at org.apache.zookeeper.server.ZKDatabase.processTxn(ZKDatabase.java:319)
> at 
> org.apache.zookeeper.server.ZooKeeperServer.processTxn(ZooKeeperServer.java:967)
> at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:115)
> at 
> org.apache.zookeeper.server.quorum.Leader$ToBeAppliedRequestProcessor.processRequest(Leader.java:859)
> at 
> org.apache.zookeeper.server.quorum.CommitProcessor$CommitWorkRequest.doWork(CommitProcessor.java:271)
> at 
> org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:152)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Success: ZOOKEEPER-1750 PreCommit Build #1570

2013-09-09 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1750
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1570/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 281067 lines...]
 [exec] BUILD SUCCESSFUL
 [exec] Total time: 0 seconds
 [exec] 
 [exec] 
 [exec] 
 [exec] 
 [exec] +1 overall.  Here are the results of testing the latest attachment 
 [exec]   
http://issues.apache.org/jira/secure/attachment/12602090/0002-ZOOKEEPER-1750-trunk-version.patch
 [exec]   against trunk revision 1520436.
 [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 1.3.9) 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/1570//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1570//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1570//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] 8410ac6fad0c59efdd40a1065a2b897df140b657 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

BUILD SUCCESSFUL
Total time: 31 minutes 2 seconds
Archiving artifacts
Recording test results
Description set: ZOOKEEPER-1750
Email was triggered for: Success
Sending email for trigger: Success



###
## FAILED TESTS (if any) 
##
All tests passed

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

2013-09-09 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/665/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 195149 lines...]
[junit] 2013-09-09 09:09:31,750 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2013-09-09 09:09:31,751 [myid:] - INFO  [main:ZooKeeperServer@422] 
- shutting down
[junit] 2013-09-09 09:09:31,751 [myid:] - INFO  
[main:SessionTrackerImpl@180] - Shutting down
[junit] 2013-09-09 09:09:31,751 [myid:] - INFO  
[main:PrepRequestProcessor@929] - Shutting down
[junit] 2013-09-09 09:09:31,751 [myid:] - INFO  
[main:SyncRequestProcessor@175] - Shutting down
[junit] 2013-09-09 09:09:31,751 [myid:] - INFO  [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@156] - PrepRequestProcessor exited loop!
[junit] 2013-09-09 09:09:31,752 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@155] - SyncRequestProcessor exited!
[junit] 2013-09-09 09:09:31,752 [myid:] - INFO  
[main:FinalRequestProcessor@427] - shutdown of request processor complete
[junit] 2013-09-09 09:09:31,752 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-09-09 09:09:31,753 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[]
[junit] 2013-09-09 09:09:31,754 [myid:] - INFO  [main:ClientBase@414] - 
STARTING server
[junit] 2013-09-09 09:09:31,754 [myid:] - INFO  [main:ZooKeeperServer@149] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test8990800421419146646.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test8990800421419146646.junit.dir/version-2
[junit] 2013-09-09 09:09:31,755 [myid:] - INFO  
[main:NIOServerCnxnFactory@670] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2013-09-09 09:09:31,755 [myid:] - INFO  
[main:NIOServerCnxnFactory@683] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-09-09 09:09:31,756 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test8990800421419146646.junit.dir/version-2/snapshot.b
[junit] 2013-09-09 09:09:31,759 [myid:] - INFO  [main:FileTxnSnapLog@297] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test8990800421419146646.junit.dir/version-2/snapshot.b
[junit] 2013-09-09 09:09:31,761 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-09-09 09:09:31,761 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:62055
[junit] 2013-09-09 09:09:31,762 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@829] - Processing stat command from 
/127.0.0.1:62055
[junit] 2013-09-09 09:09:31,763 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn$StatCommand@678] - Stat command output
[junit] 2013-09-09 09:09:31,763 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@1000] - Closed socket connection for client 
/127.0.0.1:62055 (no session established for client)
[junit] 2013-09-09 09:09:31,763 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] 2013-09-09 09:09:31,765 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-09-09 09:09:31,765 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-09-09 09:09:31,765 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-09-09 09:09:31,765 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-09-09 09:09:31,766 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@57] - FINISHED TEST METHOD testQuota
[junit] 2013-09-09 09:09:31,766 [myid:] - INFO  [main:ClientBase@451] - 
tearDown starting
[junit] 2013-09-09 09:09:31,837 [myid:] - INFO  [main:ZooKeeper@777] - 
Session: 0x14101fb9e76 closed
[junit] 2013-09-09 09:09:31,837 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down
[junit] 2013-09-09 09:09:31,838 [myid:] - INFO  [main:ClientBase@421] - 
STOPPING server
[junit] 2013-09-09 09:09:31,838 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$

ZooKeeper_branch33_solaris - Build # 641 - Still Failing

2013-09-09 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch33_solaris/641/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 107346 lines...]
[junit] 2013-09-09 07:09:00,962 - INFO  [main:ZooKeeperServer@154] - 
Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test5902711569247368128.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test5902711569247368128.junit.dir/version-2
[junit] 2013-09-09 07:09:00,963 - INFO  [main:NIOServerCnxn$Factory@143] - 
binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-09-09 07:09:00,965 - INFO  [main:FileSnap@82] - Reading 
snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test5902711569247368128.junit.dir/version-2/snapshot.0
[junit] 2013-09-09 07:09:00,968 - INFO  [main:FileTxnSnapLog@256] - 
Snapshotting: b
[junit] 2013-09-09 07:09:00,970 - INFO  [main:FourLetterWordMain@43] - 
connecting to 127.0.0.1 11221
[junit] 2013-09-09 07:09:00,971 - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn$Factory@251] - 
Accepted socket connection from /127.0.0.1:43854
[junit] 2013-09-09 07:09:00,971 - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@1237] - Processing 
stat command from /127.0.0.1:43854
[junit] 2013-09-09 07:09:00,972 - INFO  
[Thread-4:NIOServerCnxn$StatCommand@1153] - Stat command output
[junit] 2013-09-09 07:09:00,973 - INFO  [Thread-4:NIOServerCnxn@1435] - 
Closed socket connection for client /127.0.0.1:43854 (no session established 
for client)
[junit] ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] expect:InMemoryDataTree
[junit] found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] expect:StandaloneServer_port
[junit] found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-09-09 07:09:00,975 - INFO  [main:ClientBase@408] - STOPPING 
server
[junit] 2013-09-09 07:09:00,976 - INFO  
[ProcessThread:-1:PrepRequestProcessor@128] - PrepRequestProcessor exited loop!
[junit] 2013-09-09 07:09:00,976 - INFO  
[SyncThread:0:SyncRequestProcessor@151] - SyncRequestProcessor exited!
[junit] 2013-09-09 07:09:00,977 - INFO  [main:FinalRequestProcessor@370] - 
shutdown of request processor complete
[junit] 2013-09-09 07:09:00,978 - INFO  [main:FourLetterWordMain@43] - 
connecting to 127.0.0.1 11221
[junit] ensureOnly:[]
[junit] 2013-09-09 07:09:00,980 - INFO  [main:ClientBase@401] - STARTING 
server
[junit] 2013-09-09 07:09:00,980 - INFO  [main:ZooKeeperServer@154] - 
Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test5902711569247368128.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test5902711569247368128.junit.dir/version-2
[junit] 2013-09-09 07:09:00,981 - INFO  [main:NIOServerCnxn$Factory@143] - 
binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-09-09 07:09:00,982 - INFO  [main:FileSnap@82] - Reading 
snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch33_solaris/trunk/build/test/tmp/test5902711569247368128.junit.dir/version-2/snapshot.b
[junit] 2013-09-09 07:09:00,985 - INFO  [main:FileTxnSnapLog@256] - 
Snapshotting: b
[junit] 2013-09-09 07:09:00,987 - INFO  [main:FourLetterWordMain@43] - 
connecting to 127.0.0.1 11221
[junit] 2013-09-09 07:09:00,988 - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn$Factory@251] - 
Accepted socket connection from /127.0.0.1:43856
[junit] 2013-09-09 07:09:00,989 - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@1237] - Processing 
stat command from /127.0.0.1:43856
[junit] 2013-09-09 07:09:00,989 - INFO  
[Thread-5:NIOServerCnxn$StatCommand@1153] - Stat command output
[junit] 2013-09-09 07:09:00,990 - INFO  [Thread-5:NIOServerCnxn@1435] - 
Closed socket connection for client /127.0.0.1:43856 (no session established 
for client)
[junit] ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] expect:InMemoryDataTree
[junit] found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] expect:StandaloneServer_port
[junit] found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-09-09 07:09:00,992 - INFO  [main:Clie