[jira] [Commented] (ZOOKEEPER-1844) TruncateTest fails on windows

2013-12-21 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13854838#comment-13854838
 ] 

Hadoop QA commented on ZOOKEEPER-1844:
--

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12619849/ZOOKEEPER-1844.patch
  against trunk revision 1552469.

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

This message is automatically generated.

 TruncateTest fails on windows
 -

 Key: ZOOKEEPER-1844
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1844
 Project: ZooKeeper
  Issue Type: Bug
  Components: server
Affects Versions: 3.5.0
 Environment: windows
Reporter: Michi Mutsuzaki
Assignee: Rakesh R
Priority: Critical
 Fix For: 3.5.0

 Attachments: ZOOKEEPER-1844.patch, ZOOKEEPER-1844.patch, 
 ZOOKEEPER-1844.patch, ZOOKEEPER-1844.patch, ZOOKEEPER-1844.patch


 TruncateTest has been failing consistently on windows:
 https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008_java/627/testReport/junit/org.apache.zookeeper.test/TruncateTest/testTruncate/



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


Success: ZOOKEEPER-1844 PreCommit Build #1855

2013-12-21 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1844
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1855/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 267743 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/12619849/ZOOKEEPER-1844.patch
 [exec]   against trunk revision 1552469.
 [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/1855//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1855//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1855//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] 3d10c42f8d098533a114d3b174b7474d01048f4b logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

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



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

[jira] [Created] (ZOOKEEPER-1850) cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu

2013-12-21 Thread JIRA
Germán Blanco created ZOOKEEPER-1850:


 Summary: cppunit test testNonexistingHost in TestZookeeperInit is 
failing on Unbuntu
 Key: ZOOKEEPER-1850
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1850
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.4.6
 Environment: Linux ubuntu 3.8.0-29-generic #42~precise1-Ubuntu
Reporter: Germán Blanco
 Fix For: 3.4.6


This is the error:
TestZookeeperInit.cc:241: Assertion: assertion failed [Expression: zh==0]



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Assigned] (ZOOKEEPER-1850) cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu

2013-12-21 Thread JIRA

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

Germán Blanco reassigned ZOOKEEPER-1850:


Assignee: Germán Blanco

 cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu
 ---

 Key: ZOOKEEPER-1850
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1850
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.4.6, 3.5.0
 Environment: Linux ubuntu 3.8.0-29-generic #42~precise1-Ubuntu
Reporter: Germán Blanco
Assignee: Germán Blanco
 Fix For: 3.4.6, 3.5.0


 This is the error:
 TestZookeeperInit.cc:241: Assertion: assertion failed [Expression: zh==0]



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (ZOOKEEPER-1850) cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu

2013-12-21 Thread JIRA

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

Germán Blanco updated ZOOKEEPER-1850:
-

Fix Version/s: 3.5.0

 cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu
 ---

 Key: ZOOKEEPER-1850
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1850
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.4.6, 3.5.0
 Environment: Linux ubuntu 3.8.0-29-generic #42~precise1-Ubuntu
Reporter: Germán Blanco
Assignee: Germán Blanco
 Fix For: 3.4.6, 3.5.0


 This is the error:
 TestZookeeperInit.cc:241: Assertion: assertion failed [Expression: zh==0]



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (ZOOKEEPER-1850) cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu

2013-12-21 Thread JIRA

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

Germán Blanco updated ZOOKEEPER-1850:
-

Affects Version/s: 3.5.0

 cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu
 ---

 Key: ZOOKEEPER-1850
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1850
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.4.6, 3.5.0
 Environment: Linux ubuntu 3.8.0-29-generic #42~precise1-Ubuntu
Reporter: Germán Blanco
Assignee: Germán Blanco
 Fix For: 3.4.6, 3.5.0


 This is the error:
 TestZookeeperInit.cc:241: Assertion: assertion failed [Expression: zh==0]



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (ZOOKEEPER-1850) cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu

2013-12-21 Thread JIRA

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

Germán Blanco updated ZOOKEEPER-1850:
-

Attachment: ZOOKEEPER-1850.patch

Apparently it is an issue with the DNS of my ISP?
It resolves anything that has subdomains to an IP address, so zookeeper_init 
just tries to connect there.
If I put just a hostname, with no subdomains, then the test case works. This is 
what the patch is doing.
I don't know if anybody else has seen this problem, but just in case ...

 cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu
 ---

 Key: ZOOKEEPER-1850
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1850
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.4.6, 3.5.0
 Environment: Linux ubuntu 3.8.0-29-generic #42~precise1-Ubuntu
Reporter: Germán Blanco
Assignee: Germán Blanco
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1850.patch


 This is the error:
 TestZookeeperInit.cc:241: Assertion: assertion failed [Expression: zh==0]



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


Eclipse Configuration

2013-12-21 Thread Rumesh Eranga
Hi all,

I am Rumesh Eranga and I am new to the project. I downloaded the source and
was looking for eclipse configuration documentation and noticed that the
link on project page[1] is not working. Can someone direct me please?

[1] : https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute#

Thank you


Re: Eclipse Configuration

2013-12-21 Thread Camille Fournier
Run ant eclipse from the root directory, which will set up the necessary
eclipse configs and download dependencies as needed.

C


On Sat, Dec 21, 2013 at 2:09 PM, Rumesh Eranga rehrum...@gmail.com wrote:

 Hi all,

 I am Rumesh Eranga and I am new to the project. I downloaded the source and
 was looking for eclipse configuration documentation and noticed that the
 link on project page[1] is not working. Can someone direct me please?

 [1] :
 https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute#

 Thank you



Re: Eclipse Configuration

2013-12-21 Thread Rumesh Eranga
Thank you. Will do it.


On Sun, Dec 22, 2013 at 12:51 AM, Camille Fournier cami...@apache.orgwrote:

 Run ant eclipse from the root directory, which will set up the necessary
 eclipse configs and download dependencies as needed.

 C


 On Sat, Dec 21, 2013 at 2:09 PM, Rumesh Eranga rehrum...@gmail.com
 wrote:

  Hi all,
 
  I am Rumesh Eranga and I am new to the project. I downloaded the source
 and
  was looking for eclipse configuration documentation and noticed that the
  link on project page[1] is not working. Can someone direct me please?
 
  [1] :
  https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute#
 
  Thank you
 



[jira] [Commented] (ZOOKEEPER-1430) add maven deploy support to the build

2013-12-21 Thread Flavio Junqueira (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13854913#comment-13854913
 ] 

Flavio Junqueira commented on ZOOKEEPER-1430:
-

Thanks, [~phunt], [~gkesavan].

 add maven deploy support to the build
 -

 Key: ZOOKEEPER-1430
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1430
 Project: ZooKeeper
  Issue Type: Task
  Components: build
Affects Versions: 3.4.4, 3.5.0
Reporter: Patrick Hunt
Assignee: Giridharan Kesavan
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1430-3.4.6-v4.patch, 
 ZOOKEEPER-1430-3.4.6-v5.patch, ZOOKEEPER-1430-3.4.6-v6.patch, 
 ZOOKEEPER-1430-3.4.patch, ZOOKEEPER-1430-3.5.0-v4.patch, 
 ZOOKEEPER-1430-3.5.0-v5.patch, ZOOKEEPER-1430-3.5.0-v6.patch, 
 ZOOKEEPER-1430-V1.PATCH, ZOOKEEPER-1430-V2.PATCH, ZOOKEEPER-1430-V3.patch, 
 ZOOKEEPER-1430-br34-V3.patch, ZOOKEEPER-1430.patch, ZOOKEEPER-1430.patch


 Infra is phasing out the current mechanism we use to deploy maven artifacts. 
 We need to move to repository.apache.org (nexus).
 In particular we need to ensure the following artifacts get published:
 * zookeeper-3.x.y.jar
 * zookeeper-3.x.y-sources.jar
 * zookeeper-3.x.y-tests.jar
 * zookeeper-3.x.y-javadoc.jar
 In 3.4.4/3.4.5 we missed the tests jar which caused headaches for downstream 
 users, such as Hadoop.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (ZOOKEEPER-1057) zookeeper c-client, connection to offline server fails to successfully fallback to second zk host

2013-12-21 Thread JIRA

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

Germán Blanco updated ZOOKEEPER-1057:
-

Attachment: ZOOKEEPER-1057.patch

The test is simpler and looks better if integrated into TestClient.cc.
The attached patch can be applied both to trunk and branch 3.4.
With this version, the test case passes for the single threaded version, but 
for the multithreaded version it hangs forever (or at least more than a few 
minutes).

 zookeeper c-client, connection to offline server fails to successfully 
 fallback to second zk host
 -

 Key: ZOOKEEPER-1057
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1057
 Project: ZooKeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.3.1, 3.3.2, 3.3.3
 Environment: snowdutyrise-lm ~/- uname -a
 Darwin snowdutyrise-lm 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 
 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
 also observed on:
 2.6.35-28-server 49-Ubuntu SMP Tue Mar 1 14:55:37 UTC 2011
Reporter: Woody Anderson
Assignee: Michi Mutsuzaki
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1057-b3.4.patch, ZOOKEEPER-1057.patch, 
 ZOOKEEPER-1057.patch, ZOOKEEPER-1057.patch, ZOOKEEPER-1057.patch


 Hello, I'm a contributor for the node.js zookeeper module: 
 https://github.com/yfinkelstein/node-zookeeper
 i'm using zk 3.3.3 for the purposes of this issue, but i have validated it 
 fails on 3.3.1 and 3.3.2
 i'm having an issue when trying to connect when one of my zookeeper servers 
 is offline.
 if the first server attempted is online, all is good.
 if the offline server is attempted first, then the client is never able to 
 connect to _any_ server.
 inside zookeeper.c a connection loss (-4) is received, the socket is closed 
 and buffers are cleaned up, it then attempts the next server in the list, 
 creates a new socket (which gets the same fd as the previously closed socket) 
 and connecting fails, and it continues to fail seemingly forever.
 The nature of this fail is not that it gets -4 connection loss errors, but 
 that zookeeper_interest doesn't find anything going on on the socket before 
 the user provided timeout kicks things out. I don't want to have to wait 5 
 minutes, even if i could make myself.
 this is the message that follows the connection loss:
 2011-04-27 23:18:28,355:13485:ZOO_ERROR@handle_socket_error_msg@1530: Socket 
 [127.0.0.1:5020] zk retcode=-7, errno=60(Operation timed out): connection 
 timed out (exceeded timeout by 3ms)
 2011-04-27 23:18:28,355:13485:ZOO_ERROR@yield@213: yield:zookeeper_interest 
 returned error: -7 - operation timeout
 While investigating, i decided to comment out close(zh-fd) in handle_error 
 (zookeeper.c#1153)
 now everything works (obviously i'm leaking an fd). Connection the the second 
 host works immediately.
 this is the behavior i'm looking for, though i clearly don't want to leak the 
 fd, so i'm wondering why the fd re-use is causing this issue.
 close() is not returning an error (i checked even though current code assumes 
 success).
 i'm on osx 10.6.7
 i tried adding a setsockopt so_linger (though i didn't want that to be a 
 solution), it didn't work.
 full debug traces are included in issue here: 
 https://github.com/yfinkelstein/node-zookeeper/issues/6



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (ZOOKEEPER-1057) zookeeper c-client, connection to offline server fails to successfully fallback to second zk host

2013-12-21 Thread JIRA

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

Germán Blanco updated ZOOKEEPER-1057:
-

Attachment: ZOOKEEPER-1057.patch

The attached patch has a proposed test case that passes both in trunk and 3.4.
It was my mistake, one zookeeper_close too many in the last patch.

 zookeeper c-client, connection to offline server fails to successfully 
 fallback to second zk host
 -

 Key: ZOOKEEPER-1057
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1057
 Project: ZooKeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.3.1, 3.3.2, 3.3.3
 Environment: snowdutyrise-lm ~/- uname -a
 Darwin snowdutyrise-lm 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 
 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
 also observed on:
 2.6.35-28-server 49-Ubuntu SMP Tue Mar 1 14:55:37 UTC 2011
Reporter: Woody Anderson
Assignee: Michi Mutsuzaki
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1057-b3.4.patch, ZOOKEEPER-1057.patch, 
 ZOOKEEPER-1057.patch, ZOOKEEPER-1057.patch, ZOOKEEPER-1057.patch, 
 ZOOKEEPER-1057.patch


 Hello, I'm a contributor for the node.js zookeeper module: 
 https://github.com/yfinkelstein/node-zookeeper
 i'm using zk 3.3.3 for the purposes of this issue, but i have validated it 
 fails on 3.3.1 and 3.3.2
 i'm having an issue when trying to connect when one of my zookeeper servers 
 is offline.
 if the first server attempted is online, all is good.
 if the offline server is attempted first, then the client is never able to 
 connect to _any_ server.
 inside zookeeper.c a connection loss (-4) is received, the socket is closed 
 and buffers are cleaned up, it then attempts the next server in the list, 
 creates a new socket (which gets the same fd as the previously closed socket) 
 and connecting fails, and it continues to fail seemingly forever.
 The nature of this fail is not that it gets -4 connection loss errors, but 
 that zookeeper_interest doesn't find anything going on on the socket before 
 the user provided timeout kicks things out. I don't want to have to wait 5 
 minutes, even if i could make myself.
 this is the message that follows the connection loss:
 2011-04-27 23:18:28,355:13485:ZOO_ERROR@handle_socket_error_msg@1530: Socket 
 [127.0.0.1:5020] zk retcode=-7, errno=60(Operation timed out): connection 
 timed out (exceeded timeout by 3ms)
 2011-04-27 23:18:28,355:13485:ZOO_ERROR@yield@213: yield:zookeeper_interest 
 returned error: -7 - operation timeout
 While investigating, i decided to comment out close(zh-fd) in handle_error 
 (zookeeper.c#1153)
 now everything works (obviously i'm leaking an fd). Connection the the second 
 host works immediately.
 this is the behavior i'm looking for, though i clearly don't want to leak the 
 fd, so i'm wondering why the fd re-use is causing this issue.
 close() is not returning an error (i checked even though current code assumes 
 success).
 i'm on osx 10.6.7
 i tried adding a setsockopt so_linger (though i didn't want that to be a 
 solution), it didn't work.
 full debug traces are included in issue here: 
 https://github.com/yfinkelstein/node-zookeeper/issues/6



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Updated] (ZOOKEEPER-1057) zookeeper c-client, connection to offline server fails to successfully fallback to second zk host

2013-12-21 Thread JIRA

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

Germán Blanco updated ZOOKEEPER-1057:
-

Attachment: ZOOKEEPER-1057.patch

... and now with the deterministic connection order, to make sure it is not 
just luck that it was working.
I am very sorry for the spam, I think I need the holidays.

 zookeeper c-client, connection to offline server fails to successfully 
 fallback to second zk host
 -

 Key: ZOOKEEPER-1057
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1057
 Project: ZooKeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.3.1, 3.3.2, 3.3.3
 Environment: snowdutyrise-lm ~/- uname -a
 Darwin snowdutyrise-lm 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 
 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
 also observed on:
 2.6.35-28-server 49-Ubuntu SMP Tue Mar 1 14:55:37 UTC 2011
Reporter: Woody Anderson
Assignee: Michi Mutsuzaki
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1057-b3.4.patch, ZOOKEEPER-1057.patch, 
 ZOOKEEPER-1057.patch, ZOOKEEPER-1057.patch, ZOOKEEPER-1057.patch, 
 ZOOKEEPER-1057.patch, ZOOKEEPER-1057.patch


 Hello, I'm a contributor for the node.js zookeeper module: 
 https://github.com/yfinkelstein/node-zookeeper
 i'm using zk 3.3.3 for the purposes of this issue, but i have validated it 
 fails on 3.3.1 and 3.3.2
 i'm having an issue when trying to connect when one of my zookeeper servers 
 is offline.
 if the first server attempted is online, all is good.
 if the offline server is attempted first, then the client is never able to 
 connect to _any_ server.
 inside zookeeper.c a connection loss (-4) is received, the socket is closed 
 and buffers are cleaned up, it then attempts the next server in the list, 
 creates a new socket (which gets the same fd as the previously closed socket) 
 and connecting fails, and it continues to fail seemingly forever.
 The nature of this fail is not that it gets -4 connection loss errors, but 
 that zookeeper_interest doesn't find anything going on on the socket before 
 the user provided timeout kicks things out. I don't want to have to wait 5 
 minutes, even if i could make myself.
 this is the message that follows the connection loss:
 2011-04-27 23:18:28,355:13485:ZOO_ERROR@handle_socket_error_msg@1530: Socket 
 [127.0.0.1:5020] zk retcode=-7, errno=60(Operation timed out): connection 
 timed out (exceeded timeout by 3ms)
 2011-04-27 23:18:28,355:13485:ZOO_ERROR@yield@213: yield:zookeeper_interest 
 returned error: -7 - operation timeout
 While investigating, i decided to comment out close(zh-fd) in handle_error 
 (zookeeper.c#1153)
 now everything works (obviously i'm leaking an fd). Connection the the second 
 host works immediately.
 this is the behavior i'm looking for, though i clearly don't want to leak the 
 fd, so i'm wondering why the fd re-use is causing this issue.
 close() is not returning an error (i checked even though current code assumes 
 success).
 i'm on osx 10.6.7
 i tried adding a setsockopt so_linger (though i didn't want that to be a 
 solution), it didn't work.
 full debug traces are included in issue here: 
 https://github.com/yfinkelstein/node-zookeeper/issues/6



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (ZOOKEEPER-1833) fix windows build

2013-12-21 Thread Flavio Junqueira (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13854942#comment-13854942
 ] 

Flavio Junqueira commented on ZOOKEEPER-1833:
-

This is the last blocker for 3.4.6. It would be great if the tests passed on 
the windows 3.4 jenkins queue before we close this issue. I can't access the 
builds.a.o site, though, it sounds like it has been down for the past day or so.

 fix windows build
 -

 Key: ZOOKEEPER-1833
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1833
 Project: ZooKeeper
  Issue Type: Bug
Affects Versions: 3.4.5
Reporter: Michi Mutsuzaki
Assignee: Michi Mutsuzaki
Priority: Blocker
 Fix For: 3.4.6

 Attachments: TEST-org.apache.zookeeper.test.QuorumTest.zip, 
 ZOOKEEPER-1833.patch


 A bunch of 3.4 tests are failing on windows.
 {noformat}
 [junit] 2013-12-06 08:40:59,692 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testEarlyLeaderAbandonment
 [junit] 2013-12-06 08:41:10,472 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testHighestZxidJoinLate
 [junit] 2013-12-06 08:45:31,085 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testUpdatingEpoch
 [junit] 2013-12-06 08:55:34,630 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testObserversHammer
 [junit] 2013-12-06 08:55:59,889 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncExistsFailure_NoNode
 [junit] 2013-12-06 08:56:00,571 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetACL
 [junit] 2013-12-06 08:56:02,626 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetChildrenEmpty
 [junit] 2013-12-06 08:56:03,491 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetChildrenSingle
 [junit] 2013-12-06 08:56:11,276 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetChildrenTwo
 [junit] 2013-12-06 08:56:13,878 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetChildrenFailure_NoNode
 [junit] 2013-12-06 08:56:16,294 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetChildren2Empty
 [junit] 2013-12-06 08:56:18,622 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetChildren2Single
 [junit] 2013-12-06 08:56:21,224 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetChildren2Two
 [junit] 2013-12-06 08:56:23,738 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetChildren2Failure_NoNode
 [junit] 2013-12-06 08:56:26,058 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetData
 [junit] 2013-12-06 08:56:28,482 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testAsyncGetDataFailure_NoNode
 [junit] 2013-12-06 08:57:35,527 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testStartupFailureCreate
 [junit] 2013-12-06 08:57:38,645 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testStartupFailureSet
 [junit] 2013-12-06 08:57:41,261 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testStartupFailureSnapshot
 [junit] 2013-12-06 08:59:22,222 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testClientWithWatcherObj
 [junit] 2013-12-06 09:00:05,592 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testClientCleanup
 [junit] 2013-12-06 09:01:24,113 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testBindByAddress
 [junit] 2013-12-06 09:02:14,123 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testClientwithoutWatcherObj
 [junit] 2013-12-06 09:05:56,461 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testZeroWeightQuorum
 [junit] 2013-12-06 09:08:18,747 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testResyncByDiffAfterFollowerCrashes
 [junit] 2013-12-06 09:09:42,271 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testFourLetterWords
 [junit] 2013-12-06 09:14:03,770 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testLE
 [junit] 2013-12-06 09:46:30,002 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testHierarchicalQuorum
 [junit] 2013-12-06 09:50:26,912 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testHammerBasic
 [junit] 2013-12-06 09:51:07,604 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testQuotaWithQuorum
 [junit] 2013-12-06 09:52:41,515 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testNull
 [junit] 2013-12-06 09:53:22,648 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testDeleteWithChildren
 [junit] 2013-12-06 09:56:49,061 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testClientwithoutWatcherObj
 [junit] 2013-12-06 09:58:27,705 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testGetView
 [junit] 2013-12-06 09:59:07,856 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testViewContains
 [junit] 2013-12-06 10:01:31,418 [myid:] - INFO  [main:ZKTestCase$1@65] - 
 FAILED testSessionMoved
 

ZooKeeper_branch34_jdk7 - Build # 421 - Failure

2013-12-21 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk7/421/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 411 lines...]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.tmatesoft.svn.core.SVNException: svn: E175002: OPTIONS 
/repos/asf/zookeeper/branches/branch-3.4 failed
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:388)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:373)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:361)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:707)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1020)
at 
org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:180)
at 
org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getRevisionNumber(SVNBasicDelegate.java:480)
at 
org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getLocations(SVNBasicDelegate.java:833)
at 
org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:527)
at 
org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doCheckout(SVNUpdateClient16.java:875)
at 
org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:19)
at 
org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:8)
at 
org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
at 
org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1238)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
at 
org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:777)
at 
hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:99)
... 17 more
Caused by: svn: E175002: OPTIONS /repos/asf/zookeeper/branches/branch-3.4 failed
at 
org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:208)
at 
org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:154)
at 
org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:97)
... 36 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: E175002: OPTIONS request 
failed on '/repos/asf/zookeeper/branches/branch-3.4'
svn: E175002: timed out waiting for server
at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:777)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:382)
... 35 more
Caused by: svn: E175002: OPTIONS request failed on 
'/repos/asf/zookeeper/branches/branch-3.4'
at 
org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:208)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:775)
... 36 more
Caused by: svn: E175002: timed out waiting for server
at 
org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:208)
at 
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:514)
... 36 more
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
at java.net.Socket.connect(Socket.java:546)
at 
org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
... 5 more
Recording test results
Email was triggered for: Failure
Sending email for 

[jira] [Commented] (ZOOKEEPER-1849) Need to properly tear down tests in various cases

2013-12-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13855002#comment-13855002
 ] 

Hudson commented on ZOOKEEPER-1849:
---

SUCCESS: Integrated in ZooKeeper-trunk #2161 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/2161/])
ZOOKEEPER-1849. Need to properly tear down tests in various cases
  (Germán Blanco via fpj) (fpj: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1552946)
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/JUnit4ZKTestRunner.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/server/CRCTest.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ACLCountTest.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ACLTest.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ClientPortBindTest.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/InvalidSnapshotTest.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/LoadFromLogTest.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/MaxCnxnsTest.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/OOMTest.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/PurgeTxnTest.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/RecoveryTest.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/RepeatStartupTest.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/RestoreCommittedLogTest.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/SessionTest.java


 Need to properly tear down tests in various cases
 -

 Key: ZOOKEEPER-1849
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1849
 Project: ZooKeeper
  Issue Type: Sub-task
  Components: tests
Affects Versions: 3.4.5, 3.5.0
Reporter: Germán Blanco
Assignee: Germán Blanco
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1849.patch, ZOOKEEPER-1849.patch, 
 ZOOKEEPER-1849.patch






--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


ZooKeeper-3.4-WinVS2008_java - Build # 386 - Still Failing

2013-12-21 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-3.4-WinVS2008_java/386/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 248548 lines...]
[junit] 2013-12-22 00:22:45,000 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2013-12-22 00:22:45,000 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2013-12-22 00:22:45,317 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@968] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:11221. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2013-12-22 00:22:45,402 [myid:] - INFO  [main:JMXEnv@135] - 
ensureOnly:[]
[junit] 2013-12-22 00:22:45,403 [myid:] - INFO  [main:ClientBase@413] - 
STARTING server
[junit] 2013-12-22 00:22:45,403 [myid:] - INFO  [main:ZooKeeperServer@162] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
f:\hudson\hudson-slave\workspace\ZooKeeper-3.4-WinVS2008_java\branch-3.4\build\test\tmp\test6372837154595377150.junit.dir\version-2
 snapdir 
f:\hudson\hudson-slave\workspace\ZooKeeper-3.4-WinVS2008_java\branch-3.4\build\test\tmp\test6372837154595377150.junit.dir\version-2
[junit] 2013-12-22 00:22:45,404 [myid:] - INFO  
[main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-12-22 00:22:45,408 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-12-22 00:22:45,408 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:60243
[junit] 2013-12-22 00:22:45,409 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:60243
[junit] 2013-12-22 00:22:45,409 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2013-12-22 00:22:45,409 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1007] - Closed socket connection for client 
/127.0.0.1:60243 (no session established for client)
[junit] 2013-12-22 00:22:45,410 [myid:] - INFO  [main:JMXEnv@135] - 
ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] 2013-12-22 00:22:45,411 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-12-22 00:22:45,411 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-12-22 00:22:45,411 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-12-22 00:22:45,411 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-12-22 00:22:45,414 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@55] - Memory used 10746
[junit] 2013-12-22 00:22:45,414 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@60] - Number of threads 19
[junit] 2013-12-22 00:22:45,414 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@65] - FINISHED TEST METHOD testQuota
[junit] 2013-12-22 00:22:45,414 [myid:] - INFO  [main:ClientBase@450] - 
tearDown starting
[junit] 2013-12-22 00:22:45,803 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@849] - Socket 
connection established to 127.0.0.1/127.0.0.1:11221, initiating session
[junit] 2013-12-22 00:22:45,803 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:60240
[junit] 2013-12-22 00:22:45,803 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:ZooKeeperServer@861] - Client 
attempting to renew session 0x14317aeb8e4 at /127.0.0.1:60240
[junit] 2013-12-22 00:22:45,804 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:ZooKeeperServer@617] - Established 
session 0x14317aeb8e4 with negotiated timeout 3 for client 
/127.0.0.1:60240
[junit] 2013-12-22 00:22:45,804 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@1228] - Session 
establishment complete on server 127.0.0.1/127.0.0.1:11221, sessionid = 
0x14317aeb8e4, negotiated timeout = 3
[junit] 2013-12-22 00:22:45,805 [myid:] - INFO  [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@494] - Processed session termination for 
sessionid: 0x14317aeb8e4
[junit] 2013-12-22 00:22:45,805 [myid:] - INFO  
[SyncThread:0:FileTxnLog@199] - Creating new log file: log.c
[junit] 2013-12-22 00:22:45,815 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x14317aeb8e4 closed
[junit] 2013-12-22 00:22:45,815 [myid:] - INFO  [main:ClientBase@420] - 
STOPPING server
[junit] 2013-12-22 00:22:45,816 [myid:] - WARN  

Success: ZOOKEEPER-1057 PreCommit Build #1856

2013-12-21 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1057
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1856/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 305855 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/12619990/ZOOKEEPER-1057.patch
 [exec]   against trunk revision 1552946.
 [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/1856//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1856//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1856//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] 22a166b302d4e6d83d8627e74568cdfac529f267 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

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



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

[jira] [Commented] (ZOOKEEPER-1057) zookeeper c-client, connection to offline server fails to successfully fallback to second zk host

2013-12-21 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13855011#comment-13855011
 ] 

Hadoop QA commented on ZOOKEEPER-1057:
--

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12619990/ZOOKEEPER-1057.patch
  against trunk revision 1552946.

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

This message is automatically generated.

 zookeeper c-client, connection to offline server fails to successfully 
 fallback to second zk host
 -

 Key: ZOOKEEPER-1057
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1057
 Project: ZooKeeper
  Issue Type: Bug
  Components: c client
Affects Versions: 3.3.1, 3.3.2, 3.3.3
 Environment: snowdutyrise-lm ~/- uname -a
 Darwin snowdutyrise-lm 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 
 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
 also observed on:
 2.6.35-28-server 49-Ubuntu SMP Tue Mar 1 14:55:37 UTC 2011
Reporter: Woody Anderson
Assignee: Michi Mutsuzaki
Priority: Blocker
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1057-b3.4.patch, ZOOKEEPER-1057.patch, 
 ZOOKEEPER-1057.patch, ZOOKEEPER-1057.patch, ZOOKEEPER-1057.patch, 
 ZOOKEEPER-1057.patch, ZOOKEEPER-1057.patch


 Hello, I'm a contributor for the node.js zookeeper module: 
 https://github.com/yfinkelstein/node-zookeeper
 i'm using zk 3.3.3 for the purposes of this issue, but i have validated it 
 fails on 3.3.1 and 3.3.2
 i'm having an issue when trying to connect when one of my zookeeper servers 
 is offline.
 if the first server attempted is online, all is good.
 if the offline server is attempted first, then the client is never able to 
 connect to _any_ server.
 inside zookeeper.c a connection loss (-4) is received, the socket is closed 
 and buffers are cleaned up, it then attempts the next server in the list, 
 creates a new socket (which gets the same fd as the previously closed socket) 
 and connecting fails, and it continues to fail seemingly forever.
 The nature of this fail is not that it gets -4 connection loss errors, but 
 that zookeeper_interest doesn't find anything going on on the socket before 
 the user provided timeout kicks things out. I don't want to have to wait 5 
 minutes, even if i could make myself.
 this is the message that follows the connection loss:
 2011-04-27 23:18:28,355:13485:ZOO_ERROR@handle_socket_error_msg@1530: Socket 
 [127.0.0.1:5020] zk retcode=-7, errno=60(Operation timed out): connection 
 timed out (exceeded timeout by 3ms)
 2011-04-27 23:18:28,355:13485:ZOO_ERROR@yield@213: yield:zookeeper_interest 
 returned error: -7 - operation timeout
 While investigating, i decided to comment out close(zh-fd) in handle_error 
 (zookeeper.c#1153)
 now everything works (obviously i'm leaking an fd). Connection the the second 
 host works immediately.
 this is the behavior i'm looking for, though i clearly don't want to leak the 
 fd, so i'm wondering why the fd re-use is causing this issue.
 close() is not returning an error (i checked even though current code assumes 
 success).
 i'm on osx 10.6.7
 i tried adding a setsockopt so_linger (though i didn't want that to be a 
 solution), it didn't work.
 full debug traces are included in issue here: 
 https://github.com/yfinkelstein/node-zookeeper/issues/6



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


ZooKeeper-trunk-WinVS2008_java - Build # 632 - Still Failing

2013-12-21 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008_java/632/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 234609 lines...]
[junit] 2013-12-22 01:07:15,000 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@134] - SessionTrackerImpl exited loop!
[junit] 2013-12-22 01:07:15,001 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@134] - SessionTrackerImpl exited loop!
[junit] 2013-12-22 01:07:15,260 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@1008] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:11221. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2013-12-22 01:07:15,816 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[]
[junit] 2013-12-22 01:07:15,817 [myid:] - INFO  [main:ClientBase@414] - 
STARTING server
[junit] 2013-12-22 01:07:15,817 [myid:] - INFO  [main:ZooKeeperServer@149] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008_java\trunk\build\test\tmp\test9120644734487376510.junit.dir\version-2
 snapdir 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008_java\trunk\build\test\tmp\test9120644734487376510.junit.dir\version-2
[junit] 2013-12-22 01:07:15,818 [myid:] - INFO  
[main:NIOServerCnxnFactory@670] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 1 selector thread(s), 4 worker threads, and 64 
kB direct buffers.
[junit] 2013-12-22 01:07:15,819 [myid:] - INFO  
[main:NIOServerCnxnFactory@683] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-12-22 01:07:15,820 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008_java\trunk\build\test\tmp\test9120644734487376510.junit.dir\version-2\snapshot.b
[junit] 2013-12-22 01:07:15,823 [myid:] - INFO  [main:FileTxnSnapLog@297] - 
Snapshotting: 0xb to 
f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008_java\trunk\build\test\tmp\test9120644734487376510.junit.dir\version-2\snapshot.b
[junit] 2013-12-22 01:07:15,824 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-12-22 01:07:15,825 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:53843
[junit] 2013-12-22 01:07:15,826 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@835] - Processing stat command from 
/127.0.0.1:53843
[junit] 2013-12-22 01:07:15,826 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn$StatCommand@684] - Stat command output
[junit] 2013-12-22 01:07:15,826 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@1006] - Closed socket connection for client 
/127.0.0.1:53843 (no session established for client)
[junit] 2013-12-22 01:07:15,827 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] 2013-12-22 01:07:15,828 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-12-22 01:07:15,828 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-12-22 01:07:15,828 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-12-22 01:07:15,829 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-12-22 01:07:15,829 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@55] - Memory used 12797
[junit] 2013-12-22 01:07:15,829 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@60] - Number of threads 22
[junit] 2013-12-22 01:07:15,829 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@65] - FINISHED TEST METHOD testQuota
[junit] 2013-12-22 01:07:15,829 [myid:] - INFO  [main:ClientBase@451] - 
tearDown starting
[junit] 2013-12-22 01:07:16,256 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@882] - Socket 
connection established to 127.0.0.1/127.0.0.1:11221, initiating session
[junit] 2013-12-22 01:07:16,256 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:53838
[junit] 2013-12-22 01:07:16,257 [myid:] - INFO  
[NIOWorkerThread-2:ZooKeeperServer@858] - Client attempting to renew session 
0x14317d775a5 at /127.0.0.1:53838
[junit] 2013-12-22 01:07:16,258 [myid:] - INFO  
[NIOWorkerThread-2:ZooKeeperServer@604] - Established session 0x14317d775a5 
with negotiated timeout 3 for client /127.0.0.1:53838
[junit] 2013-12-22 01:07:16,258 [myid:] - INFO  
[main-SendThread(127.0.0.1:11221):ClientCnxn$SendThread@1261] - 

Success: ZOOKEEPER-1850 PreCommit Build #1857

2013-12-21 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1850
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1857/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 282563 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/12619981/ZOOKEEPER-1850.patch
 [exec]   against trunk revision 1552946.
 [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/1857//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1857//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1857//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] cd9242573d32a704489646f0b478f73787ec0f75 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

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



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

[jira] [Commented] (ZOOKEEPER-1850) cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu

2013-12-21 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13855047#comment-13855047
 ] 

Hadoop QA commented on ZOOKEEPER-1850:
--

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12619981/ZOOKEEPER-1850.patch
  against trunk revision 1552946.

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

This message is automatically generated.

 cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu
 ---

 Key: ZOOKEEPER-1850
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1850
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.4.6, 3.5.0
 Environment: Linux ubuntu 3.8.0-29-generic #42~precise1-Ubuntu
Reporter: Germán Blanco
Assignee: Germán Blanco
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1850.patch


 This is the error:
 TestZookeeperInit.cc:241: Assertion: assertion failed [Expression: zh==0]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


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

2013-12-21 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/767/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 210657 lines...]
[junit] 2013-12-22 01:26:09,897 [myid:] - INFO  
[main:SessionTrackerImpl@183] - Shutting down
[junit] 2013-12-22 01:26:09,897 [myid:] - INFO  
[main:PrepRequestProcessor@972] - Shutting down
[junit] 2013-12-22 01:26:09,898 [myid:] - INFO  
[main:SyncRequestProcessor@190] - Shutting down
[junit] 2013-12-22 01:26:09,898 [myid:] - INFO  [ProcessThread(sid:0 
cport:-1)::PrepRequestProcessor@156] - PrepRequestProcessor exited loop!
[junit] 2013-12-22 01:26:09,898 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@168] - SyncRequestProcessor exited!
[junit] 2013-12-22 01:26:09,898 [myid:] - INFO  
[main:FinalRequestProcessor@442] - shutdown of request processor complete
[junit] 2013-12-22 01:26:09,899 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-12-22 01:26:09,899 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[]
[junit] 2013-12-22 01:26:09,900 [myid:] - INFO  [main:ClientBase@414] - 
STARTING server
[junit] 2013-12-22 01:26:09,900 [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/test5053045652578283732.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test5053045652578283732.junit.dir/version-2
[junit] 2013-12-22 01:26:09,901 [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-12-22 01:26:09,901 [myid:] - INFO  
[main:NIOServerCnxnFactory@683] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2013-12-22 01:26:09,902 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test5053045652578283732.junit.dir/version-2/snapshot.b
[junit] 2013-12-22 01:26:09,905 [myid:] - INFO  [main:FileTxnSnapLog@297] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test5053045652578283732.junit.dir/version-2/snapshot.b
[junit] 2013-12-22 01:26:09,906 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2013-12-22 01:26:09,906 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:34426
[junit] 2013-12-22 01:26:09,907 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@835] - Processing stat command from 
/127.0.0.1:34426
[junit] 2013-12-22 01:26:09,907 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn$StatCommand@684] - Stat command output
[junit] 2013-12-22 01:26:09,908 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@1006] - Closed socket connection for client 
/127.0.0.1:34426 (no session established for client)
[junit] 2013-12-22 01:26:09,908 [myid:] - INFO  [main:JMXEnv@133] - 
ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] 2013-12-22 01:26:09,909 [myid:] - INFO  [main:JMXEnv@105] - 
expect:InMemoryDataTree
[junit] 2013-12-22 01:26:09,909 [myid:] - INFO  [main:JMXEnv@108] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] 2013-12-22 01:26:09,909 [myid:] - INFO  [main:JMXEnv@105] - 
expect:StandaloneServer_port
[junit] 2013-12-22 01:26:09,909 [myid:] - INFO  [main:JMXEnv@108] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2013-12-22 01:26:09,910 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@55] - Memory used 13346
[junit] 2013-12-22 01:26:09,910 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@60] - Number of threads 24
[junit] 2013-12-22 01:26:09,910 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@65] - FINISHED TEST METHOD testQuota
[junit] 2013-12-22 01:26:09,910 [myid:] - INFO  [main:ClientBase@451] - 
tearDown starting
[junit] 2013-12-22 01:26:09,982 [myid:] - INFO  [main:ZooKeeper@777] - 
Session: 0x14317e8ce39 closed
[junit] 2013-12-22 01:26:09,982 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down
[junit] 2013-12-22 01:26:09,982 [myid:] - INFO  [main:ClientBase@421] - 
STOPPING server
[junit] 2013-12-22 01:26:09,982 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@219]
 - 

[jira] [Commented] (ZOOKEEPER-1850) cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu

2013-12-21 Thread Raul Gutierrez Segales (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13855078#comment-13855078
 ] 

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

I wonder if under some setups ¨thisisanonexistinghost would be resolved by 
virtue of wildcard configs (http://en.wikipedia.org/wiki/Wildcard_DNS_record). 
I wonder if it would be worthwhile to stub out DNS queries. Thoughts?

 cppunit test testNonexistingHost in TestZookeeperInit is failing on Unbuntu
 ---

 Key: ZOOKEEPER-1850
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1850
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.4.6, 3.5.0
 Environment: Linux ubuntu 3.8.0-29-generic #42~precise1-Ubuntu
Reporter: Germán Blanco
Assignee: Germán Blanco
 Fix For: 3.4.6, 3.5.0

 Attachments: ZOOKEEPER-1850.patch


 This is the error:
 TestZookeeperInit.cc:241: Assertion: assertion failed [Expression: zh==0]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (ZOOKEEPER-1844) TruncateTest fails on windows

2013-12-21 Thread Rakesh R (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13855109#comment-13855109
 ] 

Rakesh R commented on ZOOKEEPER-1844:
-

 Hi Michi/Flavio/Patrick,

Could you please review the latest patch. I feel this should go to 3.4 branch 
as well, shall I mark fix for 3.4 and move this to the sub-task of 
ZOOKEEPER-1833. If you agree, I'll upload the patch for 3.4 branch version, 
once I get a +1 for the trunk patch.

 TruncateTest fails on windows
 -

 Key: ZOOKEEPER-1844
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1844
 Project: ZooKeeper
  Issue Type: Bug
  Components: server
Affects Versions: 3.5.0
 Environment: windows
Reporter: Michi Mutsuzaki
Assignee: Rakesh R
Priority: Critical
 Fix For: 3.5.0

 Attachments: ZOOKEEPER-1844.patch, ZOOKEEPER-1844.patch, 
 ZOOKEEPER-1844.patch, ZOOKEEPER-1844.patch, ZOOKEEPER-1844.patch


 TruncateTest has been failing consistently on windows:
 https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008_java/627/testReport/junit/org.apache.zookeeper.test/TruncateTest/testTruncate/



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)