ZooKeeper_branch34_solaris - Build # 1276 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch34_solaris/1276/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 176088 lines...] [junit] 2016-09-03 05:50:02,157 [myid:] - INFO [main:ZooKeeperServer@497] - shutting down [junit] 2016-09-03 05:50:02,157 [myid:] - ERROR [main:ZooKeeperServer@472] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2016-09-03 05:50:02,157 [myid:] - INFO [main:SessionTrackerImpl@225] - Shutting down [junit] 2016-09-03 05:50:02,157 [myid:] - INFO [main:PrepRequestProcessor@765] - Shutting down [junit] 2016-09-03 05:50:02,158 [myid:] - INFO [main:SyncRequestProcessor@208] - Shutting down [junit] 2016-09-03 05:50:02,158 [myid:] - INFO [ProcessThread(sid:0 cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop! [junit] 2016-09-03 05:50:02,158 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited! [junit] 2016-09-03 05:50:02,158 [myid:] - INFO [main:FinalRequestProcessor@402] - shutdown of request processor complete [junit] 2016-09-03 05:50:02,158 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-09-03 05:50:02,159 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-09-03 05:50:02,160 [myid:] - INFO [main:ClientBase@445] - STARTING server [junit] 2016-09-03 05:50:02,160 [myid:] - INFO [main:ClientBase@366] - CREATING server instance 127.0.0.1:11221 [junit] 2016-09-03 05:50:02,160 [myid:] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221 [junit] 2016-09-03 05:50:02,160 [myid:] - INFO [main:ClientBase@341] - STARTING server instance 127.0.0.1:11221 [junit] 2016-09-03 05:50:02,161 [myid:] - INFO [main:ZooKeeperServer@173] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/trunk/build/test/tmp/test1673394933260106950.junit.dir/version-2 snapdir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/trunk/build/test/tmp/test1673394933260106950.junit.dir/version-2 [junit] 2016-09-03 05:50:02,163 [myid:] - ERROR [main:ZooKeeperServer@472] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2016-09-03 05:50:02,163 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-09-03 05:50:02,164 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - Accepted socket connection from /127.0.0.1:40569 [junit] 2016-09-03 05:50:02,164 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing stat command from /127.0.0.1:40569 [junit] 2016-09-03 05:50:02,164 [myid:] - INFO [Thread-5:NIOServerCnxn$StatCommand@663] - Stat command output [junit] 2016-09-03 05:50:02,165 [myid:] - INFO [Thread-5:NIOServerCnxn@1008] - Closed socket connection for client /127.0.0.1:40569 (no session established for client) [junit] 2016-09-03 05:50:02,165 [myid:] - INFO [main:JMXEnv@229] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-09-03 05:50:02,166 [myid:] - INFO [main:JMXEnv@246] - expect:InMemoryDataTree [junit] 2016-09-03 05:50:02,166 [myid:] - INFO [main:JMXEnv@250] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree [junit] 2016-09-03 05:50:02,166 [myid:] - INFO [main:JMXEnv@246] - expect:StandaloneServer_port [junit] 2016-09-03 05:50:02,166 [myid:] - INFO [main:JMXEnv@250] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2016-09-03 05:50:02,167 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 9207 [junit] 2016-09-03 05:50:02,167 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20 [junit] 2016-09-03 05:50:02,167 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota [junit] 2016-09-03 05:50:02,167 [myid:] - INFO [main:ClientBase@522] - tearDown starting [junit] 2016-09-03 05:50:02,252 [myid:] - INFO [main:ZooKeeper@684] - Session: 0x156ee98b8b1 closed [junit] 2016-09-03 05:50:02,252 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for session: 0x156ee98b8b1 [junit] 2016-09-03 05:50:02,252 [myid:] - INFO [main:ClientBase@492] - STOPPING server [junit] 2016-09-03 05:50:02,252 [myid:] - INFO [main:ZooKeeperServer@497] - shutting down [junit] 2016-09-03
Fwd: Please add your release data for 'zookeeper'
Hi PMC members, It would be really great if one of you could help me with this part of the release process, since I am not a PMC member. Thank you! Rakesh On Sat, Sep 3, 2016 at 10:05 AM, Apache Reporter Service < no-re...@reporter.apache.org> wrote: > Hi, > This is an automated email from reporter.apache.org. > I see that you just pushed something to our release repository for the > 'zookeeper' project > in the following commit: > > r15148 at 2016-09-03 04:28:07 + (Sat, 03 Sep 2016) > Add ZooKeeper 3.4.9 release > > If you are a PMC member of this project, we ask that you log on to: > https://reporter.apache.org/addrelease.html?zookeeper > and add your release data (version and date) to the database. > > If you are not a PMC member, please have a PMC member add this information. > > While this is not a requirement, we ask that you still add this data to the > reporter database, so that people using the Apache Reporter Service will be > able to see the latest release data for this project. > > Also, please ensure that you remove [1] any older releases. > > With regards, > The Apache Reporter Service. > > [1] http://www.apache.org/dev/release.html#when-to-archive > >
Re: [VOTE] Apache ZooKeeper release 3.4.9 candidate 2
With 3 +1 binding votes (the necessary 3 from PMC), 3 +1 non binding votes (including my own) and no -1's the vote carries, the vote for candidate 2 passes. I'll work on publishing the release to the web site. Thanks all for checking the release. Rakesh On Thu, Sep 1, 2016 at 8:26 PM, Flavio Junqueirawrote: > +1 (binding) > > - Built from source > - Checked NOTICE and LICENSE > - Checked digests and signature > - Ran tests and some simple smoke tests > - Checked release notes > - Ran rat and couldn't spot any problem in the report > - Tested that a maven project resolves the dependency fine with the > staging repo > > -Flavio > > > On 01 Sep 2016, at 05:50, Chris Nauroth > wrote: > > > > +1 (binding) > > > > -Downloaded tarball and verified signature and checksums. > > -Verified content of LICENSE.txt and NOTICE.txt. > > -Verified correct version information in src/c/include/winconfig.h. > > -All unit tests passed. > > > > Rakesh, thank you for your hard work on this release. > > > > --Chris Nauroth > > > > On 8/23/16, 2:24 AM, "Rakesh Radhakrishnan" wrote: > > > >This is the third release candidate for 3.4.9. This candidate removes > the > >extra *.asc files found in the > >second candidate. > > > >This is a bugfix release candidate for 3.4.9. It fixes 21 issues, > including > >issues that affect ACL cache > >in DataTree never removes entries, prevent multiple init of login > object in > >each ZKSaslClient instance, > >ZK service becomes unavailable when leader fails to write transaction > log, > >upgrade netty version due > >to security vulnerability (CVE-2014-3488) and others. > > > >The full release notes are available at: > > > >https://issues.apache.org/jira/secure/ReleaseNote.jspa? > projectId=12310801=12334700 > > > >*** Please download, test and vote by August 30th 2016, 23:59 UTC+0. > *** > > > >Source files: > >http://people.apache.org/~rakeshr/zookeeper-3.4.9-candidate-2 > > > >Maven staging repo: > >https://repository.apache.org/content/groups/staging/org/ > apache/zookeeper/zookeeper/3.4.9 > > > >The tag to be voted upon: > >https://svn.apache.org/repos/asf/zookeeper/tags/release-3.4.9-rc2 > > > >ZooKeeper's KEYS file containing PGP keys we use to sign the release: > >http://www.apache.org/dist/zookeeper/KEYS > > > >Should we release this candidate? > > > >Thanks, > >Rakesh > > > > > >
Failed: ZOOKEEPER-2548 PreCommit Build #3388
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2548 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3388/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 402001 lines...] [exec] Also please list what manual steps were performed to verify this patch. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3388//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3388//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3388//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] e0dd5900edf95c297d40d6c7d826ea6c3b9d7944 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:1605: exec returned: 2 Total time: 14 minutes 46 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Compressed 559.16 KB of artifacts by 40.1% relative to #3386 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2548 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## 1 tests failed. FAILED: org.apache.zookeeper.test.LETest.testLE Error Message: Threads didn't join Stack Trace: junit.framework.AssertionFailedError: Threads didn't join at org.apache.zookeeper.test.LETest.testLE(LETest.java:123) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
[jira] [Commented] (ZOOKEEPER-2548) zooInspector does not start on Windows
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459606#comment-15459606 ] Hadoop QA commented on ZOOKEEPER-2548: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12826927/ZOOKEEPER-2548-01.patch against trunk revision 1757584. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3388//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3388//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3388//console This message is automatically generated. > zooInspector does not start on Windows > -- > > Key: ZOOKEEPER-2548 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2548 > Project: ZooKeeper > Issue Type: Bug > Components: contrib >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2548-01.patch > > > ZooInspector is very usefully tool but seems its windows scripts are not > maintained. > zooInspector.cmd commands fails with bellow error: > {noformat} > D:\workspace\ZooInspector>zooInspector.cmd > D:\workspace\ZooInspector>#!/bin/sh > '#!' is not recognized as an internal or external command, > operable program or batch file. > D:\workspace\ZooInspector># Licensed to the Apache Software Foundation (ASF) > under one or more > '#' is not recognized as an internal or external command, > operable program or batch file. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2548) zooInspector does not start on Windows
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated ZOOKEEPER-2548: --- Component/s: contrib > zooInspector does not start on Windows > -- > > Key: ZOOKEEPER-2548 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2548 > Project: ZooKeeper > Issue Type: Bug > Components: contrib >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2548-01.patch > > > ZooInspector is very usefully tool but seems its windows scripts are not > maintained. > zooInspector.cmd commands fails with bellow error: > {noformat} > D:\workspace\ZooInspector>zooInspector.cmd > D:\workspace\ZooInspector>#!/bin/sh > '#!' is not recognized as an internal or external command, > operable program or batch file. > D:\workspace\ZooInspector># Licensed to the Apache Software Foundation (ASF) > under one or more > '#' is not recognized as an internal or external command, > operable program or batch file. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2548) zooInspector does not start on Windows
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459568#comment-15459568 ] Arshad Mohammad commented on ZOOKEEPER-2548: Submitting the fix > zooInspector does not start on Windows > -- > > Key: ZOOKEEPER-2548 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2548 > Project: ZooKeeper > Issue Type: Bug >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2548-01.patch > > > ZooInspector is very usefully tool but seems its windows scripts are not > maintained. > zooInspector.cmd commands fails with bellow error: > {noformat} > D:\workspace\ZooInspector>zooInspector.cmd > D:\workspace\ZooInspector>#!/bin/sh > '#!' is not recognized as an internal or external command, > operable program or batch file. > D:\workspace\ZooInspector># Licensed to the Apache Software Foundation (ASF) > under one or more > '#' is not recognized as an internal or external command, > operable program or batch file. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2548) zooInspector does not start on Windows
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated ZOOKEEPER-2548: --- Attachment: ZOOKEEPER-2548-01.patch > zooInspector does not start on Windows > -- > > Key: ZOOKEEPER-2548 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2548 > Project: ZooKeeper > Issue Type: Bug >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Attachments: ZOOKEEPER-2548-01.patch > > > ZooInspector is very usefully tool but seems its windows scripts are not > maintained. > zooInspector.cmd commands fails with bellow error: > {noformat} > D:\workspace\ZooInspector>zooInspector.cmd > D:\workspace\ZooInspector>#!/bin/sh > '#!' is not recognized as an internal or external command, > operable program or batch file. > D:\workspace\ZooInspector># Licensed to the Apache Software Foundation (ASF) > under one or more > '#' is not recognized as an internal or external command, > operable program or batch file. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (ZOOKEEPER-2517) jute.maxbuffer is ignored
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459520#comment-15459520 ] Edward Ribeiro edited comment on ZOOKEEPER-2517 at 9/2/16 8:34 PM: --- Hi [~arshad.mohammad], A few comments: {code} String value = getProperty(key); if (value == null) { return defaultValue; } else { try { return Integer.parseInt(value); } catch (NumberFormatException e) { if (LOG.isDebugEnabled()) { LOG.debug("Configured value {} for property {} can not be parsed to int. Using default value {}.", value, key, defaultValue); } } } return defaultValue; {code} can be rewritten as: {code} String value = getProperty(key); if (value != null && value.trim().length() > 0) { try { return Integer.parseInt(value); } catch (NumberFormatException e) { LOG.warn("Configured value {} for property {} can not be parsed to int. Using default value {}.", value, key, defaultValue); } } return defaultValue; {code} Also, I think a parser error of a parameter can be more insidious and dangerous bug to relegate it to debug only logging. I think it should be at least {{LOG.WARN}}. wdyt? Finally, I don't like the name of the unit test: {{testGetInt}}. I think it's a bit vague so a more verbose, but clear name would be nice. Maybe {{testIntegerRetrievalFromProperty}} or something else... I no good with naming, btw. Best regards! was (Author: eribeiro): Hi [~arshad.mohammad], A few comments: {code} String value = getProperty(key); if (value == null) { return defaultValue; } else { try { return Integer.parseInt(value); } catch (NumberFormatException e) { if (LOG.isDebugEnabled()) { LOG.debug("Configured value {} for property {} can not be parsed to int. Using default value {}.", value, key, defaultValue); } } } return defaultValue; {code} can be rewritten as: {code} String value = getProperty(key); if (value != null && value.trim().length > 0) { try { return Integer.parseInt(value); } catch (NumberFormatException e) { LOG.warn("Configured value {} for property {} can not be parsed to int. Using default value {}.", value, key, defaultValue); } } return defaultValue; {code} Also, I think a parser error of a parameter can be more insidious and dangerous bug to relegate it to debug only logging. I think it should be at least {{LOG.WARN}}. wdyt? Finally, I don't like the name of the unit test: {{testGetInt}}. I think it's a bit vague so a more verbose, but clear name would be nice. Maybe {{testIntegerRetrievalFromProperty}} or something else... I no good with naming, btw. Best regards! > jute.maxbuffer is ignored > - > > Key: ZOOKEEPER-2517 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2517 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.2 >Reporter: Benjamin Jaton >Assignee: Arshad Mohammad >Priority: Critical > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2517-01.patch, ZOOKEEPER-2517.patch > > > In ClientCnxnSocket.java the parsing of the system property is erroneous: > {code}packetLen = Integer.getInteger( > clientConfig.getProperty(ZKConfig.JUTE_MAXBUFFER), > ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT > );{code} > Javadoc of Integer.getInteger states "The first argument is treated as the > name of a system property", whereas here the value of the property is passed. > Instead I believe the author meant to write something like: > {code}packetLen = Integer.parseInt( > clientConfig.getProperty( > ZKConfig.JUTE_MAXBUFFER, > String.valueOf(ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT) > ) > );{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (ZOOKEEPER-2517) jute.maxbuffer is ignored
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459520#comment-15459520 ] Edward Ribeiro edited comment on ZOOKEEPER-2517 at 9/2/16 8:32 PM: --- Hi [~arshad.mohammad], A few comments: {code} String value = getProperty(key); if (value == null) { return defaultValue; } else { try { return Integer.parseInt(value); } catch (NumberFormatException e) { if (LOG.isDebugEnabled()) { LOG.debug("Configured value {} for property {} can not be parsed to int. Using default value {}.", value, key, defaultValue); } } } return defaultValue; {code} can be rewritten as: {code} String value = getProperty(key); if (value != null && value.trim().length > 0) { try { return Integer.parseInt(value); } catch (NumberFormatException e) { LOG.warn("Configured value {} for property {} can not be parsed to int. Using default value {}.", value, key, defaultValue); } } return defaultValue; {code} Also, I think a parser error of a parameter can be more insidious and dangerous bug to relegate it to debug only logging. I think it should be at least {{LOG.WARN}}. wdyt? Finally, I don't like the name of the unit test: {{testGetInt}}. I think it's a bit vague so a more verbose, but clear name would be nice. Maybe {{testIntegerRetrievalFromProperty}} or something else... I no good with naming, btw. Best regards! was (Author: eribeiro): Hi [~arshad.mohammad], A few comments: {code} String value = getProperty(key); if (value == null) { return defaultValue; } else { try { return Integer.parseInt(value); } catch (NumberFormatException e) { if (LOG.isDebugEnabled()) { LOG.debug("Configured value {} for property {} can not be parsed to int. Using default value {}.", value, key, defaultValue); } } } return defaultValue; {code} can be rewritten as: {code} String value = getProperty(key); if (value != null) { try { return Integer.parseInt(value); } catch (NumberFormatException e) { if (LOG.isDebugEnabled()) { LOG.debug("Configured value {} for property {} can not be parsed to int. Using default value {}.", value, key, defaultValue); } } } return defaultValue; {code} Also, I think a parser error of a parameter can be more insidious and dangerous bug to relegate it to debug only logging. I think it should be at least {{LOG.WARN}}. wdyt? Finally, I don't like the name of the unit test: {{testGetInt}}. I think it's a bit vague so a more verbose, but clear name would be nice. Maybe {{testIntegerRetrievalFromProperty}} or something else... I no good with naming, btw. Best regards! > jute.maxbuffer is ignored > - > > Key: ZOOKEEPER-2517 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2517 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.2 >Reporter: Benjamin Jaton >Assignee: Arshad Mohammad >Priority: Critical > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2517-01.patch, ZOOKEEPER-2517.patch > > > In ClientCnxnSocket.java the parsing of the system property is erroneous: > {code}packetLen = Integer.getInteger( > clientConfig.getProperty(ZKConfig.JUTE_MAXBUFFER), > ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT > );{code} > Javadoc of Integer.getInteger states "The first argument is treated as the > name of a system property", whereas here the value of the property is passed. > Instead I believe the author meant to write something like: > {code}packetLen = Integer.parseInt( > clientConfig.getProperty( > ZKConfig.JUTE_MAXBUFFER, > String.valueOf(ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT) > ) > );{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2517) jute.maxbuffer is ignored
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459520#comment-15459520 ] Edward Ribeiro commented on ZOOKEEPER-2517: --- Hi [~arshad.mohammad], A few comments: {code} String value = getProperty(key); if (value == null) { return defaultValue; } else { try { return Integer.parseInt(value); } catch (NumberFormatException e) { if (LOG.isDebugEnabled()) { LOG.debug("Configured value {} for property {} can not be parsed to int. Using default value {}.", value, key, defaultValue); } } } return defaultValue; {code} can be rewritten as: {code} String value = getProperty(key); if (value != null) { try { return Integer.parseInt(value); } catch (NumberFormatException e) { if (LOG.isDebugEnabled()) { LOG.debug("Configured value {} for property {} can not be parsed to int. Using default value {}.", value, key, defaultValue); } } } return defaultValue; {code} Also, I think a parser error of a parameter can be more insidious and dangerous bug to relegate it to debug only logging. I think it should be at least {{LOG.WARN}}. wdyt? Finally, I don't like the name of the unit test: {{testGetInt}}. I think it's a bit vague so a more verbose, but clear name would be nice. Maybe {{testIntegerRetrievalFromProperty}} or something else... I no good with naming, btw. Best regards! > jute.maxbuffer is ignored > - > > Key: ZOOKEEPER-2517 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2517 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.2 >Reporter: Benjamin Jaton >Assignee: Arshad Mohammad >Priority: Critical > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2517-01.patch, ZOOKEEPER-2517.patch > > > In ClientCnxnSocket.java the parsing of the system property is erroneous: > {code}packetLen = Integer.getInteger( > clientConfig.getProperty(ZKConfig.JUTE_MAXBUFFER), > ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT > );{code} > Javadoc of Integer.getInteger states "The first argument is treated as the > name of a system property", whereas here the value of the property is passed. > Instead I believe the author meant to write something like: > {code}packetLen = Integer.parseInt( > clientConfig.getProperty( > ZKConfig.JUTE_MAXBUFFER, > String.valueOf(ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT) > ) > );{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2547) IP ACL is not working with NettyServerCnxnFactory
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459499#comment-15459499 ] Edward Ribeiro commented on ZOOKEEPER-2547: --- Nice catch [~arshad.mohammad]! A few comments: in the snippet below you can use the diamond operator -- {{ArrayList<>()}} -- and use {{InetAddress.getLocalHost().getAddress().toString()}} instead of a fixed String ({{127.0.0.1/8}}), right? {quote} List acls = new ArrayList(); acls.add(new ACL(ZooDefs.Perms.ALL, new Id("ip", "127.0.0.1/8"))); {quote} Also, what do you think about adding a second unit test (or pair of to account for both Netty and NIO) that fails with an invalid address, for example? > IP ACL is not working with NettyServerCnxnFactory > - > > Key: ZOOKEEPER-2547 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2547 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.0 >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2547-01.patch > > > IP based ACL is not working with NettyServerCnxnFactory. > Scenario: > 1) Configure serverCnxnFactory= > org.apache.zookeeper.server.NettyServerCnxnFactory and start ZooKeeper server > 2) Create a znode "/n" with ACL(ZooDefs.Perms.ALL, new Id("ip", > "127.0.0.1/8") > 3) Create child node /n/n1. Child node creation fails. > But the same above scenario works with NIOServerCnxnFactory -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (ZOOKEEPER-2548) zooInspector does not start on Windows
Arshad Mohammad created ZOOKEEPER-2548: -- Summary: zooInspector does not start on Windows Key: ZOOKEEPER-2548 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2548 Project: ZooKeeper Issue Type: Bug Reporter: Arshad Mohammad Assignee: Arshad Mohammad ZooInspector is very usefully tool but seems its windows scripts are not maintained. zooInspector.cmd commands fails with bellow error: {noformat} D:\workspace\ZooInspector>zooInspector.cmd D:\workspace\ZooInspector>#!/bin/sh '#!' is not recognized as an internal or external command, operable program or batch file. D:\workspace\ZooInspector># Licensed to the Apache Software Foundation (ASF) under one or more '#' is not recognized as an internal or external command, operable program or batch file. {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2547) IP ACL is not working with NettyServerCnxnFactory
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459462#comment-15459462 ] Arshad Mohammad commented on ZOOKEEPER-2547: In the submitted patch, I added client IP as the default authorized id. This is the exactly same is being done when we use NIOServerCnxnFactory > IP ACL is not working with NettyServerCnxnFactory > - > > Key: ZOOKEEPER-2547 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2547 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.0 >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2547-01.patch > > > IP based ACL is not working with NettyServerCnxnFactory. > Scenario: > 1) Configure serverCnxnFactory= > org.apache.zookeeper.server.NettyServerCnxnFactory and start ZooKeeper server > 2) Create a znode "/n" with ACL(ZooDefs.Perms.ALL, new Id("ip", > "127.0.0.1/8") > 3) Create child node /n/n1. Child node creation fails. > But the same above scenario works with NIOServerCnxnFactory -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Failed: ZOOKEEPER-2517 PreCommit Build #3387
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2517 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3387/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 417844 lines...] [exec] +1 tests included. The patch appears to include 3 new or modified tests. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3387//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3387//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3387//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] 14bc0582a2b75dc7a195c13dff1729f8bbd32a5a 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:1605: exec returned: 1 Total time: 15 minutes 27 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Compressed 559.16 KB of artifacts by 28.6% relative to #3386 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2517 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## 1 tests failed. FAILED: org.apache.zookeeper.test.LETest.testLE Error Message: Threads didn't join Stack Trace: junit.framework.AssertionFailedError: Threads didn't join at org.apache.zookeeper.test.LETest.testLE(LETest.java:123) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
[jira] [Commented] (ZOOKEEPER-2517) jute.maxbuffer is ignored
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459459#comment-15459459 ] Hadoop QA commented on ZOOKEEPER-2517: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12826918/ZOOKEEPER-2517-01.patch against trunk revision 1757584. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3387//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3387//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3387//console This message is automatically generated. > jute.maxbuffer is ignored > - > > Key: ZOOKEEPER-2517 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2517 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.2 >Reporter: Benjamin Jaton >Assignee: Arshad Mohammad >Priority: Critical > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2517-01.patch, ZOOKEEPER-2517.patch > > > In ClientCnxnSocket.java the parsing of the system property is erroneous: > {code}packetLen = Integer.getInteger( > clientConfig.getProperty(ZKConfig.JUTE_MAXBUFFER), > ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT > );{code} > Javadoc of Integer.getInteger states "The first argument is treated as the > name of a system property", whereas here the value of the property is passed. > Instead I believe the author meant to write something like: > {code}packetLen = Integer.parseInt( > clientConfig.getProperty( > ZKConfig.JUTE_MAXBUFFER, > String.valueOf(ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT) > ) > );{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2547) IP ACL is not working with NettyServerCnxnFactory
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459457#comment-15459457 ] Arshad Mohammad commented on ZOOKEEPER-2547: Test case failure is not related to this patch. > IP ACL is not working with NettyServerCnxnFactory > - > > Key: ZOOKEEPER-2547 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2547 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.0 >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2547-01.patch > > > IP based ACL is not working with NettyServerCnxnFactory. > Scenario: > 1) Configure serverCnxnFactory= > org.apache.zookeeper.server.NettyServerCnxnFactory and start ZooKeeper server > 2) Create a znode "/n" with ACL(ZooDefs.Perms.ALL, new Id("ip", > "127.0.0.1/8") > 3) Create child node /n/n1. Child node creation fails. > But the same above scenario works with NIOServerCnxnFactory -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (ZOOKEEPER-2355) Ephemeral node is never deleted if follower fails while reading the proposal packet
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad reassigned ZOOKEEPER-2355: -- Assignee: Arshad Mohammad (was: Martin Kuchta) > Ephemeral node is never deleted if follower fails while reading the proposal > packet > --- > > Key: ZOOKEEPER-2355 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2355 > Project: ZooKeeper > Issue Type: Bug > Components: quorum, server >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad >Priority: Critical > Fix For: 3.5.3, 3.4.10 > > Attachments: ZOOKEEPER-2355-01.patch, ZOOKEEPER-2355-02.patch, > ZOOKEEPER-2355-03.patch, ZOOKEEPER-2355-04.patch > > > ZooKeeper ephemeral node is never deleted if follower fail while reading the > proposal packet > The scenario is as follows: > # Configure three node ZooKeeper cluster, lets say nodes are A, B and C, > start all, assume A is leader, B and C are follower > # Connect to any of the server and create ephemeral node /e1 > # Close the session, ephemeral node /e1 will go for deletion > # While receiving delete proposal make Follower B to fail with > {{SocketTimeoutException}}. This we need to do to reproduce the scenario > otherwise in production environment it happens because of network fault. > # Remove the fault, just check that faulted Follower is now connected with > quorum > # Connect to any of the server, create the same ephemeral node /e1, created > is success. > # Close the session, ephemeral node /e1 will go for deletion > # {color:red}/e1 is not deleted from the faulted Follower B, It should have > been deleted as it was again created with another session{color} > # {color:green}/e1 is deleted from Leader A and other Follower C{color} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2517) jute.maxbuffer is ignored
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459426#comment-15459426 ] Arshad Mohammad commented on ZOOKEEPER-2517: # I am submitting new patch ZOOKEEPER-2517-01.patch for this issue, I feel this is very important bug and it should be fixed ASAP. Hope [~benjamin.jaton] you wont mind it. # Thanks [~hanm] for your suggestion, I made it testable > jute.maxbuffer is ignored > - > > Key: ZOOKEEPER-2517 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2517 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.2 >Reporter: Benjamin Jaton >Assignee: Arshad Mohammad >Priority: Critical > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2517-01.patch, ZOOKEEPER-2517.patch > > > In ClientCnxnSocket.java the parsing of the system property is erroneous: > {code}packetLen = Integer.getInteger( > clientConfig.getProperty(ZKConfig.JUTE_MAXBUFFER), > ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT > );{code} > Javadoc of Integer.getInteger states "The first argument is treated as the > name of a system property", whereas here the value of the property is passed. > Instead I believe the author meant to write something like: > {code}packetLen = Integer.parseInt( > clientConfig.getProperty( > ZKConfig.JUTE_MAXBUFFER, > String.valueOf(ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT) > ) > );{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (ZOOKEEPER-2517) jute.maxbuffer is ignored
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad reassigned ZOOKEEPER-2517: -- Assignee: Arshad Mohammad (was: Benjamin Jaton) > jute.maxbuffer is ignored > - > > Key: ZOOKEEPER-2517 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2517 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.2 >Reporter: Benjamin Jaton >Assignee: Arshad Mohammad >Priority: Critical > Attachments: ZOOKEEPER-2517-01.patch, ZOOKEEPER-2517.patch > > > In ClientCnxnSocket.java the parsing of the system property is erroneous: > {code}packetLen = Integer.getInteger( > clientConfig.getProperty(ZKConfig.JUTE_MAXBUFFER), > ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT > );{code} > Javadoc of Integer.getInteger states "The first argument is treated as the > name of a system property", whereas here the value of the property is passed. > Instead I believe the author meant to write something like: > {code}packetLen = Integer.parseInt( > clientConfig.getProperty( > ZKConfig.JUTE_MAXBUFFER, > String.valueOf(ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT) > ) > );{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2517) jute.maxbuffer is ignored
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated ZOOKEEPER-2517: --- Attachment: ZOOKEEPER-2517-01.patch > jute.maxbuffer is ignored > - > > Key: ZOOKEEPER-2517 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2517 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.2 >Reporter: Benjamin Jaton >Assignee: Arshad Mohammad >Priority: Critical > Attachments: ZOOKEEPER-2517-01.patch, ZOOKEEPER-2517.patch > > > In ClientCnxnSocket.java the parsing of the system property is erroneous: > {code}packetLen = Integer.getInteger( > clientConfig.getProperty(ZKConfig.JUTE_MAXBUFFER), > ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT > );{code} > Javadoc of Integer.getInteger states "The first argument is treated as the > name of a system property", whereas here the value of the property is passed. > Instead I believe the author meant to write something like: > {code}packetLen = Integer.parseInt( > clientConfig.getProperty( > ZKConfig.JUTE_MAXBUFFER, > String.valueOf(ZKClientConfig.CLIENT_MAX_PACKET_LENGTH_DEFAULT) > ) > );{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Success: ZOOKEEPER-2355 PreCommit Build #3386
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2355 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3386/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 454116 lines...] [exec] against trunk revision 1757584. [exec] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 5 new or modified tests. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] +1 core tests. The patch 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/3386//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3386//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3386//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] 4fc3cc056039c61c6e249b4dbbfdfbb5b546bc4a logged out [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] BUILD SUCCESSFUL Total time: 20 minutes 32 seconds Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2355 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Success Sending email for trigger: Success Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## All tests passed
[jira] [Commented] (ZOOKEEPER-2355) Ephemeral node is never deleted if follower fails while reading the proposal packet
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459343#comment-15459343 ] Hadoop QA commented on ZOOKEEPER-2355: -- +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12826909/ZOOKEEPER-2355-04.patch against trunk revision 1757584. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 5 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3386//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3386//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3386//console This message is automatically generated. > Ephemeral node is never deleted if follower fails while reading the proposal > packet > --- > > Key: ZOOKEEPER-2355 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2355 > Project: ZooKeeper > Issue Type: Bug > Components: quorum, server >Reporter: Arshad Mohammad >Assignee: Martin Kuchta >Priority: Critical > Fix For: 3.5.3, 3.4.10 > > Attachments: ZOOKEEPER-2355-01.patch, ZOOKEEPER-2355-02.patch, > ZOOKEEPER-2355-03.patch, ZOOKEEPER-2355-04.patch > > > ZooKeeper ephemeral node is never deleted if follower fail while reading the > proposal packet > The scenario is as follows: > # Configure three node ZooKeeper cluster, lets say nodes are A, B and C, > start all, assume A is leader, B and C are follower > # Connect to any of the server and create ephemeral node /e1 > # Close the session, ephemeral node /e1 will go for deletion > # While receiving delete proposal make Follower B to fail with > {{SocketTimeoutException}}. This we need to do to reproduce the scenario > otherwise in production environment it happens because of network fault. > # Remove the fault, just check that faulted Follower is now connected with > quorum > # Connect to any of the server, create the same ephemeral node /e1, created > is success. > # Close the session, ephemeral node /e1 will go for deletion > # {color:red}/e1 is not deleted from the faulted Follower B, It should have > been deleted as it was again created with another session{color} > # {color:green}/e1 is deleted from Leader A and other Follower C{color} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2355) Ephemeral node is never deleted if follower fails while reading the proposal packet
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459296#comment-15459296 ] Arshad Mohammad commented on ZOOKEEPER-2355: # Submited ZOOKEEPER-2355-04.patch . This patch is for branch-3.5 and trunk, After commit to branch-3.5 and trunk i will prepare patch for branch-3.4 # Handled comments by [~rakeshr], I got better way to inject QuorumPeer. Modified RaceConditionTest.java also. Now I think there is no need to move the mock classed to different class as not much code duplication # Handled comments by [~rgs] # Reanamed test class and test method and other small improvments > Ephemeral node is never deleted if follower fails while reading the proposal > packet > --- > > Key: ZOOKEEPER-2355 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2355 > Project: ZooKeeper > Issue Type: Bug > Components: quorum, server >Reporter: Arshad Mohammad >Assignee: Martin Kuchta >Priority: Critical > Fix For: 3.5.3, 3.4.10 > > Attachments: ZOOKEEPER-2355-01.patch, ZOOKEEPER-2355-02.patch, > ZOOKEEPER-2355-03.patch, ZOOKEEPER-2355-04.patch > > > ZooKeeper ephemeral node is never deleted if follower fail while reading the > proposal packet > The scenario is as follows: > # Configure three node ZooKeeper cluster, lets say nodes are A, B and C, > start all, assume A is leader, B and C are follower > # Connect to any of the server and create ephemeral node /e1 > # Close the session, ephemeral node /e1 will go for deletion > # While receiving delete proposal make Follower B to fail with > {{SocketTimeoutException}}. This we need to do to reproduce the scenario > otherwise in production environment it happens because of network fault. > # Remove the fault, just check that faulted Follower is now connected with > quorum > # Connect to any of the server, create the same ephemeral node /e1, created > is success. > # Close the session, ephemeral node /e1 will go for deletion > # {color:red}/e1 is not deleted from the faulted Follower B, It should have > been deleted as it was again created with another session{color} > # {color:green}/e1 is deleted from Leader A and other Follower C{color} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-1962) Add a CLI command to recursively list a znode and children
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459281#comment-15459281 ] Michael Han commented on ZOOKEEPER-1962: Thanks for the patch, [~enis]! Patch looks good to me. Could add one or two more test cases (i.e. list a/f which contains no children, and so on) to get more coverage. > Add a CLI command to recursively list a znode and children > -- > > Key: ZOOKEEPER-1962 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1962 > Project: ZooKeeper > Issue Type: New Feature > Components: java client >Affects Versions: 3.4.6 >Reporter: Gautam Gopalakrishnan >Assignee: Gautam Gopalakrishnan >Priority: Minor > Fix For: 3.5.3, 3.6.0 > > Attachments: ZOOKEEPER-1962.diff, ZOOKEEPER-1962_v2.patch, > ZOOKEEPER-1962_v3.patch, ZOOKEEPER-1962_v4.patch, zookeeper-1962_v5.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > When troubleshooting applications where znodes can be multiple levels deep > (eg. HBase replication), it is handy to see all child znodes recursively > rather than run an ls for each node manually. > So I propose adding an option to the "ls" command (-r) which will list all > child nodes under a given znode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2355) Ephemeral node is never deleted if follower fails while reading the proposal packet
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated ZOOKEEPER-2355: --- Fix Version/s: 3.5.3 > Ephemeral node is never deleted if follower fails while reading the proposal > packet > --- > > Key: ZOOKEEPER-2355 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2355 > Project: ZooKeeper > Issue Type: Bug > Components: quorum, server >Reporter: Arshad Mohammad >Assignee: Martin Kuchta >Priority: Critical > Fix For: 3.5.3, 3.4.10 > > Attachments: ZOOKEEPER-2355-01.patch, ZOOKEEPER-2355-02.patch, > ZOOKEEPER-2355-03.patch, ZOOKEEPER-2355-04.patch > > > ZooKeeper ephemeral node is never deleted if follower fail while reading the > proposal packet > The scenario is as follows: > # Configure three node ZooKeeper cluster, lets say nodes are A, B and C, > start all, assume A is leader, B and C are follower > # Connect to any of the server and create ephemeral node /e1 > # Close the session, ephemeral node /e1 will go for deletion > # While receiving delete proposal make Follower B to fail with > {{SocketTimeoutException}}. This we need to do to reproduce the scenario > otherwise in production environment it happens because of network fault. > # Remove the fault, just check that faulted Follower is now connected with > quorum > # Connect to any of the server, create the same ephemeral node /e1, created > is success. > # Close the session, ephemeral node /e1 will go for deletion > # {color:red}/e1 is not deleted from the faulted Follower B, It should have > been deleted as it was again created with another session{color} > # {color:green}/e1 is deleted from Leader A and other Follower C{color} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2355) Ephemeral node is never deleted if follower fails while reading the proposal packet
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated ZOOKEEPER-2355: --- Attachment: ZOOKEEPER-2355-04.patch > Ephemeral node is never deleted if follower fails while reading the proposal > packet > --- > > Key: ZOOKEEPER-2355 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2355 > Project: ZooKeeper > Issue Type: Bug > Components: quorum, server >Reporter: Arshad Mohammad >Assignee: Martin Kuchta >Priority: Critical > Fix For: 3.4.10 > > Attachments: ZOOKEEPER-2355-01.patch, ZOOKEEPER-2355-02.patch, > ZOOKEEPER-2355-03.patch, ZOOKEEPER-2355-04.patch > > > ZooKeeper ephemeral node is never deleted if follower fail while reading the > proposal packet > The scenario is as follows: > # Configure three node ZooKeeper cluster, lets say nodes are A, B and C, > start all, assume A is leader, B and C are follower > # Connect to any of the server and create ephemeral node /e1 > # Close the session, ephemeral node /e1 will go for deletion > # While receiving delete proposal make Follower B to fail with > {{SocketTimeoutException}}. This we need to do to reproduce the scenario > otherwise in production environment it happens because of network fault. > # Remove the fault, just check that faulted Follower is now connected with > quorum > # Connect to any of the server, create the same ephemeral node /e1, created > is success. > # Close the session, ephemeral node /e1 will go for deletion > # {color:red}/e1 is not deleted from the faulted Follower B, It should have > been deleted as it was again created with another session{color} > # {color:green}/e1 is deleted from Leader A and other Follower C{color} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Failed: ZOOKEEPER-2547 PreCommit Build #3385
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2547 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3385/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 436920 lines...] [exec] +1 tests included. The patch appears to include 3 new or modified tests. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3385//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3385//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3385//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] ff6d9043412d868059784548f00a0cb954da28eb 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:1605: exec returned: 1 Total time: 16 minutes 41 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Compressed 559.16 KB of artifacts by 28.6% relative to #3378 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2547 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## 1 tests failed. FAILED: org.apache.zookeeper.test.LETest.testLE Error Message: Threads didn't join Stack Trace: junit.framework.AssertionFailedError: Threads didn't join at org.apache.zookeeper.test.LETest.testLE(LETest.java:123) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
[jira] [Commented] (ZOOKEEPER-2547) IP ACL is not working with NettyServerCnxnFactory
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459159#comment-15459159 ] Hadoop QA commented on ZOOKEEPER-2547: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12826888/ZOOKEEPER-2547-01.patch against trunk revision 1757584. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3385//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3385//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3385//console This message is automatically generated. > IP ACL is not working with NettyServerCnxnFactory > - > > Key: ZOOKEEPER-2547 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2547 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.0 >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2547-01.patch > > > IP based ACL is not working with NettyServerCnxnFactory. > Scenario: > 1) Configure serverCnxnFactory= > org.apache.zookeeper.server.NettyServerCnxnFactory and start ZooKeeper server > 2) Create a znode "/n" with ACL(ZooDefs.Perms.ALL, new Id("ip", > "127.0.0.1/8") > 3) Create child node /n/n1. Child node creation fails. > But the same above scenario works with NIOServerCnxnFactory -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2547) IP ACL is not working with NettyServerCnxnFactory
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated ZOOKEEPER-2547: --- Description: IP based ACL is not working with NettyServerCnxnFactory. Scenario: 1) Configure serverCnxnFactory= org.apache.zookeeper.server.NettyServerCnxnFactory and start ZooKeeper server 2) Create a znode "/n" with ACL(ZooDefs.Perms.ALL, new Id("ip", "127.0.0.1/8") 3) Create child node /n/n1. Child node creation fails. But the same above scenario works with NIOServerCnxnFactory was: IP based ACL is not working with NettyServerCnxnFactory. Scenario: 1) Configure serverCnxnFactory= org.apache.zookeeper.server.NettyServerCnxnFactory and start ZooKeeper server 2) Create a znode "/n1" with ACL(ZooDefs.Perms.ALL, new Id("ip", "127.0.0.1/8") 3) Create child node /n/n1. Child node creation fails. But the same above scenario works with NIOServerCnxnFactory > IP ACL is not working with NettyServerCnxnFactory > - > > Key: ZOOKEEPER-2547 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2547 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.0 >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Fix For: 3.5.3 > > Attachments: ZOOKEEPER-2547-01.patch > > > IP based ACL is not working with NettyServerCnxnFactory. > Scenario: > 1) Configure serverCnxnFactory= > org.apache.zookeeper.server.NettyServerCnxnFactory and start ZooKeeper server > 2) Create a znode "/n" with ACL(ZooDefs.Perms.ALL, new Id("ip", > "127.0.0.1/8") > 3) Create child node /n/n1. Child node creation fails. > But the same above scenario works with NIOServerCnxnFactory -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2547) IP ACL is not working with NettyServerCnxnFactory
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arshad Mohammad updated ZOOKEEPER-2547: --- Attachment: ZOOKEEPER-2547-01.patch > IP ACL is not working with NettyServerCnxnFactory > - > > Key: ZOOKEEPER-2547 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2547 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.0 >Reporter: Arshad Mohammad >Assignee: Arshad Mohammad > Attachments: ZOOKEEPER-2547-01.patch > > > IP based ACL is not working with NettyServerCnxnFactory. > Scenario: > 1) Configure serverCnxnFactory= > org.apache.zookeeper.server.NettyServerCnxnFactory and start ZooKeeper server > 2) Create a znode "/n1" with ACL(ZooDefs.Perms.ALL, new Id("ip", > "127.0.0.1/8") > 3) Create child node /n/n1. Child node creation fails. > But the same above scenario works with NIOServerCnxnFactory -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (ZOOKEEPER-2547) IP ACL is not working with NettyServerCnxnFactory
Arshad Mohammad created ZOOKEEPER-2547: -- Summary: IP ACL is not working with NettyServerCnxnFactory Key: ZOOKEEPER-2547 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2547 Project: ZooKeeper Issue Type: Bug Affects Versions: 3.5.0 Reporter: Arshad Mohammad Assignee: Arshad Mohammad IP based ACL is not working with NettyServerCnxnFactory. Scenario: 1) Configure serverCnxnFactory= org.apache.zookeeper.server.NettyServerCnxnFactory and start ZooKeeper server 2) Create a znode "/n1" with ACL(ZooDefs.Perms.ALL, new Id("ip", "127.0.0.1/8") 3) Create child node /n/n1. Child node creation fails. But the same above scenario works with NIOServerCnxnFactory -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2355) Ephemeral node is never deleted if follower fails while reading the proposal packet
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15458926#comment-15458926 ] Flavio Junqueira commented on ZOOKEEPER-2355: - ping [~arshad.mohammad] [~makuchta]. > Ephemeral node is never deleted if follower fails while reading the proposal > packet > --- > > Key: ZOOKEEPER-2355 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2355 > Project: ZooKeeper > Issue Type: Bug > Components: quorum, server >Reporter: Arshad Mohammad >Assignee: Martin Kuchta >Priority: Critical > Fix For: 3.4.10 > > Attachments: ZOOKEEPER-2355-01.patch, ZOOKEEPER-2355-02.patch, > ZOOKEEPER-2355-03.patch > > > ZooKeeper ephemeral node is never deleted if follower fail while reading the > proposal packet > The scenario is as follows: > # Configure three node ZooKeeper cluster, lets say nodes are A, B and C, > start all, assume A is leader, B and C are follower > # Connect to any of the server and create ephemeral node /e1 > # Close the session, ephemeral node /e1 will go for deletion > # While receiving delete proposal make Follower B to fail with > {{SocketTimeoutException}}. This we need to do to reproduce the scenario > otherwise in production environment it happens because of network fault. > # Remove the fault, just check that faulted Follower is now connected with > quorum > # Connect to any of the server, create the same ephemeral node /e1, created > is success. > # Close the session, ephemeral node /e1 will go for deletion > # {color:red}/e1 is not deleted from the faulted Follower B, It should have > been deleted as it was again created with another session{color} > # {color:green}/e1 is deleted from Leader A and other Follower C{color} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Failed: ZOOKEEPER-2355 PreCommit Build #3384
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2355 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3384/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 103 lines...] [exec] 4 out of 4 hunks ignored -- saving rejects to file src/java/test/org/apache/zookeeper/server/quorum/QuorumPeerTestBase.java.rej [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/12809019/ZOOKEEPER-2355-03.patch [exec] against trunk revision 1757584. [exec] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 6 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/3384//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] c424684674938a4b317c8a9b7e00fe8782d07014 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:1605: exec returned: 1 Total time: 48 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error? Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2355 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## No tests ran.
[jira] [Commented] (ZOOKEEPER-2355) Ephemeral node is never deleted if follower fails while reading the proposal packet
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15458732#comment-15458732 ] Hadoop QA commented on ZOOKEEPER-2355: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12809019/ZOOKEEPER-2355-03.patch against trunk revision 1757584. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 6 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3384//console This message is automatically generated. > Ephemeral node is never deleted if follower fails while reading the proposal > packet > --- > > Key: ZOOKEEPER-2355 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2355 > Project: ZooKeeper > Issue Type: Bug > Components: quorum, server >Reporter: Arshad Mohammad >Assignee: Martin Kuchta >Priority: Critical > Fix For: 3.4.10 > > Attachments: ZOOKEEPER-2355-01.patch, ZOOKEEPER-2355-02.patch, > ZOOKEEPER-2355-03.patch > > > ZooKeeper ephemeral node is never deleted if follower fail while reading the > proposal packet > The scenario is as follows: > # Configure three node ZooKeeper cluster, lets say nodes are A, B and C, > start all, assume A is leader, B and C are follower > # Connect to any of the server and create ephemeral node /e1 > # Close the session, ephemeral node /e1 will go for deletion > # While receiving delete proposal make Follower B to fail with > {{SocketTimeoutException}}. This we need to do to reproduce the scenario > otherwise in production environment it happens because of network fault. > # Remove the fault, just check that faulted Follower is now connected with > quorum > # Connect to any of the server, create the same ephemeral node /e1, created > is success. > # Close the session, ephemeral node /e1 will go for deletion > # {color:red}/e1 is not deleted from the faulted Follower B, It should have > been deleted as it was again created with another session{color} > # {color:green}/e1 is deleted from Leader A and other Follower C{color} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2355) Ephemeral node is never deleted if follower fails while reading the proposal packet
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15458720#comment-15458720 ] Jordan Zimmerman commented on ZOOKEEPER-2355: - We've now experienced this at Elasticsearch. This is a Critical issue that should be released sooner rather than later. > Ephemeral node is never deleted if follower fails while reading the proposal > packet > --- > > Key: ZOOKEEPER-2355 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2355 > Project: ZooKeeper > Issue Type: Bug > Components: quorum, server >Reporter: Arshad Mohammad >Assignee: Martin Kuchta >Priority: Critical > Fix For: 3.4.10 > > Attachments: ZOOKEEPER-2355-01.patch, ZOOKEEPER-2355-02.patch, > ZOOKEEPER-2355-03.patch > > > ZooKeeper ephemeral node is never deleted if follower fail while reading the > proposal packet > The scenario is as follows: > # Configure three node ZooKeeper cluster, lets say nodes are A, B and C, > start all, assume A is leader, B and C are follower > # Connect to any of the server and create ephemeral node /e1 > # Close the session, ephemeral node /e1 will go for deletion > # While receiving delete proposal make Follower B to fail with > {{SocketTimeoutException}}. This we need to do to reproduce the scenario > otherwise in production environment it happens because of network fault. > # Remove the fault, just check that faulted Follower is now connected with > quorum > # Connect to any of the server, create the same ephemeral node /e1, created > is success. > # Close the session, ephemeral node /e1 will go for deletion > # {color:red}/e1 is not deleted from the faulted Follower B, It should have > been deleted as it was again created with another session{color} > # {color:green}/e1 is deleted from Leader A and other Follower C{color} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper_branch34_solaris - Build # 1275 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch34_solaris/1275/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 175698 lines...] [junit] 2016-09-02 14:06:19,314 [myid:] - INFO [main:ZooKeeperServer@497] - shutting down [junit] 2016-09-02 14:06:19,314 [myid:] - ERROR [main:ZooKeeperServer@472] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2016-09-02 14:06:19,315 [myid:] - INFO [main:SessionTrackerImpl@225] - Shutting down [junit] 2016-09-02 14:06:19,315 [myid:] - INFO [main:PrepRequestProcessor@765] - Shutting down [junit] 2016-09-02 14:06:19,315 [myid:] - INFO [main:SyncRequestProcessor@208] - Shutting down [junit] 2016-09-02 14:06:19,315 [myid:] - INFO [ProcessThread(sid:0 cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop! [junit] 2016-09-02 14:06:19,315 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited! [junit] 2016-09-02 14:06:19,315 [myid:] - INFO [main:FinalRequestProcessor@402] - shutdown of request processor complete [junit] 2016-09-02 14:06:19,316 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-09-02 14:06:19,316 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-09-02 14:06:19,317 [myid:] - INFO [main:ClientBase@445] - STARTING server [junit] 2016-09-02 14:06:19,318 [myid:] - INFO [main:ClientBase@366] - CREATING server instance 127.0.0.1:11221 [junit] 2016-09-02 14:06:19,319 [myid:] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221 [junit] 2016-09-02 14:06:19,319 [myid:] - INFO [main:ClientBase@341] - STARTING server instance 127.0.0.1:11221 [junit] 2016-09-02 14:06:19,321 [myid:] - INFO [main:ZooKeeperServer@173] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/trunk/build/test/tmp/test1606632782233868897.junit.dir/version-2 snapdir /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/trunk/build/test/tmp/test1606632782233868897.junit.dir/version-2 [junit] 2016-09-02 14:06:19,325 [myid:] - ERROR [main:ZooKeeperServer@472] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2016-09-02 14:06:19,326 [myid:] - INFO [main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221 [junit] 2016-09-02 14:06:19,326 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - Accepted socket connection from /127.0.0.1:48324 [junit] 2016-09-02 14:06:19,327 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing stat command from /127.0.0.1:48324 [junit] 2016-09-02 14:06:19,327 [myid:] - INFO [Thread-5:NIOServerCnxn$StatCommand@663] - Stat command output [junit] 2016-09-02 14:06:19,328 [myid:] - INFO [Thread-5:NIOServerCnxn@1008] - Closed socket connection for client /127.0.0.1:48324 (no session established for client) [junit] 2016-09-02 14:06:19,328 [myid:] - INFO [main:JMXEnv@229] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2016-09-02 14:06:19,330 [myid:] - INFO [main:JMXEnv@246] - expect:InMemoryDataTree [junit] 2016-09-02 14:06:19,330 [myid:] - INFO [main:JMXEnv@250] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree [junit] 2016-09-02 14:06:19,330 [myid:] - INFO [main:JMXEnv@246] - expect:StandaloneServer_port [junit] 2016-09-02 14:06:19,330 [myid:] - INFO [main:JMXEnv@250] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2016-09-02 14:06:19,331 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 9208 [junit] 2016-09-02 14:06:19,331 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20 [junit] 2016-09-02 14:06:19,331 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota [junit] 2016-09-02 14:06:19,331 [myid:] - INFO [main:ClientBase@522] - tearDown starting [junit] 2016-09-02 14:06:19,452 [myid:] - INFO [main:ZooKeeper@684] - Session: 0x156eb38a2b7 closed [junit] 2016-09-02 14:06:19,452 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for session: 0x156eb38a2b7 [junit] 2016-09-02 14:06:19,453 [myid:] - INFO [main:ClientBase@492] - STOPPING server [junit] 2016-09-02 14:06:19,455 [myid:] - INFO [main:ZooKeeperServer@497] - shutting down [junit] 2016-09-02
ZooKeeper_branch35_jdk8 - Build # 214 - Failure
See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/214/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 425851 lines...] [junit] 2016-09-02 13:34:25,028 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:24931 [junit] 2016-09-02 13:34:25,031 [myid:] - INFO [main:ZooKeeperServer@529] - shutting down [junit] 2016-09-02 13:34:25,032 [myid:] - ERROR [main:ZooKeeperServer@501] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2016-09-02 13:34:25,032 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-09-02 13:34:25,032 [myid:] - INFO [main:PrepRequestProcessor@965] - Shutting down [junit] 2016-09-02 13:34:25,032 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-09-02 13:34:25,032 [myid:] - INFO [ProcessThread(sid:0 cport:24931)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop! [junit] 2016-09-02 13:34:25,032 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2016-09-02 13:34:25,038 [myid:] - INFO [main:FinalRequestProcessor@479] - shutdown of request processor complete [junit] 2016-09-02 13:34:25,038 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=InMemoryDataTree] [junit] 2016-09-02 13:34:25,039 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port24931] [junit] 2016-09-02 13:34:25,048 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 24931 [junit] 2016-09-02 13:34:25,049 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-09-02 13:34:25,056 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 5213 at start it was 5213 [junit] 2016-09-02 13:34:25,057 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2016-09-02 13:34:25,057 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 532.874 sec, Thread: 6, Class: org.apache.zookeeper.test.NettyNettySuiteTest [junit] 2016-09-02 13:34:25,472 [myid:127.0.0.1:24814] - INFO [main-SendThread(127.0.0.1:24814):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:24814. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-09-02 13:34:25,472 [myid:] - INFO [New I/O boss #9504:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {} [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:24814 [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42) [junit] at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [junit] at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [junit] at java.lang.Thread.run(Thread.java:745) [junit] 2016-09-02 13:34:25,473 [myid:] - WARN [New I/O boss #9504:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 0x12d6bd67] EXCEPTION: java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:24814 [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:24814 [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
ZooKeeper-trunk-jdk8 - Build # 730 - Still Failing
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/730/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 422596 lines...] [junit] 2016-09-02 13:06:12,652 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-09-02 13:06:12,652 [myid:] - INFO [main:PrepRequestProcessor@965] - Shutting down [junit] 2016-09-02 13:06:12,652 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-09-02 13:06:12,652 [myid:] - INFO [ProcessThread(sid:0 cport:24931)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop! [junit] 2016-09-02 13:06:12,652 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2016-09-02 13:06:12,654 [myid:] - INFO [main:FinalRequestProcessor@479] - shutdown of request processor complete [junit] 2016-09-02 13:06:12,654 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=InMemoryDataTree] [junit] 2016-09-02 13:06:12,654 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port24931] [junit] 2016-09-02 13:06:12,656 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 24931 [junit] 2016-09-02 13:06:12,657 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-09-02 13:06:12,661 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 1462 at start it was 1462 [junit] 2016-09-02 13:06:12,661 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2016-09-02 13:06:12,661 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 479.655 sec, Thread: 6, Class: org.apache.zookeeper.test.NettyNettySuiteTest [junit] 2016-09-02 13:06:13,070 [myid:127.0.0.1:24811] - INFO [main-SendThread(127.0.0.1:24811):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:24811. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-09-02 13:06:13,071 [myid:] - INFO [New I/O boss #2583:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {} [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:24811 [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42) [junit] at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [junit] at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [junit] at java.lang.Thread.run(Thread.java:745) [junit] 2016-09-02 13:06:13,072 [myid:] - WARN [New I/O boss #2583:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 0x500f1d8e] EXCEPTION: java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:24811 [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:24811 [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42) [junit] at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [junit] at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [junit] at
ZooKeeper_branch35_openjdk7 - Build # 212 - Failure
See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/212/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 410882 lines...] [junit] 2016-09-02 12:30:16,199 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:14159 [junit] 2016-09-02 12:30:16,201 [myid:] - INFO [main:ZooKeeperServer@529] - shutting down [junit] 2016-09-02 12:30:16,201 [myid:] - ERROR [main:ZooKeeperServer@501] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2016-09-02 12:30:16,201 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-09-02 12:30:16,201 [myid:] - INFO [main:PrepRequestProcessor@965] - Shutting down [junit] 2016-09-02 12:30:16,201 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-09-02 12:30:16,201 [myid:] - INFO [ProcessThread(sid:0 cport:14159)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop! [junit] 2016-09-02 12:30:16,202 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2016-09-02 12:30:16,202 [myid:] - INFO [main:FinalRequestProcessor@479] - shutdown of request processor complete [junit] 2016-09-02 12:30:16,202 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14159,name1=InMemoryDataTree] [junit] 2016-09-02 12:30:16,203 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14159] [junit] 2016-09-02 12:30:16,203 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 14159 [junit] 2016-09-02 12:30:16,203 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-09-02 12:30:16,207 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 1468 at start it was 1468 [junit] 2016-09-02 12:30:16,207 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2016-09-02 12:30:16,207 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 433.666 sec, Thread: 2, Class: org.apache.zookeeper.test.NettyNettySuiteTest [junit] 2016-09-02 12:30:16,635 [myid:127.0.0.1:14042] - INFO [main-SendThread(127.0.0.1:14042):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:14042. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-09-02 12:30:16,636 [myid:] - INFO [New I/O boss #2592:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {} [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:14042 [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42) [junit] at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [junit] at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [junit] at java.lang.Thread.run(Thread.java:745) [junit] 2016-09-02 12:30:16,637 [myid:] - WARN [New I/O boss #2592:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 0xc64d8048] EXCEPTION: java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:14042 [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:14042 [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) [junit] at
[jira] [Created] (ZOOKEEPER-2546) Started throwing "Error Path:null Error:KeeperErrorCode = ReconfigInProgress" error when trying to change the cluster using reconfig and the IO hangged at one node
Rakesh Kumar Singh created ZOOKEEPER-2546: - Summary: Started throwing "Error Path:null Error:KeeperErrorCode = ReconfigInProgress" error when trying to change the cluster using reconfig and the IO hangged at one node Key: ZOOKEEPER-2546 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2546 Project: ZooKeeper Issue Type: Bug Components: server Affects Versions: 3.5.1 Reporter: Rakesh Kumar Singh Started throwing "Error Path:null Error:KeeperErrorCode = ReconfigInProgress" error when trying to change the cluster using reconfig and the IO hangged at one node. Steps:- 1. Start Zookeeper in cluster mode 2. try to reconfig the cluster using "reconfig" command from one node's client (194) like "reconfig -remove 3 -add 3=10.18.221.194:2888:3888;2181 3. make the IO busy for 5-10 secs at 194 node and then release 4. Again execute the above reconfig command It is failing to execute even after 3-4 mins. Server log is attached. (Complete server log is attached) 2016-09-02 18:12:05,845 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):QuorumPeer@1074] - LEADING 2016-09-02 18:12:05,848 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):Leader@63] - TCP NoDelay set to: true 2016-09-02 18:12:05,848 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):Leader@83] - zookeeper.leader.maxConcurrentSnapshots = 10 2016-09-02 18:12:05,848 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):Leader@85] - zookeeper.leader.maxConcurrentSnapshotTimeout = 5 2016-09-02 18:12:05,849 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):ZooKeeperServer@858] - minSessionTimeout set to 4000 2016-09-02 18:12:05,849 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):ZooKeeperServer@867] - maxSessionTimeout set to 4 2016-09-02 18:12:05,849 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):ZooKeeperServer@156] - Created server with tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 4 datadir /home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/data/version-2 snapdir /home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/data/version-2 2016-09-02 18:12:05,850 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):Leader@412] - LEADING - LEADER ELECTION TOOK - 5 2016-09-02 18:12:05,852 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):FileTxnSnapLog@298] - Snapshotting: 0x10001 to /home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/data/version-2/snapshot.10001 2016-09-02 18:12:06,854 [myid:2] - INFO [LearnerHandler-/10.18.101.80:55632:LearnerHandler@382] - Follower sid: 1 : info : 10.18.101.80:2888:3888:participant;0.0.0.0:2181 2016-09-02 18:12:06,869 [myid:2] - INFO [LearnerHandler-/10.18.101.80:55632:LearnerHandler@683] - Synchronizing with Follower sid: 1 maxCommittedLog=0x10001 minCommittedLog=0x10001 lastProcessedZxid=0x10001 peerLastZxid=0x10001 2016-09-02 18:12:06,869 [myid:2] - INFO [LearnerHandler-/10.18.101.80:55632:LearnerHandler@727] - Sending DIFF zxid=0x10001 for peer sid: 1 2016-09-02 18:12:06,888 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):Leader@1245] - Have quorum of supporters, sids: [ [1, 2] ]; starting up and setting last processed zxid: 0x2 2016-09-02 18:12:06,890 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):CommitProcessor@254] - Configuring CommitProcessor with 8 worker threads. 2016-09-02 18:12:06,898 [myid:2] - INFO [QuorumPeer[myid=2](plain=/0:0:0:0:0:0:0:0:2181)(secure=disabled):ContainerManager@64] - Using checkIntervalMs=6 maxPerMinute=1 2016-09-02 18:12:18,886 [myid:2] - INFO [WorkerReceiver[myid=2]:FastLeaderElection@688] - Notification: 2 (message format version), 3 (n.leader), 0x0 (n.zxid), 0x (n.round), LEADING (n.state), 3 (n.sid), 0x1 (n.peerEPoch), LEADING (my state)20028 (n.config version) 2016-09-02 18:13:47,869 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@512] - Incremental reconfig 2016-09-02 18:13:47,872 [myid:2] - ERROR [ProcessThread(sid:2 cport:-1)::QuorumPeer@1383] - setLastSeenQuorumVerifier called with stale config 8589934593. Current version: 8589934632 2016-09-02 18:14:15,545 [myid:2] - INFO [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@843] - Got user-level KeeperException when processing sessionid:0x1000aa5ce65 type:reconfig cxid:0x3 zxid:0x20002 txntype:-1 reqpath:n/a Error Path:null Error:KeeperErrorCode = ReconfigInProgress 2016-09-02 18:14:56,442 [myid:2] - INFO
Failed: ZOOKEEPER-2539 PreCommit Build #3383
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2539 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3383/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 407629 lines...] [exec] Please justify why no new tests are needed for this patch. [exec] Also please list what manual steps were performed to verify this patch. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] +1 core tests. The patch 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/3383//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3383//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3383//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] 854c537be11918f07e0cb371c086db66b1337c13 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:1605: exec returned: 1 Total time: 18 minutes 14 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2539 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## All tests passed
[jira] [Commented] (ZOOKEEPER-2539) Throwing nullpointerException when run the command "config -c" when client port is mentioned as separate and not like new style
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15458093#comment-15458093 ] Hadoop QA commented on ZOOKEEPER-2539: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12826787/ConfigUtils.java.patch against trunk revision 1757584. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3383//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3383//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3383//console This message is automatically generated. > Throwing nullpointerException when run the command "config -c" when client > port is mentioned as separate and not like new style > --- > > Key: ZOOKEEPER-2539 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2539 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.5.1, 3.5.2 >Reporter: Rakesh Kumar Singh >Priority: Minor > Fix For: 3.5.1, 3.5.2 > > Attachments: ConfigUtils.java.patch, ConfigUtils.java.patch > > > Throwing nullpointerException when run the command "config -c" when client > port is mentioned as separate and not like new style > 1. Configure the zookeeper to start in cluster mode like below- > clientPort=2181 > server.1=10.18.101.80:2888:3888 > server.2=10.18.219.50:2888:3888 > server.3=10.18.221.194:2888:3888 > and not like below:- > server.1=10.18.101.80:2888:3888:participant;2181 > server.2=10.18.219.50:2888:3888:participant;2181 > server.3=10.18.221.194:2888:3888:participant;2181 > 2. Start the cluster and one client using >zkCli.sh > 3. execute command "config -c" > It is throwing nullpointerException:- > root@BLR110865:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin# > ./zkCli.sh > Connecting to localhost:2181 > 2016-08-29 21:45:19,558 [myid:] - INFO [main:Environment@109] - Client > environment:zookeeper.version=3.5.1-alpha--1, built on 08/18/2016 08:20 GMT > 2016-08-29 21:45:19,561 [myid:] - INFO [main:Environment@109] - Client > environment:host.name=BLR110865 > 2016-08-29 21:45:19,562 [myid:] - INFO [main:Environment@109] - Client > environment:java.version=1.7.0_17 > 2016-08-29 21:45:19,564 [myid:] - INFO [main:Environment@109] - Client > environment:java.vendor=Oracle Corporation > 2016-08-29 21:45:19,564 [myid:] - INFO [main:Environment@109] - Client > environment:java.home=/usr/lib/jvm/oracle_jdk7/jre > 2016-08-29 21:45:19,564 [myid:] - INFO [main:Environment@109] - Client >
Failed: ZOOKEEPER-2536 PreCommit Build #3382
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2536 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3382/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 429730 lines...] [exec] Also please list what manual steps were performed to verify this patch. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3382//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3382//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3382//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] a0284402be75099f322072219fd9bb19212c126c 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:1605: exec returned: 2 Total time: 16 minutes 9 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Compressed 559.17 KB of artifacts by 28.6% relative to #3378 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2536 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## 1 tests failed. FAILED: org.apache.zookeeper.test.FourLetterWordsTest.testValidateSocketTimeout Error Message: Exception while executing four letter word: isro Stack Trace: java.io.IOException: Exception while executing four letter word: isro at org.apache.zookeeper.client.FourLetterWordMain.send4LetterWord(FourLetterWordMain.java:124) at org.apache.zookeeper.test.FourLetterWordsTest.sendRequest(FourLetterWordsTest.java:124) at org.apache.zookeeper.test.FourLetterWordsTest.testValidateSocketTimeout(FourLetterWordsTest.java:203) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.lang.Thread.run(Thread.java:745) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:152) at java.net.SocketInputStream.read(SocketInputStream.java:122) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) at java.io.InputStreamReader.read(InputStreamReader.java:184) at java.io.BufferedReader.fill(BufferedReader.java:154) at
[jira] [Commented] (ZOOKEEPER-2536) When provide path for "dataDir" with trailing space, it is taking correct path (by trucating space) for snapshot but creating temporary file with some junk folder n
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15458088#comment-15458088 ] Hadoop QA commented on ZOOKEEPER-2536: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12826786/zkServer.sh.patch against trunk revision 1757584. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3382//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3382//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3382//console This message is automatically generated. > When provide path for "dataDir" with trailing space, it is taking correct > path (by trucating space) for snapshot but creating temporary file with some > junk folder name for zookeeper_server.pid > > > Key: ZOOKEEPER-2536 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2536 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.5.1, 3.5.2 >Reporter: Rakesh Kumar Singh > Fix For: 3.5.1, 3.5.2 > > Attachments: zkServer.sh.patch, zkServer.sh.patch > > > Scenario 1:- > When provide path for "dataDir" with trailing space, it is taking correct > path (by trucating space) for snapshot but creating temporary file with some > junk folder name for zookeeper_server.pid > Steps to reproduce:- > 1. Configure the dataDir > dataDir=/home/Rakesh/Zookeeper/18_Aug/zookeeper-3.5.1-alpha/data > Here there is a space after /data > 2. Start Zookeeper Server > 3. The snapshot is getting created at location mentioned above by truncating > the trailing space but > one temp folder with junk name (like -> D29D4X~J) is getting created for > zookeeper_server.pid > Scenario 2:- > When configure the heading and trailing space in above mentioned scenario. > the temp folder is getting created in zookeeper/bin folder -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper_branch35_jdk7 - Build # 646 - Failure
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/646/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 432756 lines...] [junit] 2016-09-02 09:44:39,143 [myid:] - INFO [ProcessThread(sid:0 cport:30317)::PrepRequestProcessor@647] - Processed session termination for sessionid: 0x10003a13f26 [junit] 2016-09-02 09:44:39,144 [myid:] - WARN [New I/O worker #1811:NettyServerCnxnFactory$CnxnChannelHandler@142] - Exception caught [id: 0xa769af06, /127.0.0.1:45986 :> /127.0.0.1:30317] EXCEPTION: java.nio.channels.ClosedChannelException [junit] java.nio.channels.ClosedChannelException [junit] at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:270) [junit] at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:479) [junit] at org.jboss.netty.channel.socket.nio.SocketSendBufferPool$UnpooledSendBuffer.transferTo(SocketSendBufferPool.java:203) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.write0(AbstractNioWorker.java:201) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromTaskLoop(AbstractNioWorker.java:151) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioChannel$WriteTask.run(AbstractNioChannel.java:315) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) [junit] at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [junit] at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [junit] at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [junit] at java.lang.Thread.run(Thread.java:745) [junit] 2016-09-02 09:44:39,144 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30317,name1=Connections,name2=127.0.0.1,name3=0x10003a13f26] [junit] 2016-09-02 09:44:39,245 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x10003a13f26 closed [junit] 2016-09-02 09:44:39,245 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x10003a13f26 [junit] 2016-09-02 09:44:39,245 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 61548 [junit] 2016-09-02 09:44:39,245 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 466 [junit] 2016-09-02 09:44:39,245 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2016-09-02 09:44:39,245 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-09-02 09:44:39,245 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-09-02 09:44:39,245 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:30317 [junit] 2016-09-02 09:44:39,247 [myid:] - INFO [main:ZooKeeperServer@529] - shutting down [junit] 2016-09-02 09:44:39,247 [myid:] - ERROR [main:ZooKeeperServer@501] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2016-09-02 09:44:39,247 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-09-02 09:44:39,247 [myid:] - INFO [main:PrepRequestProcessor@965] - Shutting down [junit] 2016-09-02 09:44:39,247 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-09-02 09:44:39,247 [myid:] - INFO [ProcessThread(sid:0 cport:30317)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop! [junit] 2016-09-02 09:44:39,247 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2016-09-02 09:44:39,248 [myid:] - INFO [main:FinalRequestProcessor@479] - shutdown of request processor complete [junit] 2016-09-02 09:44:39,248 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30317,name1=InMemoryDataTree] [junit] 2016-09-02 09:44:39,248 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30317] [junit] 2016-09-02 09:44:39,248 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 30317 [junit] 2016-09-02 09:44:39,249
ZooKeeper-trunk-solaris - Build # 1293 - Still Failing
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1293/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 413382 lines...] [junit] 2016-09-02 08:24:01,922 [myid:] - INFO [main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222 [junit] 2016-09-02 08:24:01,971 [myid:] - INFO [main-EventThread:RecoveryTest@202] - Event:Disconnected None null [junit] 2016-09-02 08:24:02,026 [myid:] - INFO [main:FileSnap@83] - Reading snapshot /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test8773123559435735808.junit.dir/version-2/snapshot.83f [junit] 2016-09-02 08:24:02,098 [myid:] - INFO [main:FileTxnSnapLog@298] - Snapshotting: 0x83f to /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/trunk/build/test/tmp/test8773123559435735808.junit.dir/version-2/snapshot.83f [junit] 2016-09-02 08:24:02,110 [myid:] - ERROR [main:ZooKeeperServer@501] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2016-09-02 08:24:02,110 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222 [junit] 2016-09-02 08:24:02,111 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:40776 [junit] 2016-09-02 08:24:02,112 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from /127.0.0.1:40776 [junit] 2016-09-02 08:24:02,112 [myid:] - INFO [NIOWorkerThread-1:StatCommand@49] - Stat command output [junit] 2016-09-02 08:24:02,113 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:40776 (no session established for client) [junit] 2016-09-02 08:24:03,261 [myid:] - INFO [SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop! [junit] 2016-09-02 08:24:03,401 [myid:127.0.0.1:11222] - INFO [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11222. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-09-02 08:24:03,401 [myid:127.0.0.1:11222] - INFO [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@948] - Socket connection established, initiating session, client: null, server: null [junit] 2016-09-02 08:24:03,401 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296] - Accepted socket connection from /127.0.0.1:40777 [junit] 2016-09-02 08:24:03,403 [myid:] - INFO [NIOWorkerThread-2:ZooKeeperServer@1000] - Client attempting to renew session 0x12366fab603 at /127.0.0.1:40777 [junit] 2016-09-02 08:24:03,403 [myid:] - INFO [NIOWorkerThread-2:ZooKeeperServer@709] - Established session 0x12366fab603 with negotiated timeout 3 for client /127.0.0.1:40777 [junit] 2016-09-02 08:24:03,404 [myid:127.0.0.1:11222] - INFO [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1381] - Session establishment complete on server null, sessionid = 0x12366fab603, negotiated timeout = 3 [junit] 2016-09-02 08:24:03,404 [myid:] - INFO [main-EventThread:RecoveryTest@202] - Event:SyncConnected None null [junit] 2016-09-02 08:24:03,404 [myid:] - INFO [main:RecoveryTest@167] - Check 2 [junit] 2016-09-02 08:24:04,541 [myid:] - INFO [ProcessThread(sid:0 cport:11222)::PrepRequestProcessor@647] - Processed session termination for sessionid: 0x12366fab603 [junit] 2016-09-02 08:24:04,541 [myid:] - INFO [SyncThread:0:FileTxnLog@204] - Creating new log file: log.840 [junit] 2016-09-02 08:24:04,604 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x12366fab603 closed [junit] 2016-09-02 08:24:04,604 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x12366fab603 [junit] 2016-09-02 08:24:04,604 [myid:] - INFO [NIOWorkerThread-1:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=Connections,name2=127.0.0.1,name3=0x12366fab603] [junit] 2016-09-02 08:24:04,605 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-09-02 08:24:04,605 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:40777 which had sessionid 0x12366fab603 [junit] 2016-09-02 08:24:04,606 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2016-09-02 08:24:04,606 [myid:] - INFO
[jira] [Updated] (ZOOKEEPER-2539) Throwing nullpointerException when run the command "config -c" when client port is mentioned as separate and not like new style
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh Kumar Singh updated ZOOKEEPER-2539: -- Attachment: ConfigUtils.java.patch > Throwing nullpointerException when run the command "config -c" when client > port is mentioned as separate and not like new style > --- > > Key: ZOOKEEPER-2539 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2539 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.5.1, 3.5.2 >Reporter: Rakesh Kumar Singh >Priority: Minor > Fix For: 3.5.1, 3.5.2 > > Attachments: ConfigUtils.java.patch, ConfigUtils.java.patch > > > Throwing nullpointerException when run the command "config -c" when client > port is mentioned as separate and not like new style > 1. Configure the zookeeper to start in cluster mode like below- > clientPort=2181 > server.1=10.18.101.80:2888:3888 > server.2=10.18.219.50:2888:3888 > server.3=10.18.221.194:2888:3888 > and not like below:- > server.1=10.18.101.80:2888:3888:participant;2181 > server.2=10.18.219.50:2888:3888:participant;2181 > server.3=10.18.221.194:2888:3888:participant;2181 > 2. Start the cluster and one client using >zkCli.sh > 3. execute command "config -c" > It is throwing nullpointerException:- > root@BLR110865:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin# > ./zkCli.sh > Connecting to localhost:2181 > 2016-08-29 21:45:19,558 [myid:] - INFO [main:Environment@109] - Client > environment:zookeeper.version=3.5.1-alpha--1, built on 08/18/2016 08:20 GMT > 2016-08-29 21:45:19,561 [myid:] - INFO [main:Environment@109] - Client > environment:host.name=BLR110865 > 2016-08-29 21:45:19,562 [myid:] - INFO [main:Environment@109] - Client > environment:java.version=1.7.0_17 > 2016-08-29 21:45:19,564 [myid:] - INFO [main:Environment@109] - Client > environment:java.vendor=Oracle Corporation > 2016-08-29 21:45:19,564 [myid:] - INFO [main:Environment@109] - Client > environment:java.home=/usr/lib/jvm/oracle_jdk7/jre > 2016-08-29 21:45:19,564 [myid:] - INFO [main:Environment@109] - Client > environment:java.class.path=/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../build/classes:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../build/lib/*.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/slf4j-log4j12-1.7.5.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/slf4j-api-1.7.5.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/servlet-api-2.5-20081211.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/netty-3.7.0.Final.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/log4j-1.2.16.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/jline-2.11.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/jetty-util-6.1.26.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/jetty-6.1.26.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/javacc.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/jackson-mapper-asl-1.9.11.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/jackson-core-asl-1.9.11.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/commons-cli-1.2.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../lib/ant-eclipse-1.0-jvm1.2.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../zookeeper-3.5.1-alpha.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../src/java/lib/ant-eclipse-1.0-jvm1.2.jar:/home/Rakesh/Zookeeper/18_Aug/cluster/zookeeper-3.5.1-alpha/bin/../conf: > 2016-08-29 21:45:19,564 [myid:] - INFO [main:Environment@109] - Client > environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib > 2016-08-29 21:45:19,564 [myid:] - INFO [main:Environment@109] - Client > environment:java.io.tmpdir=/tmp > 2016-08-29 21:45:19,564 [myid:] - INFO [main:Environment@109] - Client > environment:java.compiler= > 2016-08-29 21:45:19,565 [myid:] - INFO [main:Environment@109] - Client > environment:os.name=Linux > 2016-08-29 21:45:19,565 [myid:] - INFO [main:Environment@109] - Client > environment:os.arch=amd64 > 2016-08-29 21:45:19,565 [myid:] - INFO [main:Environment@109] - Client > environment:os.version=4.4.0-31-generic > 2016-08-29 21:45:19,565 [myid:] - INFO [main:Environment@109] - Client > environment:user.name=root > 2016-08-29 21:45:19,565 [myid:] - INFO [main:Environment@109] - Client > environment:user.home=/root >
[jira] [Updated] (ZOOKEEPER-2536) When provide path for "dataDir" with trailing space, it is taking correct path (by trucating space) for snapshot but creating temporary file with some junk folder nam
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh Kumar Singh updated ZOOKEEPER-2536: -- Attachment: zkServer.sh.patch > When provide path for "dataDir" with trailing space, it is taking correct > path (by trucating space) for snapshot but creating temporary file with some > junk folder name for zookeeper_server.pid > > > Key: ZOOKEEPER-2536 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2536 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.5.1, 3.5.2 >Reporter: Rakesh Kumar Singh > Fix For: 3.5.1, 3.5.2 > > Attachments: zkServer.sh.patch, zkServer.sh.patch > > > Scenario 1:- > When provide path for "dataDir" with trailing space, it is taking correct > path (by trucating space) for snapshot but creating temporary file with some > junk folder name for zookeeper_server.pid > Steps to reproduce:- > 1. Configure the dataDir > dataDir=/home/Rakesh/Zookeeper/18_Aug/zookeeper-3.5.1-alpha/data > Here there is a space after /data > 2. Start Zookeeper Server > 3. The snapshot is getting created at location mentioned above by truncating > the trailing space but > one temp folder with junk name (like -> D29D4X~J) is getting created for > zookeeper_server.pid > Scenario 2:- > When configure the heading and trailing space in above mentioned scenario. > the temp folder is getting created in zookeeper/bin folder -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (ZOOKEEPER-2545) Keep maintaining the old zoo.cfg.dynamic* files which will keep eating system memory which is getting generated as part of reconfig execution
Rakesh Kumar Singh created ZOOKEEPER-2545: - Summary: Keep maintaining the old zoo.cfg.dynamic* files which will keep eating system memory which is getting generated as part of reconfig execution Key: ZOOKEEPER-2545 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2545 Project: ZooKeeper Issue Type: Bug Components: server Affects Versions: 3.5.1 Reporter: Rakesh Kumar Singh Keep maintaining the old zoo.cfg.dynamic* files which will be getting created every time when "reconfig" is executed Steps to reproduce:-1 1. Setup the zookeeper in cluster mode and start 2. trying running reconfig command like >reconfig -remove 3 -add 1=10.18.101.80:2888:3888;2181 3. It will create new zoo.cfg.dynamic in conf folder The problem is it is not deleting the old zoo.cfg.dynamic* files which will keep eating the memory -- This message was sent by Atlassian JIRA (v6.3.4#6332)