[jira] [Commented] (ZOOKEEPER-1045) Support Quorum Peer mutual authentication via SASL

2016-11-18 Thread Rakesh R (JIRA)

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

Rakesh R commented on ZOOKEEPER-1045:
-

Thanks [~phunt] for the reviews.

bq. I assume you're not planning to include them in the patch as part of the 
forrest documentation?
Yes, I'm thinking to add this into our cwiki page.

bq. are you planning to create a new wiki page? 
My plan is to include this into {{Zookeeper and SASL}} section. I could see the 
current [Zookeeper and 
SASL|https://cwiki.apache.org/confluence/display/ZOOKEEPER/Zookeeper+and+SASL] 
page is too large. I'm thinking to separate out ZooKeeper client-server and 
server-server sections into sub-pages something similar to [Zab in 
words|https://cwiki.apache.org/confluence/display/ZOOKEEPER/Zab+in+words] page.

Just a suggestion,
* Zookeeper and SASL
#- Introduction
#- Client-Server mutual authentication
#- Server-Server mutual authentication
#- Appendix: Kerberos, GSSAPI, SASL, and JAAS

> Support Quorum Peer mutual authentication via SASL
> --
>
> Key: ZOOKEEPER-1045
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1045
> Project: ZooKeeper
>  Issue Type: New Feature
>  Components: quorum, security
>Reporter: Eugene Koontz
>Assignee: Rakesh R
>Priority: Critical
> Fix For: 3.4.10, 3.5.3
>
> Attachments: 0001-ZOOKEEPER-1045-br-3-4.patch, 
> 1045_failing_phunt.tar.gz, HOST_RESOLVER-ZK-1045.patch, QuorumPeer Mutual 
> Authentication Via Sasl Feature Doc - 2016-Nov-10.pdf, QuorumPeer Mutual 
> Authentication Via Sasl Feature Doc - 2016-Sep-25.pdf, 
> TEST-org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.txt, 
> ZK-1045-test-case-failure-logs.zip, ZOOKEEPER-1045 Test Plan.pdf, 
> ZOOKEEPER-1045-00.patch, ZOOKEEPER-1045-Rolling Upgrade Design Proposal.pdf, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045TestValidationDesign.pdf, 
> org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.testRollingUpgrade.log
>
>
> ZOOKEEPER-938 addresses mutual authentication between clients and servers. 
> This bug, on the other hand, is for authentication among quorum peers. 
> Hopefully much of the work done on SASL integration with Zookeeper for 
> ZOOKEEPER-938 can be used as a foundation for this enhancement.
> Review board: https://reviews.apache.org/r/47354/



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


ZooKeeper_branch34 - Build # 1724 - Still Failing

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34/1724/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 1471 lines...]
[mkdir] Created dir: 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT/dist-maven
 [copy] Copying 1 file to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT/dist-maven
 [copy] Copying 2 files to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT/dist-maven
 [copy] Copying 1 file to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT/dist-maven
 [copy] Copying 8 files to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT/bin
 [copy] Copying 3 files to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT/conf
 [copy] Copying 318 files to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT/docs
 [copy] Copied 22 empty directories to 3 empty directories under 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT/docs
 [copy] Copying 8 files to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT
 [copy] Copying 918 files to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT/src
 [copy] Copied 238 empty directories to 1 empty directory under 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT/src

tar:
  [tar] Building tar: 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build/zookeeper-3.4.10-SNAPSHOT.tar.gz

check-for-findbugs:

findbugs:

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34/build.xml:1481: 
java.lang.UnsupportedClassVersionError: 
edu/umd/cs/findbugs/anttask/FindBugsTask : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at 
org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1149)
at 
org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1320)
at 
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
at 
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1337)
at 
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1089)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:579)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:237)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:854)
at org.apache.tools.ant.Main.startAnt(Main.java:236)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)

Total time: 51 seconds
mv: cannot stat 'build/test/findbugs': No such file or directory
Build Failed
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

ZooKeeper-trunk-jdk8 - Build # 826 - Still Failing

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/826/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 441967 lines...]
[junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[junit] at java.net.Socket.connect(Socket.java:589)
[junit] at 
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:441)
[junit] at 
org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:482)
[junit] at 
org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:419)
[junit] at 
org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:486)
[junit] at 
org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:465)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-11-18 23:49:03,372 [myid:] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message 
format version), 3 (n.leader), 0x1fffe (n.zxid), 0x0 (n.round), LOOKING 
(n.state), 3 (n.sid), 0x1 (n.peerEPoch), LOOKING (my state)1 (n.config 
version)
[junit] 2016-11-18 23:49:03,372 [myid:] - INFO  
[WorkerReceiver[myid=2]:FastLeaderElection@688] - Notification: 2 (message 
format version), 3 (n.leader), 0x1fffe (n.zxid), 0x0 (n.round), LOOKING 
(n.state), 3 (n.sid), 0x1 (n.peerEPoch), LEADING (my state)1 (n.config 
version)
[junit] 2016-11-18 23:49:03,373 [myid:] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message 
format version), 2 (n.leader), 0x0 (n.zxid), 0x (n.round), 
LEADING (n.state), 2 (n.sid), 0x1 (n.peerEPoch), LOOKING (my state)1 
(n.config version)
[junit] Running org.apache.zookeeper.server.ZxidRolloverTest in thread 4
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 
sec, Thread: 4, Class: org.apache.zookeeper.server.ZxidRolloverTest
[junit] Test org.apache.zookeeper.server.ZxidRolloverTest FAILED (timeout)
[junit] 2016-11-18 23:50:21,498 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 133563
[junit] 2016-11-18 23:50:21,499 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 55
[junit] 2016-11-18 23:50:21,499 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testManyChildWatchersAutoReset
[junit] 2016-11-18 23:50:21,499 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-11-18 23:50:21,500 [myid:] - INFO  [ProcessThread(sid:0 
cport:11225)::PrepRequestProcessor@618] - Processed session termination for 
sessionid: 0x1010d83dcad
[junit] 2016-11-18 23:50:21,523 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x1010d83dcad closed
[junit] 2016-11-18 23:50:21,525 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1010d83dcad
[junit] 2016-11-18 23:50:21,525 [myid:] - INFO  
[NIOWorkerThread-15:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port11225,name1=Connections,name2=127.0.0.1,name3=0x1010d83dcad]
[junit] 2016-11-18 23:50:21,526 [myid:] - INFO  [ProcessThread(sid:0 
cport:11225)::PrepRequestProcessor@618] - Processed session termination for 
sessionid: 0x1010d83dcad0001
[junit] 2016-11-18 23:50:21,526 [myid:] - INFO  
[NIOWorkerThread-15:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:36835 which had sessionid 0x1010d83dcad
[junit] 2016-11-18 23:50:21,536 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x1010d83dcad0001 closed
[junit] 2016-11-18 23:50:21,536 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1010d83dcad0001
[junit] 2016-11-18 23:50:21,537 [myid:] - INFO  
[NIOWorkerThread-14:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port11225,name1=Connections,name2=127.0.0.1,name3=0x1010d83dcad0001]
[junit] 2016-11-18 23:50:21,536 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-11-18 23:50:21,537 [myid:] - INFO  
[NIOWorkerThread-14:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:36820 which had sessionid 0x1010d83dcad0001
[junit] 2016-11-18 23:50:21,538 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-11-18 23:50:21,539 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11225:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-11-18 23:50:21,540 [myid:] - INFO  

ZooKeeper-trunk-openjdk7 - Build # 1246 - Still Failing

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1246/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H12 (ubuntu) in workspace 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7
Cloning the remote Git repository
Cloning repository git://git.apache.org/zookeeper.git
 > git init /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7 # 
 > timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > git://git.apache.org/zookeeper.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
No valid HEAD. Skipping the resetting
 > git clean -fdx # timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git -c core.askpass=true fetch --tags --progress 
 > git://git.apache.org/zookeeper.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision d310d45bb938852c332646ccc2202091b9e472c8 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d310d45bb938852c332646ccc2202091b9e472c8
 > git rev-list 179c8db6df20beccd64fac2c99ca77dbe8a3242c # timeout=10
No emails were triggered.
[ZooKeeper-trunk-openjdk7] $ /home/jenkins/tools/ant/latest/bin/ant 
-Dtest.output=yes -Dtest.junit.threads=8 -Dtest.junit.output.format=xml 
-Djavac.target=1.7 clean test-core-java
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Invoke Ant' marked build as failure
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

ZooKeeper-trunk - Build # 3163 - Still Failing

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/3163/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 479526 lines...]
[junit] 2016-11-18 23:25:38,388 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 27624
[junit] 2016-11-18 23:25:38,388 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-11-18 23:25:38,396 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 5205 at start it was 5205
[junit] 2016-11-18 23:25:38,396 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-11-18 23:25:38,396 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
490.681 sec, Thread: 7, Class: org.apache.zookeeper.test.NettyNettySuiteTest
[junit] 2016-11-18 23:25:38,464 [myid:127.0.0.1:27501] - INFO  
[main-SendThread(127.0.0.1:27501):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27501. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-11-18 23:25:38,465 [myid:] - INFO  [New I/O boss 
#9966:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {}
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:27501
[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-11-18 23:25:38,465 [myid:] - WARN  [New I/O boss 
#9966:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 
0xff21fca4] EXCEPTION: java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:27501
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:27501
[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-11-18 23:25:38,465 [myid:] - INFO  [New I/O boss 
#9966:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-11-18 23:25:38,465 [myid:127.0.0.1:27501] - INFO  
[main-SendThread(127.0.0.1:27501):ClientCnxn$SendThread@1231] - channel for 
sessionid 0x10222511a37 is lost, closing socket connection and attempting 
reconnect

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1324: The 
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1209: Tests 
failed!

Total time: 11 minutes 13 seconds
Build step 'Execute shell' marked build as failure
[FINDBUGS] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Recording fingerprints
Setting 

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

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1391/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 469523 lines...]
[junit] 2016-11-18 23:27:24,550 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-11-18 23:27:24,550 [myid:] - INFO  
[main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2016-11-18 23:27:24,550 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-11-18 23:27:24,551 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-11-18 23:27:24,551 [myid:] - INFO  [main:ZooKeeperServer@891] 
- minSessionTimeout set to 6000
[junit] 2016-11-18 23:27:24,552 [myid:] - INFO  [main:ZooKeeperServer@900] 
- maxSessionTimeout set to 6
[junit] 2016-11-18 23:27:24,552 [myid:] - INFO  [main:ZooKeeperServer@160] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test5677612457504554946.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test5677612457504554946.junit.dir/version-2
[junit] 2016-11-18 23:27:24,552 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test5677612457504554946.junit.dir/version-2/snapshot.b
[junit] 2016-11-18 23:27:24,554 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test5677612457504554946.junit.dir/version-2/snapshot.b
[junit] 2016-11-18 23:27:24,556 [myid:] - ERROR [main:ZooKeeperServer@503] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-11-18 23:27:24,556 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-11-18 23:27:24,556 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:55666
[junit] 2016-11-18 23:27:24,557 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:55666
[junit] 2016-11-18 23:27:24,557 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-11-18 23:27:24,557 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:55666 (no session established for client)
[junit] 2016-11-18 23:27:24,557 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-11-18 23:27:24,559 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-11-18 23:27:24,559 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-11-18 23:27:24,559 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-11-18 23:27:24,559 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-11-18 23:27:24,560 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17818
[junit] 2016-11-18 23:27:24,560 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-11-18 23:27:24,560 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-11-18 23:27:24,560 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-11-18 23:27:24,632 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x124f6be6f2c closed
[junit] 2016-11-18 23:27:24,632 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-11-18 23:27:24,632 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x124f6be6f2c
[junit] 2016-11-18 23:27:24,632 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-11-18 23:27:24,632 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-11-18 23:27:24,632 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 

Failed: ZOOKEEPER- PreCommit Build #81

2016-11-18 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/81/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 470578 lines...]
 [exec] +0 tests included.  The patch appears to be a documentation 
patch that doesn't require 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 appears to introduce 20 new Findbugs 
(version 3.0.1) 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-github-pr-build/81//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/81//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/81//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] e8d5e99b74864c0ea23f591537e78c62f380f429 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] mv: 
‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess’
 and 
‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess’
 are the same file

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1628:
 exec returned: 1

Total time: 18 minutes 20 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-2633
Putting comment on the pull request
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



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

[jira] [Commented] (ZOOKEEPER-2633) Build failure in contrib/zkfuse with gcc 6.x

2016-11-18 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-2633:
--

-1 overall.  GitHub Pull Request  Build
  

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

+0 tests included.  The patch appears to be a documentation patch that 
doesn't require 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 appears to introduce 20 new Findbugs (version 
3.0.1) 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-github-pr-build/81//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/81//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/81//console

This message is automatically generated.

> Build failure in contrib/zkfuse with gcc 6.x
> 
>
> Key: ZOOKEEPER-2633
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2633
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: contrib-zkfuse
> Environment: gcc --version
> gcc (GCC) 6.2.1 20160830
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> g++ --version
> g++ (GCC) 6.2.1 20160830
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> CFLAGS, CXXFLAGS, and LDFLAGS are unset, hence default.
> uname -a
> Linux lative 4.8.8-1-ARCH #1 SMP PREEMPT Tue Nov 15 08:25:24 CET 2016 x86_64 
> GNU/Linux
>Reporter: Raghavendra Prabhu
>Priority: Minor
>
> The build in contrib/zkfuse fails with
> {noformat}
> make
> (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
> /home/raghu/zookeeper/src/contrib/zkfuse/missing autoheader)
> rm -f stamp-h1
> touch config.h.in
> cd . && /bin/sh ./config.status config.h
> config.status: creating config.h
> config.status: config.h is unchanged
> make  all-recursive
> make[1]: Entering directory '/home/raghu/zookeeper/src/contrib/zkfuse'
> Making all in src
> make[2]: Entering directory '/home/raghu/zookeeper/src/contrib/zkfuse/src'
> g++ -DHAVE_CONFIG_H -I. -I..
> -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/include 
> -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/generated -I../include 
> -I/usr/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT -march=x86-64 
> -mtune=generic -O2 -pipe -fstack-protector-strong -MT zkfuse.o -MD -MP -MF 
> .deps/zkfuse.Tpo -c -o zkfuse.o zkfuse.cc
> g++ -DHAVE_CONFIG_H -I. -I..
> -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/include 
> -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/generated -I../include 
> -I/usr/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT -march=x86-64 
> -mtune=generic -O2 -pipe -fstack-protector-strong -MT zkadapter.o -MD -MP -MF 
> .deps/zkadapter.Tpo -c -o zkadapter.o zkadapter.cc
> In file included from zkadapter.h:34:0,
>  from zkadapter.cc:24:
> event.h:216:9: error: reference to ‘shared_ptr’ is ambiguous
>  shared_ptr m_eventWrapper;
>  ^~
> In file included from /usr/include/boost/throw_exception.hpp:42:0,
>  from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,
>  from /usr/include/boost/shared_ptr.hpp:17,
>  from event.h:30,
>  from zkadapter.h:34,
>  from zkadapter.cc:24:
> /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: 
> template class boost::shared_ptr
>  class shared_ptr;
>^~
> In file included from /usr/include/c++/6.2.1/bits/shared_ptr.h:52:0,
>  from /usr/include/c++/6.2.1/memory:82,
>  from /usr/include/boost/config/no_tr1/memory.hpp:21,
>  from /usr/include/boost/smart_ptr/shared_ptr.hpp:23,
>  from /usr/include/boost/shared_ptr.hpp:17,
>  from event.h:30,
>  from zkadapter.h:34,
>  from zkadapter.cc:24:
> /usr/include/c++/6.2.1/bits/shared_ptr_base.h:343:11: note: 
> template class std::shared_ptr
>  class shared_ptr;
>^~
> In file included from zkadapter.h:34:0,
>  

[GitHub] zookeeper pull request #110: ZOOKEEPER-2633: contrib/zkfuse build fix with g...

2016-11-18 Thread ronin13
GitHub user ronin13 opened a pull request:

https://github.com/apache/zookeeper/pull/110

ZOOKEEPER-2633: contrib/zkfuse build fix with gcc 6.2.

The build fails in two places: 
https://gist.github.com/ronin13/3e08569dd6c69bf2ad92fa39fa85f7ee

One is boost related, and other is due to false being passed where NULL is
required.

JIRA: https://issues.apache.org/jira/browse/ZOOKEEPER-2633

Author: Raghavendra Prabhu 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/ronin13/zookeeper c++-build-fix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zookeeper/pull/110.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #110


commit 726a8eda08e4022fcbcb0581ec2650e07e39910b
Author: Raghavendra Prabhu 
Date:   2016-11-16T01:06:00Z

ZOOKEEPER-2633: contrib/zkfuse build fix with gcc 6.2.

The build fails in two places: 
https://gist.github.com/ronin13/3e08569dd6c69bf2ad92fa39fa85f7ee

One is boost related, and other is due to false being passed where NULL is
required.

JIRA: https://issues.apache.org/jira/browse/ZOOKEEPER-2633

Author: Raghavendra Prabhu 




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (ZOOKEEPER-2633) Build failure in contrib/zkfuse with gcc 6.x

2016-11-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on ZOOKEEPER-2633:
---

GitHub user ronin13 opened a pull request:

https://github.com/apache/zookeeper/pull/110

ZOOKEEPER-2633: contrib/zkfuse build fix with gcc 6.2.

The build fails in two places: 
https://gist.github.com/ronin13/3e08569dd6c69bf2ad92fa39fa85f7ee

One is boost related, and other is due to false being passed where NULL is
required.

JIRA: https://issues.apache.org/jira/browse/ZOOKEEPER-2633

Author: Raghavendra Prabhu 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/ronin13/zookeeper c++-build-fix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zookeeper/pull/110.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #110


commit 726a8eda08e4022fcbcb0581ec2650e07e39910b
Author: Raghavendra Prabhu 
Date:   2016-11-16T01:06:00Z

ZOOKEEPER-2633: contrib/zkfuse build fix with gcc 6.2.

The build fails in two places: 
https://gist.github.com/ronin13/3e08569dd6c69bf2ad92fa39fa85f7ee

One is boost related, and other is due to false being passed where NULL is
required.

JIRA: https://issues.apache.org/jira/browse/ZOOKEEPER-2633

Author: Raghavendra Prabhu 




> Build failure in contrib/zkfuse with gcc 6.x
> 
>
> Key: ZOOKEEPER-2633
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2633
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: contrib-zkfuse
> Environment: gcc --version
> gcc (GCC) 6.2.1 20160830
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> g++ --version
> g++ (GCC) 6.2.1 20160830
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> CFLAGS, CXXFLAGS, and LDFLAGS are unset, hence default.
> uname -a
> Linux lative 4.8.8-1-ARCH #1 SMP PREEMPT Tue Nov 15 08:25:24 CET 2016 x86_64 
> GNU/Linux
>Reporter: Raghavendra Prabhu
>Priority: Minor
>
> The build in contrib/zkfuse fails with
> {noformat}
> make
> (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
> /home/raghu/zookeeper/src/contrib/zkfuse/missing autoheader)
> rm -f stamp-h1
> touch config.h.in
> cd . && /bin/sh ./config.status config.h
> config.status: creating config.h
> config.status: config.h is unchanged
> make  all-recursive
> make[1]: Entering directory '/home/raghu/zookeeper/src/contrib/zkfuse'
> Making all in src
> make[2]: Entering directory '/home/raghu/zookeeper/src/contrib/zkfuse/src'
> g++ -DHAVE_CONFIG_H -I. -I..
> -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/include 
> -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/generated -I../include 
> -I/usr/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT -march=x86-64 
> -mtune=generic -O2 -pipe -fstack-protector-strong -MT zkfuse.o -MD -MP -MF 
> .deps/zkfuse.Tpo -c -o zkfuse.o zkfuse.cc
> g++ -DHAVE_CONFIG_H -I. -I..
> -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/include 
> -I/home/raghu/zookeeper/src/contrib/zkfuse/../../c/generated -I../include 
> -I/usr/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT -march=x86-64 
> -mtune=generic -O2 -pipe -fstack-protector-strong -MT zkadapter.o -MD -MP -MF 
> .deps/zkadapter.Tpo -c -o zkadapter.o zkadapter.cc
> In file included from zkadapter.h:34:0,
>  from zkadapter.cc:24:
> event.h:216:9: error: reference to ‘shared_ptr’ is ambiguous
>  shared_ptr m_eventWrapper;
>  ^~
> In file included from /usr/include/boost/throw_exception.hpp:42:0,
>  from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,
>  from /usr/include/boost/shared_ptr.hpp:17,
>  from event.h:30,
>  from zkadapter.h:34,
>  from zkadapter.cc:24:
> /usr/include/boost/exception/exception.hpp:148:11: note: candidates are: 
> template class boost::shared_ptr
>  class shared_ptr;
>^~
> In file included from /usr/include/c++/6.2.1/bits/shared_ptr.h:52:0,
>  from /usr/include/c++/6.2.1/memory:82,
>  from /usr/include/boost/config/no_tr1/memory.hpp:21,
>  from /usr/include/boost/smart_ptr/shared_ptr.hpp:23,
>  from 

[jira] [Commented] (ZOOKEEPER-2632) Add option to inform JIRA_PASSWORD at CLI prompt

2016-11-18 Thread Hudson (JIRA)

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

Hudson commented on ZOOKEEPER-2632:
---

FAILURE: Integrated in Jenkins build ZooKeeper-trunk #3162 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/3162/])
ZOOKEEPER-2632: Add option to inform JIRA_PASSWORD at CLI prompt (Edward 
(phunt: rev d310d45bb938852c332646ccc2202091b9e472c8)
* (edit) CHANGES.txt
* (edit) zk-merge-pr.py


> Add option to inform JIRA_PASSWORD at CLI prompt 
> -
>
> Key: ZOOKEEPER-2632
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2632
> Project: ZooKeeper
>  Issue Type: Improvement
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
> Fix For: 3.6.0
>
>
> Adds the option to prompt for the JIRA password if JIRA_USERNAME is set, but 
> JIRA_PASSWORD is not. Also, asks if the user wants to continue the merge 
> process if the python jira lib is not installed.



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


ZooKeeper-trunk - Build # 3162 - Still Failing

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/3162/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 468747 lines...]
[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-11-18 22:30:00,654 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port19545,name1=Connections,name2=127.0.0.1,name3=0x1010a00cb79]
[junit] 2016-11-18 22:30:00,754 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x1010a00cb79 closed
[junit] 2016-11-18 22:30:00,754 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 156147
[junit] 2016-11-18 22:30:00,755 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1643
[junit] 2016-11-18 22:30:00,755 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-11-18 22:30:00,755 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-11-18 22:30:00,755 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-11-18 22:30:00,755 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:19545
[junit] 2016-11-18 22:30:00,754 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1010a00cb79
[junit] 2016-11-18 22:30:00,762 [myid:] - INFO  [main:ZooKeeperServer@531] 
- shutting down
[junit] 2016-11-18 22:30:00,763 [myid:] - ERROR [main:ZooKeeperServer@503] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-11-18 22:30:00,763 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-11-18 22:30:00,763 [myid:] - INFO  
[main:PrepRequestProcessor@1009] - Shutting down
[junit] 2016-11-18 22:30:00,763 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-11-18 22:30:00,763 [myid:] - INFO  [ProcessThread(sid:0 
cport:19545)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2016-11-18 22:30:00,763 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-11-18 22:30:00,764 [myid:] - INFO  
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2016-11-18 22:30:00,764 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port19545,name1=InMemoryDataTree]
[junit] 2016-11-18 22:30:00,764 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19545]
[junit] 2016-11-18 22:30:00,764 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 19545
[junit] 2016-11-18 22:30:00,765 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-11-18 22:30:00,771 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 4829 at start it was 4829
[junit] 2016-11-18 22:30:00,771 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-11-18 22:30:00,771 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
516.838 sec, Thread: 4, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2016-11-18 22:30:01,011 [myid:127.0.0.1:19428] - INFO  
[main-SendThread(127.0.0.1:19428):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:19428. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-11-18 22:30:01,011 [myid:127.0.0.1:19428] - WARN  
[main-SendThread(127.0.0.1:19428):ClientCnxn$SendThread@1235] - Session 
0x30109fdbdaa for server 127.0.0.1/127.0.0.1:19428, unexpected error, 
closing socket connection and attempting reconnect
[junit] java.net.ConnectException: Connection refused
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1324: The 
following error occurred while executing this line:

Re: [VOTE] move Apache Zookeeper to git

2016-11-18 Thread Patrick Hunt
Thanks Edward, this should be very helpful for folks. I committed, however
I notice the PR is still open. I followed the steps here:
https://cwiki.apache.org/confluence/display/ZOOKEEPER/Committing+changes
however I don't see a way to close the PR?
https://github.com/apache/zookeeper/pull/103 says I don't have "write
access".

Patrick

On Thu, Nov 10, 2016 at 10:23 AM, Edward Ribeiro 
wrote:

> Hi Patrick,
>
> I've just opened a PR  https://github.com/apache/zookeeper/pull/103/ PR
>
> It asks for JIRA_PASSWORD at CLI prompt *IF* it's absent but JIRA_USERNAME
> is already set. Please, when you have time, see if it fits what you need
> and then I can open a JIRA, rename the feature branch, etc.
>
> Let me know if you have other ideas. I am open to other ways of
> incorporating the passing of JIRA_PASSWORD too.
>
> Edward
>
> On Wed, Nov 9, 2016 at 5:03 PM, Edward Ribeiro 
> wrote:
>
> > Hi Patrick,
> >
> > We can change the script so that it asks for jira password input on CLI
> > prompt if the JIRA username is set, for example. The change should be
> > straigthforward.
> >
> > Alternatively, the python systems I have dealt with put credentials for
> > database access, etc, in configuration -- sometimes hidden -- files (say,
> > .env), but yet it is clear text stored.
> >
> > Anyone has other suggestions?
> >
> > Eddie
> >
> > Em 9 de nov de 2016 4:18 PM, "Patrick Hunt"  escreveu:
> >
> >> Is there any alternative to step 4 as documented here?
> >> https://cwiki.apache.org/confluence/display/ZOOKEEPER/Mergin
> >> g+Github+Pull+Requests
> >>
> >> specifically it's asking to "export JIRA_PASSWORD=mypassword" which I
> feel
> >> very uncomfortable doing.
> >>
> >> Patrick
> >>
> >> On Wed, Oct 26, 2016 at 11:12 AM, Edward Ribeiro <
> >> edward.ribe...@gmail.com>
> >> wrote:
> >>
> >> > AFAIK, yes. I say, if you mean to run unit tests and other CI tasks on
> >> PR.
> >> >
> >> > PS: I have just created a simple script HowTo at
> >> > https://cwiki.apache.org/confluence/display/ZOOKEEPER/
> >> > Merging+Github+Pull+Requests
> >> > and linked from https://cwiki.apache.org/
> confluence/display/ZOOKEEPER/
> >> > Index
> >> >
> >> > On Wed, Oct 26, 2016 at 3:59 PM, Flavio Junqueira 
> >> wrote:
> >> >
> >> > > What about QA, are we still missing a github pre-commit queue?
> >> > >
> >> > > -Flavio
> >> > >
> >> > > > On 26 Oct 2016, at 18:53, Michael Han  wrote:
> >> > > >
> >> > > > The comment bridging should be fixed now - see INFRA-12752 for
> more
> >> > > > details.
> >> > > >
> >> > > > On Wed, Oct 26, 2016 at 10:03 AM, Michael Han 
> >> > wrote:
> >> > > >
> >> > >  The git PR *review* comments for ZOOKEEPER-2597 didn't show up
> on
> >> > > JIRA.
> >> > > >>
> >> > > >> The bridge was working the day Infra made the change - see the
> >> > previous
> >> > > >> comments made by git bot on ZOOKEEPER-761. Now it seems stop
> >> working.
> >> > I
> >> > > am
> >> > > >> reopening INFRA-12752 and building a case.
> >> > > >>
> >> > > >> On Wed, Oct 26, 2016 at 9:45 AM, Edward Ribeiro <
> >> > > edward.ribe...@gmail.com>
> >> > > >> wrote:
> >> > > >>
> >> > > >>> Dear community,
> >> > > >>>
> >> > > >>> The zk-merger-pr.py script has been merged into master (thanks a
> >> LOT
> >> > > Ben
> >> > > >>> Reed for reviewing/discussing/testing and commiting):
> >> > > >>> https://issues.apache.org/jira/browse/ZOOKEEPER-2597
> >> > > >>>
> >> > > >>> As stated in the issue and on GH, this tool is a modified
> version
> >> of
> >> > > >>> similar tools from Kafka, that is a copy of a Spark's one. It
> has
> >> > some
> >> > > >>> rough edges so we will certainly benefit from further
> enhancements
> >> > and
> >> > > >>> fixes. I changed the smallest possible pieces of code, just to
> >> make
> >> > it
> >> > > >>> work
> >> > > >>> on a ZK repo so the credits go to the original authors.
> >> > > >>>
> >> > > >>> Some notes:
> >> > > >>>
> >> > > >>> 1. The git PR *review* comments for ZOOKEEPER-2597 didn't show
> up
> >> on
> >> > > JIRA.
> >> > > >>> Only the opening and closing of the issue. Can we double check
> >> this
> >> > as
> >> > > >>> INFRA-12752 is closed, Michael Han?
> >> > > >>>
> >> > > >>> 2. I scribbled a draft on how use the tool at
> >> > > >>> https://docs.google.com/document/d/1i00ZXjrW2fu17vr_h7F1bUrq
> >> > > >>> Xg3urw4Hm7KirQDpPIU/edit
> >> > > >>> (still very crude, but feel free to improve it). I would like to
> >> move
> >> > > >>> this
> >> > > >>> text to https://cwiki.apache.org/confl
> >> uence/display/ZOOKEEPER/Index
> >> > > but
> >> > > >>> looks like I don't have permission to create a page there yet.
> Any
> >> > > help?
> >> > > >>>
> >> > > >>> Best regards,
> >> > > >>> Eddie
> >> > > >>>
> >> > > >>> On Sat, Oct 22, 2016 at 7:08 PM, Michael Han  >
> >> > > wrote:
> >> > > >>>
> >> > >  FYI infra did some work in INFRA-12752 

[jira] [Resolved] (ZOOKEEPER-2632) Add option to inform JIRA_PASSWORD at CLI prompt

2016-11-18 Thread Patrick Hunt (JIRA)

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

Patrick Hunt resolved ZOOKEEPER-2632.
-
   Resolution: Fixed
 Hadoop Flags: Reviewed
Fix Version/s: 3.6.0

Thanks Edward, this is very helpful. Committed to trunk.

> Add option to inform JIRA_PASSWORD at CLI prompt 
> -
>
> Key: ZOOKEEPER-2632
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2632
> Project: ZooKeeper
>  Issue Type: Improvement
>Reporter: Edward Ribeiro
>Assignee: Edward Ribeiro
>Priority: Trivial
> Fix For: 3.6.0
>
>
> Adds the option to prompt for the JIRA password if JIRA_USERNAME is set, but 
> JIRA_PASSWORD is not. Also, asks if the user wants to continue the merge 
> process if the python jira lib is not installed.



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


[jira] [Commented] (ZOOKEEPER-2460) Remove javacc dependency from public Maven pom

2016-11-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on ZOOKEEPER-2460:
---

Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/76
  
Any update to the PR (including close - reopen) should trigger a pre-commit 
build.


> Remove javacc dependency from public Maven pom
> --
>
> Key: ZOOKEEPER-2460
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2460
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: java client
>Affects Versions: 3.5.2
>Reporter: Enrico Olivelli
>Priority: Critical
>
> during the vote of 3.5.2-ALPHA RC 0 we found a Maven dependency to javacc in 
> published pom for zookeeper
> {code}
> 
> net.java.dev.javacc
> javacc
> 5.0compile
> 
> {code}
> this dependency appears not to be useful and should be removed
> this was the tested pom: 
> https://repository.apache.org/content/groups/staging/org/apache/zookeeper/zookeeper/3.5.2-alpha/zookeeper-3.5.2-alpha.pom



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


[GitHub] zookeeper issue #76: ZOOKEEPER-2460 Remove javacc dependency from public Mav...

2016-11-18 Thread hanm
Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/76
  
Any update to the PR (including close - reopen) should trigger a pre-commit 
build.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: ZK-2014

2016-11-18 Thread Michael Han
Do we need regenerate documents every time if the commit contains changes
to document source? Looking through the past commits that touch the doc
source, I don't see a consistent pattern. Sometimes we regenerate doc,
sometimes we don't. I assume this is not a big deal as every release will
force regenerate documents anyway.

On Fri, Nov 18, 2016 at 11:51 AM, Patrick Hunt  wrote:

> On Sun, Nov 13, 2016 at 5:09 PM, Flavio Junqueira  wrote:
>
> > I have merged ZK-2014, many thanks to Michael for the work, that's an
> > important issue for this project.
> >
> > One thing missing with respect to ZK-2014 is documentation. The pull
> > request contained doc changes, but I didn't want to mess with the work of
> > the merge script so I haven't regenerated the docs. I'll do it
> separately,
> > but for awareness, I want to make sure that we all know that it needs to
> > happen.
> >
> >
> Is there a JIRA for this? If not one should be created.
>
> Patrick
>



-- 
Cheers
Michael.


[jira] [Commented] (ZOOKEEPER-1045) Support Quorum Peer mutual authentication via SASL

2016-11-18 Thread Patrick Hunt (JIRA)

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

Patrick Hunt commented on ZOOKEEPER-1045:
-

I reviewed the docs and they look great. Rakesh what is your plan re the docs 
once 1045 lands, are you going to just add them to the bottom of this page as a 
new section?
https://cwiki.apache.org/confluence/display/ZOOKEEPER/Zookeeper+and+SASL
or are you planning to create a new wiki page? I assume you're not planning to 
include them in the patch as part of the forrest documentation?

> Support Quorum Peer mutual authentication via SASL
> --
>
> Key: ZOOKEEPER-1045
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1045
> Project: ZooKeeper
>  Issue Type: New Feature
>  Components: quorum, security
>Reporter: Eugene Koontz
>Assignee: Rakesh R
>Priority: Critical
> Fix For: 3.4.10, 3.5.3
>
> Attachments: 0001-ZOOKEEPER-1045-br-3-4.patch, 
> 1045_failing_phunt.tar.gz, HOST_RESOLVER-ZK-1045.patch, QuorumPeer Mutual 
> Authentication Via Sasl Feature Doc - 2016-Nov-10.pdf, QuorumPeer Mutual 
> Authentication Via Sasl Feature Doc - 2016-Sep-25.pdf, 
> TEST-org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.txt, 
> ZK-1045-test-case-failure-logs.zip, ZOOKEEPER-1045 Test Plan.pdf, 
> ZOOKEEPER-1045-00.patch, ZOOKEEPER-1045-Rolling Upgrade Design Proposal.pdf, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, ZOOKEEPER-1045-br-3-4.patch, 
> ZOOKEEPER-1045TestValidationDesign.pdf, 
> org.apache.zookeeper.server.quorum.auth.QuorumAuthUpgradeTest.testRollingUpgrade.log
>
>
> ZOOKEEPER-938 addresses mutual authentication between clients and servers. 
> This bug, on the other hand, is for authentication among quorum peers. 
> Hopefully much of the work done on SASL integration with Zookeeper for 
> ZOOKEEPER-938 can be used as a foundation for this enhancement.
> Review board: https://reviews.apache.org/r/47354/



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


[jira] [Commented] (ZOOKEEPER-2460) Remove javacc dependency from public Maven pom

2016-11-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on ZOOKEEPER-2460:
---

Github user eolivelli commented on the issue:

https://github.com/apache/zookeeper/pull/76
  
Now can zookeeper accepts PRs what should I do  to make the QA bot pick 
this one?


> Remove javacc dependency from public Maven pom
> --
>
> Key: ZOOKEEPER-2460
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2460
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: java client
>Affects Versions: 3.5.2
>Reporter: Enrico Olivelli
>Priority: Critical
>
> during the vote of 3.5.2-ALPHA RC 0 we found a Maven dependency to javacc in 
> published pom for zookeeper
> {code}
> 
> net.java.dev.javacc
> javacc
> 5.0compile
> 
> {code}
> this dependency appears not to be useful and should be removed
> this was the tested pom: 
> https://repository.apache.org/content/groups/staging/org/apache/zookeeper/zookeeper/3.5.2-alpha/zookeeper-3.5.2-alpha.pom



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


[GitHub] zookeeper issue #76: ZOOKEEPER-2460 Remove javacc dependency from public Mav...

2016-11-18 Thread eolivelli
Github user eolivelli commented on the issue:

https://github.com/apache/zookeeper/pull/76
  
Now can zookeeper accepts PRs what should I do  to make the QA bot pick 
this one?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Test plan for ZK-1045 - Call for volunteers

2016-11-18 Thread Patrick Hunt
As Flavio said originally on this thread this is a big change. Based on the
current status of the patch and the testing feedback it seems like we've
done significant work to ensure the quality of the change. Do folks feel
that there has been sufficient review/testing that we can commit this and
cut a 3.5.10 release? If not what specifically is left?

Patrick

On Wed, Nov 2, 2016 at 8:51 AM, Andrew Purtell  wrote:

> > My view on this-> Since ZK server
> > already has "jaas.config" in place for client-server auth, IMHO to
> continue
>
> Right, also build the client-server authentication context programatically.
>
> > How about pushing the current
> > approach as a first step and based on the community interests later we
> > could enhance this feature by programmatically builds the JAAS context.
>
> Yes, this is what I was suggesting.
>
> Thanks for considering the idea.
>
> > 1) A bad host or bad Kerb principal is keep on trying to establish
> > connection with the Quorum.
>
> > 2) Trigger FLE several times.
>
> Let me get back to you.
>
> I think it would also not be difficult to create a new unit test that
> extends ​QuorumHammerTest (like ObserverQuorumHammerTest), sets up a secure
> configuration using the minikdc, and then uses QuorumBase methods to start
> and stop quorum peers at random while the generated load is hitting the
> quorum.
>
>
> On Wed, Nov 2, 2016 at 7:15 AM, Rakesh Radhakrishnan 
> wrote:
>
> > Thanks a lot Andrew Purtell for your time and comments.
> >
> > >I like how Hadoop programmatically builds the JAAS context from its
> > >configuration such that the JAAS configuration file and definition
> of
> > >system property pointing to same are not needed. Would be nice if ZK
> > could
> > >optionally do the same, that would be one fewer config file to get
> > >precisely right.
> >
> > Its really an interesting thought. My view on this-> Since ZK server
> > already has "jaas.config" in place for client-server auth, IMHO to
> continue
> > with this jaas config and allows to configure the 'QuorumServer' &
> > 'QuorumLearner' quorum auth sections. How about pushing the current
> > approach as a first step and based on the community interests later we
> > could enhance this feature by programmatically builds the JAAS context.
> > Does this makes sense to you?
> >
> >
> > Any suggestions on some kind of hammer test to apply now ?
> > 1) A bad host or bad Kerb principal is keep on trying to establish
> > connection with the Quorum. Mostly this will increase the load on Leader
> ZK
> > server and observe how the system behaves.
> > 2) Trigger FLE several times. This can be done by finding out newly
> elected
> > Leader and kill it. Probably can do this many times.
> >
> >
> > Dear Committers,
> >
> > Could you please help me pushing ZOOKEEPER-2479 this in. This would help
> to
> > evaluate the time taken for FLE(enable or disable auth) and used to
> compare
> > time taken in several runs programatically in scripts or so. Thanks!
> >
> > Thanks,
> > Rakesh
> >
> > On Wed, Nov 2, 2016 at 6:59 AM, Andrew Purtell 
> > wrote:
> >
> > > I would like to relay a working example of a patched 3.4.9 ZK cluster
> > > running on one host (without containers). I can confirm mutual SASL
> auth
> > > among the quorum is required and enforced because when instances were
> > > slightly misconfigured with incorrect principal strings they couldn't
> > > participate in the quorum.
> > >
> > > 1. Assign extra loopback addresses. Example below is what you need to
> do
> > > for FreeBSD:
> > >
> > > $ sudo ifconfig lo0 127.0.1.1 netmask 255.255.255.0 alias
> > > $ sudo ifconfig lo0 127.0.2.1 netmask 255.255.255.0 alias
> > > $ sudo ifconfig lo0 127.0.3.1 netmask 255.255.255.0 alias
> > >
> > > 2. Create Kerberos principals. Example below is for Heimdal, MIT will
> be
> > > similar:
> > >
> > > $ sudo kadmin -l
> > > > add --random-key zookeeper
> > > > add --random-key zookeeper/127.0.1.1
> > > > add --random-key zookeeper/127.0.2.1
> > > > add --random-key zookeeper/127.0.3.1
> > > > ext_keytab --keytab /var/tmp/test/zookeeper.keytab zookeeper
> > > > ext_keytab --keytab /var/tmp/test/zookeeper.keytab zookeeper/
> 127.0.1.1
> > > > ext_keytab --keytab /var/tmp/test/zookeeper.keytab zookeeper/
> 127.0.2.1
> > > > ext_keytab --keytab /var/tmp/test/zookeeper.keytab zookeeper/
> 127.0.3.1
> > > > exit
> > >
> > > 3. Patch ZK with 1045, build a tarball, then unpack it into three
> install
> > > directories. Mine are /var/tmp/test/{1,2,3}.
> > >
> > > 4. Initialize 'myid' files:
> > >
> > > $ mkdir /var/tmp/test/1/data
> > > $ echo 1 > /var/tmp/test/1/data/myid
> > > $ mkdir /var/tmp/test/2/data
> > > $ echo 2 > /var/tmp/test/2/data/myid
> > > $ mkdir /var/tmp/test/3/data
> > > $ echo 3 > /var/tmp/test/3/data/myid
> > >
> > > 5. Create configuration files for each instance. Below are examples for
> > > instance 1. You will need to make 

Re: ZK-2014

2016-11-18 Thread Patrick Hunt
On Sun, Nov 13, 2016 at 5:09 PM, Flavio Junqueira  wrote:

> I have merged ZK-2014, many thanks to Michael for the work, that's an
> important issue for this project.
>
> One thing missing with respect to ZK-2014 is documentation. The pull
> request contained doc changes, but I didn't want to mess with the work of
> the merge script so I haven't regenerated the docs. I'll do it separately,
> but for awareness, I want to make sure that we all know that it needs to
> happen.
>
>
Is there a JIRA for this? If not one should be created.

Patrick


ZooKeeper-trunk-openjdk7 - Build # 1245 - Still Failing

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1245/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H17 (ubuntu) in workspace 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > git://git.apache.org/zookeeper.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 179c8db6df20beccd64fac2c99ca77dbe8a3242c 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 179c8db6df20beccd64fac2c99ca77dbe8a3242c
 > git rev-list 179c8db6df20beccd64fac2c99ca77dbe8a3242c # timeout=10
No emails were triggered.
[ZooKeeper-trunk-openjdk7] $ /home/jenkins/tools/ant/latest/bin/ant 
-Dtest.output=yes -Dtest.junit.threads=8 -Dtest.junit.output.format=xml 
-Djavac.target=1.7 clean test-core-java
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Invoke Ant' marked build as failure
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

Re: [DISCUSS] QA github pre-commit queue

2016-11-18 Thread Patrick Hunt
On Wed, Nov 9, 2016 at 6:46 PM, Flavio Junqueira  wrote:

>
> > On 09 Nov 2016, at 10:39, Patrick Hunt  wrote:
> >
> > What are the implications of moving away from JIRA patches? Any legal/IP?
> > Also PRs are through github.com, which is not infra owned by Apache.
>
> This is supported by infra:
>
> https://reference.apache.org/pmc/github
>
> > If
> > that service ever goes away we'll lose that information.
>
> Comments on the pull request are currently propagated to the corresponding
> jira. See for example ZOOKEEPER-1525.
>
> > What are other
> > projects doing in this regard?
>
> I'm aware of at least 3 projects: Spark, Kafka, and BookKeeper.
>
> >  Any impact on our workflows outside of
> > qabot? e.g. release other other activity tracking?
>
> Not that I'm aware of. The only difference if we make this change is that
> patch available would be set by our script and the script won't look for a
> patch in the jira.
>
>
Sounds reasonable - there are no downsides then?

Patrick


>
> >
> > Patrick
> >
> > On Tue, Nov 8, 2016 at 6:37 PM, Flavio P JUNQUEIRA 
> wrote:
> >
> >> I don't have any strong argument for keeping the Jira patches other than
> >> the fact that this is what we have been doing since the project was
> >> created. If there is anyone who do not want to use github in the
> community,
> >> please speak up.
> >>
> >> -Flavio
> >>
> >> On Mon, Nov 7, 2016 at 9:49 AM, Michael Han  wrote:
> >>
> >>> +1 for disabling jira qa and only support pull request for code change
> >>> contributions. Besides making support easier this approach is also
> >> aligned
> >>> with what Spark and Kafka is doing, and being consistent across Apache
> >>> projects regarding how to use PR seems a good thing to do.
> >>>
> > have the tool upload the *.patch file to Jira for archiving purposes.
> >>> I think nothing will prevent a user submit a patch file to JIRA with
> our
> >>> script changes, so the functionality of archiving patches will still
> >> work.
> >>> Though, I noticed that Kafka [1] and Spark [2] explicitly stated that
> do
> >>> not include patch file in JIRA for code contributions, so probably we'd
> >> do
> >>> this too for consistency purpose? Are there any benefit of archiving
> >>> patches given we prefer (or actually require) pull request instead of
> >>> patches?
> >>>
> >>> [1]
> >>> https://cwiki.apache.org/confluence/display/KAFKA/
> >>> Contributing+Code+Changes#ContributingCodeChanges-PullRequest
> >>> [2]
> >>> https://cwiki.apache.org/confluence/display/SPARK/
> Contributing+to+Spark#
> >>> ContributingtoSpark-PullRequest
> >>>
> >>> On Mon, Nov 7, 2016 at 8:04 AM, Edward Ribeiro <
> edward.ribe...@gmail.com
> >>>
> >>> wrote:
> >>>
>  I am +1 about having patches submitted via PRs. IMHO, we should
> disable
> >>> the
>  Jira QA altogether, but have the tool upload the *.patch file to Jira
> >> for
>  archiving purposes.
> 
>  On Sun, Nov 6, 2016 at 6:42 PM, Raúl Gutiérrez Segalés <
>  r...@itevenworks.net>
>  wrote:
> 
> > On 6 November 2016 at 11:54, Flavio Junqueira 
> >> wrote:
> >
> >> ZOOKEEPER-2624 has been merged, thank Raul, Ben and Michael for
> > reviewing.
> >>
> >> The QA for pull requests should be working for pull requests agains
> >> master, but let's keep an eye and polish any rough edges that might
>  still
> >> be there.
> >>
> >> With ZOOKEEPER-2624 in, there is one last major decision we need to
>  make
> >> to wrap this up. The pull request QA currently do not make a jira
> >>> patch
> >> available. This is intentional because making it patch available
> >> will
> >> trigger the original Jira QA, which will be confusing because we
> >> will
> > see a
> >> failure (I haven't tested, but I think that's what's going to
> >>> happen).
>  If
> >> we change the script to make the Jira patch available, then we need
> >>> to
> >> either:
> >>
> >> 1- Disable the Jira QA altogether, which means that we will only
> >> have
> > pull
> >> request QA available
> >> 2- Make the Jira QA script spot that there is a pull request
> >>> available
> > and
> >> not build it.
> >>
> >> I'm wondering if folks would be ok with only having patches
> >> submitted
>  via
> >> pull requests or if we should continue to support the old Jira QA.
> >>
> >
> > I am +1 on only having patches submitted via PRs, it's simpler to
> >> only
>  have
> > to support one method. Thanks Flavio for making this happen!
> >
> >
> > -rgs
> >
> 
> >>>
> >>>
> >>>
> >>> --
> >>> Cheers
> >>> Michael.
> >>>
> >>
>
>


[GitHub] zookeeper issue #109: Zookeeper 2542

2016-11-18 Thread hanm
Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/109
  
@rakeshadr Not sure why this PR contains many irrelevant commits - maybe 
you need first rebase your working branch against branch-3.4? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


ZooKeeper_branch35_solaris - Build # 321 - Still Failing

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/321/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 462988 lines...]
[junit] 2016-11-18 17:16:23,138 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:36040
[junit] 2016-11-18 17:16:23,138 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-11-18 17:16:23,139 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:36040 (no session established for client)
[junit] 2016-11-18 17:16:23,139 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-11-18 17:16:23,141 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-11-18 17:16:23,141 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-11-18 17:16:23,142 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-11-18 17:16:23,142 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-11-18 17:16:23,142 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17745
[junit] 2016-11-18 17:16:23,143 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-11-18 17:16:23,143 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-11-18 17:16:23,143 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-11-18 17:16:23,261 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-11-18 17:16:23,261 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-11-18 17:16:24,901 [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-11-18 17:16:24,901 [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-11-18 17:16:24,902 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:36041
[junit] 2016-11-18 17:16:24,903 [myid:] - INFO  
[NIOWorkerThread-2:ZooKeeperServer@1001] - Client attempting to renew session 
0x124f56abf4f at /127.0.0.1:36041
[junit] 2016-11-18 17:16:24,903 [myid:] - INFO  
[NIOWorkerThread-2:ZooKeeperServer@710] - Established session 0x124f56abf4f 
with negotiated timeout 3 for client /127.0.0.1:36041
[junit] 2016-11-18 17:16:24,904 [myid:127.0.0.1:11222] - INFO  
[main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1381] - Session 
establishment complete on server null, sessionid = 0x124f56abf4f, 
negotiated timeout = 3
[junit] 2016-11-18 17:16:24,905 [myid:] - INFO  [ProcessThread(sid:0 
cport:11222)::PrepRequestProcessor@656] - Processed session termination for 
sessionid: 0x124f56abf4f
[junit] 2016-11-18 17:16:24,905 [myid:] - INFO  
[SyncThread:0:FileTxnLog@204] - Creating new log file: log.c
[junit] 2016-11-18 17:16:24,908 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x124f56abf4f closed
[junit] 2016-11-18 17:16:24,908 [myid:] - INFO  
[NIOWorkerThread-5:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=Connections,name2=127.0.0.1,name3=0x124f56abf4f]
[junit] 2016-11-18 17:16:24,908 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x124f56abf4f
[junit] 2016-11-18 17:16:24,908 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-11-18 17:16:24,908 [myid:] - INFO  
[NIOWorkerThread-5:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:36041 which had sessionid 0x124f56abf4f
[junit] 2016-11-18 17:16:24,909 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-11-18 17:16:24,909 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-11-18 17:16:24,909 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-11-18 17:16:24,909 

ZooKeeper_branch34_openjdk7 - Build # 1279 - Failure

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_openjdk7/1279/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H13 (ubuntu) in workspace 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > git://git.apache.org/zookeeper.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/branch-3.4^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/branch-3.4^{commit} # timeout=10
Checking out Revision 967c3a71bd8eaf1ac29b2702173115976874bd8e 
(refs/remotes/origin/branch-3.4)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 967c3a71bd8eaf1ac29b2702173115976874bd8e
 > git rev-list 967c3a71bd8eaf1ac29b2702173115976874bd8e # timeout=10
No emails were triggered.
[ZooKeeper_branch34_openjdk7] $ /home/jenkins/tools/ant/latest/bin/ant 
-Dtest.output=yes -Dtest.junit.threads=8 -Dtest.junit.output.format=xml 
-Djavac.target=1.7 clean test-core-java
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Invoke Ant' marked build as failure
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

ZooKeeper-trunk-jdk8 - Build # 825 - Failure

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/825/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 494479 lines...]
[junit] 2016-11-18 12:00:04,642 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1010b050fb3
[junit] 2016-11-18 12:00:04,643 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 194092
[junit] 2016-11-18 12:00:04,643 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1643
[junit] 2016-11-18 12:00:04,643 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-11-18 12:00:04,643 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-11-18 12:00:04,643 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-11-18 12:00:04,643 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:11466
[junit] 2016-11-18 12:00:04,645 [myid:] - INFO  [main:ZooKeeperServer@531] 
- shutting down
[junit] 2016-11-18 12:00:04,646 [myid:] - ERROR [main:ZooKeeperServer@503] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-11-18 12:00:04,646 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-11-18 12:00:04,646 [myid:] - INFO  
[main:PrepRequestProcessor@1009] - Shutting down
[junit] 2016-11-18 12:00:04,646 [myid:127.0.0.1:11343] - INFO  
[main-SendThread(127.0.0.1:11343):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:11343. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-11-18 12:00:04,646 [myid:] - INFO  [ProcessThread(sid:0 
cport:11466)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2016-11-18 12:00:04,646 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-11-18 12:00:04,647 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-11-18 12:00:04,647 [myid:127.0.0.1:11343] - WARN  
[main-SendThread(127.0.0.1:11343):ClientCnxn$SendThread@1235] - Session 
0x1010b01aca4 for server 127.0.0.1/127.0.0.1:11343, unexpected error, 
closing socket connection and attempting reconnect
[junit] java.net.ConnectException: Connection refused
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-11-18 12:00:04,647 [myid:] - INFO  
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2016-11-18 12:00:04,647 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port11466,name1=InMemoryDataTree]
[junit] 2016-11-18 12:00:04,647 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11466]
[junit] 2016-11-18 12:00:04,648 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11466
[junit] 2016-11-18 12:00:04,648 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-11-18 12:00:04,653 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 4841 at start it was 4845
[junit] 2016-11-18 12:00:04,653 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-11-18 12:00:04,653 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
600.767 sec, Thread: 1, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2016-11-18 12:00:05,144 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-11-18 12:00:05,144 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-11-18 12:00:05,238 [myid:127.0.0.1:11349] - INFO  
[main-SendThread(127.0.0.1:11349):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:11349. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-11-18 12:00:05,239 [myid:127.0.0.1:11349] - WARN  
[main-SendThread(127.0.0.1:11349):ClientCnxn$SendThread@1235] - Session 
0x3010b01ad96 for server 127.0.0.1/127.0.0.1:11349, unexpected error, 
closing socket connection and attempting reconnect
[junit] java.net.ConnectException: Connection refused
[junit] at 

[jira] [Commented] (ZOOKEEPER-2565) listquota should display the quota even it is set on parent/child node

2016-11-18 Thread Edward Ribeiro (JIRA)

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

Edward Ribeiro commented on ZOOKEEPER-2565:
---

Sure! :) Make sure you open a Github Pull Request with the same title as the 
issue you are working on.

Further instructions here: 
https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute

> listquota  should display the quota even it is set on parent/child node
> -
>
> Key: ZOOKEEPER-2565
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2565
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.5.1
>Reporter: Rakesh Kumar Singh
>Assignee: Rakesh Kumar Singh
>Priority: Minor
>
> listquota  should display the quota even it is set on parent/child 
> node. As of now if we have a parent-child hierarchy for example n1->n2->n3 
> and quota is set for n2. If we try to get quota details on n1 and n3 using 
> listquota, it says no quota set but if try to set the quota on those nodes it 
> fails saying quota is already set on parent node...
> So listquota should fetch the quota set on any node in hierarchy with exact 
> path (on which quota is set) even though this api is called on any other node 
> in that hierarchy.



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


ZooKeeper_branch35_openjdk7 - Build # 301 - Still Failing

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/301/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 106 lines...]
... 11 more
ERROR: null
Retrying after 10 seconds
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
git://git.apache.org/zookeeper.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:799)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1055)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1086)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: hudson.plugins.git.GitException: Command "git config 
remote.origin.url git://git.apache.org/zookeeper.git" returned status code 4:
stdout: 
stderr: error: failed to write new configuration file 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_openjdk7/.git/config.lock

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1723)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1699)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1695)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1317)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1329)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setRemoteUrl(CliGitAPIImpl.java:1031)
at hudson.plugins.git.GitAPI.setRemoteUrl(GitAPI.java:160)
at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:884)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:859)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:818)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:332)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at ..remote call to H16(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:781)
at 
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:249)
at com.sun.proxy.$Proxy151.setRemoteUrl(Unknown Source)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl.setRemoteUrl(RemoteGitImpl.java:298)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:787)
... 11 more
ERROR: null
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

[jira] [Commented] (ZOOKEEPER-2355) Ephemeral node is never deleted if follower fails while reading the proposal packet

2016-11-18 Thread Rakesh R (JIRA)

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

Rakesh R commented on ZOOKEEPER-2355:
-

Hi [~arshad.mohammad],  it is better to open a pull request for wider reviews. 
Could you make the PR, please?. Since this is a critical issue, it would be 
good to get one more +1 from a committer.

> 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.4.10, 3.5.3
>
> Attachments: ZOOKEEPER-2355-01.patch, ZOOKEEPER-2355-02.patch, 
> ZOOKEEPER-2355-03.patch, ZOOKEEPER-2355-04.patch, ZOOKEEPER-2355-05.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-2542) Update NOTICE file with Netty notice in 3.4

2016-11-18 Thread Rakesh R (JIRA)

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

Rakesh R commented on ZOOKEEPER-2542:
-

[~fpj], I've created a PR  https://github.com/apache/zookeeper/pull/109 by 
referring ZOOKEEPER-2459 fix.

> Update NOTICE file with Netty notice in 3.4
> ---
>
> Key: ZOOKEEPER-2542
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2542
> Project: ZooKeeper
>  Issue Type: Bug
>Affects Versions: 3.4.9
>Reporter: Flavio Junqueira
>Assignee: Flavio Junqueira
>Priority: Blocker
>  Labels: newbie
> Fix For: 3.4.10
>
>
> We need to update the NOTICE file in the 3.4 branch as we did for 3.5 and 
> trunk, see ZOOKEEPER-2459.



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


Failed: ZOOKEEPER- PreCommit Build #80

2016-11-18 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/80/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 26 lines...]
Done: 9
  Compressing objects
Done: 4251
  Writing objects
Done: 13
  remote: Resolving deltas
  remote: Updating references
Merging refs/tags/changes/80
 > git rev-parse refs/tags/changes/80^{commit} # timeout=10
 > git merge 464334c735dfd0dfe618a2c1e86b14a17d93667e # timeout=10
 > git rev-parse branch-3.4^{commit} # timeout=10
Checking out Revision 464334c735dfd0dfe618a2c1e86b14a17d93667e (branch-3.4)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 464334c735dfd0dfe618a2c1e86b14a17d93667e
 > git rev-parse origin/branch-3.4^{commit} # timeout=10
 > git rev-list 967c3a71bd8eaf1ac29b2702173115976874bd8e # timeout=10
No emails were triggered.
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[PreCommit-ZOOKEEPER-github-pr-build] $ /bin/bash 
/tmp/hudson5532139859436565836.sh
/home/jenkins/tools/java/latest1.7/bin/java
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386178
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
Buildfile: 
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml

BUILD FAILED
Target "qa-test-pullrequest" does not exist in the project "ZooKeeper". 

Total time: 0 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?
[description-setter] Could not determine description.
Putting comment on the pull request
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



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

Failed: ZOOKEEPER- PreCommit Build #79

2016-11-18 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/79/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 25 lines...]
Done: 5269
  Compressing objects
Done: 2893811
  Writing objects
Done: 17257
  remote: Resolving deltas
  remote: Updating references
Merging refs/tags/changes/79
 > git rev-parse refs/tags/changes/79^{commit} # timeout=10
 > git merge ee4c1418b7e6af505a50cbf5ae197c0e13832b2e # timeout=10
 > git rev-parse branch-3.4^{commit} # timeout=10
Checking out Revision ee4c1418b7e6af505a50cbf5ae197c0e13832b2e (branch-3.4)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ee4c1418b7e6af505a50cbf5ae197c0e13832b2e
 > git rev-parse origin/branch-3.4^{commit} # timeout=10
 > git rev-list 967c3a71bd8eaf1ac29b2702173115976874bd8e # timeout=10
No emails were triggered.
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[PreCommit-ZOOKEEPER-github-pr-build] $ /bin/bash 
/tmp/hudson2351914843495869583.sh
/home/jenkins/tools/java/latest1.7/bin/java
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386178
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
Buildfile: 
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml

BUILD FAILED
Target "qa-test-pullrequest" does not exist in the project "ZooKeeper". 

Total time: 0 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?
[description-setter] Could not determine description.
Putting comment on the pull request
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



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

[GitHub] zookeeper pull request #109: Zookeeper 2542

2016-11-18 Thread rakeshadr
GitHub user rakeshadr opened a pull request:

https://github.com/apache/zookeeper/pull/109

Zookeeper 2542



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rakeshadr/zookeeper-1 ZOOKEEPER-2542

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zookeeper/pull/109.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #109


commit 0490eb86c2b5e7349f4e52d600ad91bd680af116
Author: Henry Robinson 
Date:   2012-08-02T22:18:57Z

ZOOKEEPER-1514. FastLeaderElection - leader ignores the round information 
when joining a quorum (flavio via henryr)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1368739 
13f79535-47bb-0310-9956-ffa450edef68

commit 9dc9c00da5830a29df1c1633ffc0ae82e7c6c209
Author: Patrick D. Hunt 
Date:   2012-08-28T19:57:18Z

ZOOKEEPER-1497. Allow server-side SASL login with JAAS configuration to be 
programmatically set (rather than only by reading JAAS configuration file) 
(Matteo Bertozzi via phunt)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1378287 
13f79535-47bb-0310-9956-ffa450edef68

commit 679164cd0173920ccd6e70ecb0d965650ad40666
Author: Michi Mutsuzaki 
Date:   2012-08-30T19:26:58Z

ZOOKEEPER-1536 c client : memory leak in winport.c (brooklin via michim)


git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1379080 
13f79535-47bb-0310-9956-ffa450edef68

commit 82b1e77ca54c2963ae6558ff5479f125178873d5
Author: Michi Mutsuzaki 
Date:   2012-08-30T20:41:08Z

ZOOKEEPER-1481 allow the C cli to run exists with a watcher (phunt via 
michim)


git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1379132 
13f79535-47bb-0310-9956-ffa450edef68

commit 821b5db5029fe498fcdf6de8b5c8a283e5c9bf6e
Author: Michi Mutsuzaki 
Date:   2012-09-04T23:26:07Z

ZOOKEEPER-1105 c client zookeeper_close not send CLOSE_OP request to server 
(lincoln.lee via michim)


git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1380932 
13f79535-47bb-0310-9956-ffa450edef68

commit a6648c6a6dc1ce79e4d194d598e479b6921525fa
Author: Mahadev Konar 
Date:   2012-09-07T06:13:38Z

ZOOKEEPER-1380. zkperl: _zk_release_watch doesn't remove items properly 
from the watch list. (Botond Hejj via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1381895 
13f79535-47bb-0310-9956-ffa450edef68

commit d12aa1ebcf0b1c967f79cef14976a07432b70e4c
Author: Mahadev Konar 
Date:   2012-09-07T06:28:55Z

ZOOKEEPER-1501. Nagios plugin always returns OK when it cannot connect to 
zookeeper. (Brian Sutherland via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1381901 
13f79535-47bb-0310-9956-ffa450edef68

commit 4ee471b8243650d5f1447b0161e1cdfef032ed6c
Author: Mahadev Konar 
Date:   2012-09-09T18:22:06Z

ZOOKEEPER-1437. Client uses session before SASL authentication complete. 
(Eugene Koontz via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1382554 
13f79535-47bb-0310-9956-ffa450edef68

commit c009512a61a784d3ca9a0dfafb067c4d062165f1
Author: Mahadev Konar 
Date:   2012-09-10T07:03:23Z

ZOOKEEPER-1494. C client: socket leak after receive timeout in 
zookeeper_interest() (Michi Mutsuzaki via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1382664 
13f79535-47bb-0310-9956-ffa450edef68

commit 81a8093a8137b32ac0227a1b60653e98159d9925
Author: Mahadev Konar 
Date:   2012-09-14T07:33:29Z

ZOOKEEPER-1483. Fix leader election recipe documentation. (Michi Mutsuzaki 
via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1384670 
13f79535-47bb-0310-9956-ffa450edef68

commit f1a1d66d4189fa338ca570d3c80bd7a81e03eb88
Author: Michi Mutsuzaki 
Date:   2012-09-16T21:35:36Z

Revert r1380932: ZOOKEEPER-1105 c client zookeeper_close not send CLOSE_OP
request to server (lincoln.lee via michim)


git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1385380 
13f79535-47bb-0310-9956-ffa450edef68

commit feed2b204fadd4d3dd31001515b05bd79d1b536c
Author: Mahadev Konar 
Date:   2012-09-17T05:03:30Z

ZOOKEEPER-1361. Leader.lead iterates over 'learners' set without proper 
synchronisation. (Henry Robinson via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1386472 
13f79535-47bb-0310-9956-ffa450edef68

commit 

ZooKeeper_branch35_jdk7 - Build # 736 - Still Failing

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/736/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 475618 lines...]
[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-11-18 08:51:58,574 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port19545,name1=Connections,name2=127.0.0.1,name3=0x1009651f583]
[junit] 2016-11-18 08:51:58,674 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x1009651f583 closed
[junit] 2016-11-18 08:51:58,674 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1009651f583
[junit] 2016-11-18 08:51:58,674 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 202453
[junit] 2016-11-18 08:51:58,675 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1642
[junit] 2016-11-18 08:51:58,675 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-11-18 08:51:58,675 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-11-18 08:51:58,675 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-11-18 08:51:58,675 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:19545
[junit] 2016-11-18 08:51:58,681 [myid:] - INFO  [main:ZooKeeperServer@530] 
- shutting down
[junit] 2016-11-18 08:51:58,681 [myid:] - ERROR [main:ZooKeeperServer@502] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-11-18 08:51:58,681 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-11-18 08:51:58,681 [myid:] - INFO  
[main:PrepRequestProcessor@974] - Shutting down
[junit] 2016-11-18 08:51:58,681 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-11-18 08:51:58,681 [myid:] - INFO  [ProcessThread(sid:0 
cport:19545)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-11-18 08:51:58,682 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-11-18 08:51:58,682 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-11-18 08:51:58,682 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port19545,name1=InMemoryDataTree]
[junit] 2016-11-18 08:51:58,683 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19545]
[junit] 2016-11-18 08:51:58,683 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 19545
[junit] 2016-11-18 08:51:58,683 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-11-18 08:51:58,689 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 4826 at start it was 4826
[junit] 2016-11-18 08:51:58,689 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-11-18 08:51:58,689 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
578.545 sec, Thread: 4, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2016-11-18 08:51:59,090 [myid:127.0.0.1:19422] - INFO  
[main-SendThread(127.0.0.1:19422):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:19422. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-11-18 08:51:59,091 [myid:127.0.0.1:19422] - WARN  

[jira] [Commented] (ZOOKEEPER-2565) listquota should display the quota even it is set on parent/child node

2016-11-18 Thread kevin.chen (JIRA)

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

kevin.chen commented on ZOOKEEPER-2565:
---

can I work on this issue? 

> listquota  should display the quota even it is set on parent/child node
> -
>
> Key: ZOOKEEPER-2565
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2565
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.5.1
>Reporter: Rakesh Kumar Singh
>Assignee: Rakesh Kumar Singh
>Priority: Minor
>
> listquota  should display the quota even it is set on parent/child 
> node. As of now if we have a parent-child hierarchy for example n1->n2->n3 
> and quota is set for n2. If we try to get quota details on n1 and n3 using 
> listquota, it says no quota set but if try to set the quota on those nodes it 
> fails saying quota is already set on parent node...
> So listquota should fetch the quota set on any node in hierarchy with exact 
> path (on which quota is set) even though this api is called on any other node 
> in that hierarchy.



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


Failed: ZOOKEEPER- PreCommit Build #78

2016-11-18 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/78/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 25 lines...]
Done: 5270
  Compressing objects
Done: 2893811
  Writing objects
Done: 17260
  remote: Resolving deltas
  remote: Updating references
Merging refs/tags/changes/78
 > git rev-parse refs/tags/changes/78^{commit} # timeout=10
 > git merge 4da5864c22fd1ba5976e98748354bec0d4005715 # timeout=10
 > git rev-parse branch-3.4^{commit} # timeout=10
Checking out Revision 4da5864c22fd1ba5976e98748354bec0d4005715 (branch-3.4)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4da5864c22fd1ba5976e98748354bec0d4005715
 > git rev-parse origin/branch-3.4^{commit} # timeout=10
 > git rev-list 967c3a71bd8eaf1ac29b2702173115976874bd8e # timeout=10
No emails were triggered.
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[PreCommit-ZOOKEEPER-github-pr-build] $ /bin/bash 
/tmp/hudson3038926083935874647.sh
/home/jenkins/tools/java/latest1.7/bin/java
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386178
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
Buildfile: 
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml

BUILD FAILED
Target "qa-test-pullrequest" does not exist in the project "ZooKeeper". 

Total time: 0 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?
[description-setter] Could not determine description.
Putting comment on the pull request
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



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

[GitHub] zookeeper pull request #108: Zookeeper 2542

2016-11-18 Thread rakeshadr
Github user rakeshadr closed the pull request at:

https://github.com/apache/zookeeper/pull/108


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Failed: ZOOKEEPER- PreCommit Build #77

2016-11-18 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/77/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 25 lines...]
Done: 5269
  Compressing objects
Done: 2893811
  Writing objects
Done: 17256
  remote: Resolving deltas
  remote: Updating references
Merging refs/tags/changes/77
 > git rev-parse refs/tags/changes/77^{commit} # timeout=10
 > git merge b6fb558527688ae7cee37c65ddb791f2ca81cfb0 # timeout=10
 > git rev-parse branch-3.4^{commit} # timeout=10
Checking out Revision b6fb558527688ae7cee37c65ddb791f2ca81cfb0 (branch-3.4)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b6fb558527688ae7cee37c65ddb791f2ca81cfb0
 > git rev-parse origin/branch-3.4^{commit} # timeout=10
 > git rev-list 967c3a71bd8eaf1ac29b2702173115976874bd8e # timeout=10
No emails were triggered.
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[PreCommit-ZOOKEEPER-github-pr-build] $ /bin/bash 
/tmp/hudson2412169416318564696.sh
/home/jenkins/tools/java/latest1.7/bin/java
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386178
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
Buildfile: 
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml

BUILD FAILED
Target "qa-test-pullrequest" does not exist in the project "ZooKeeper". 

Total time: 0 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?
[description-setter] Could not determine description.
Putting comment on the pull request
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



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

[GitHub] zookeeper pull request #108: Zookeeper 2542

2016-11-18 Thread rakeshadr
GitHub user rakeshadr opened a pull request:

https://github.com/apache/zookeeper/pull/108

Zookeeper 2542



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rakeshadr/zookeeper-1 ZOOKEEPER-2542

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zookeeper/pull/108.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #108


commit 20850d79fac70c5a9a8f4cd7b36bf23c96ce0487
Author: Patrick D. Hunt 
Date:   2012-08-01T22:25:03Z

ZOOKEEPER-1510. Should not log SASL errors for non-secure usage (Todd 
Lipcon via phunt) Missed a bit in the prior commit

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1368301 
13f79535-47bb-0310-9956-ffa450edef68

commit 0490eb86c2b5e7349f4e52d600ad91bd680af116
Author: Henry Robinson 
Date:   2012-08-02T22:18:57Z

ZOOKEEPER-1514. FastLeaderElection - leader ignores the round information 
when joining a quorum (flavio via henryr)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1368739 
13f79535-47bb-0310-9956-ffa450edef68

commit 9dc9c00da5830a29df1c1633ffc0ae82e7c6c209
Author: Patrick D. Hunt 
Date:   2012-08-28T19:57:18Z

ZOOKEEPER-1497. Allow server-side SASL login with JAAS configuration to be 
programmatically set (rather than only by reading JAAS configuration file) 
(Matteo Bertozzi via phunt)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1378287 
13f79535-47bb-0310-9956-ffa450edef68

commit 679164cd0173920ccd6e70ecb0d965650ad40666
Author: Michi Mutsuzaki 
Date:   2012-08-30T19:26:58Z

ZOOKEEPER-1536 c client : memory leak in winport.c (brooklin via michim)


git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1379080 
13f79535-47bb-0310-9956-ffa450edef68

commit 82b1e77ca54c2963ae6558ff5479f125178873d5
Author: Michi Mutsuzaki 
Date:   2012-08-30T20:41:08Z

ZOOKEEPER-1481 allow the C cli to run exists with a watcher (phunt via 
michim)


git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1379132 
13f79535-47bb-0310-9956-ffa450edef68

commit 821b5db5029fe498fcdf6de8b5c8a283e5c9bf6e
Author: Michi Mutsuzaki 
Date:   2012-09-04T23:26:07Z

ZOOKEEPER-1105 c client zookeeper_close not send CLOSE_OP request to server 
(lincoln.lee via michim)


git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1380932 
13f79535-47bb-0310-9956-ffa450edef68

commit a6648c6a6dc1ce79e4d194d598e479b6921525fa
Author: Mahadev Konar 
Date:   2012-09-07T06:13:38Z

ZOOKEEPER-1380. zkperl: _zk_release_watch doesn't remove items properly 
from the watch list. (Botond Hejj via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1381895 
13f79535-47bb-0310-9956-ffa450edef68

commit d12aa1ebcf0b1c967f79cef14976a07432b70e4c
Author: Mahadev Konar 
Date:   2012-09-07T06:28:55Z

ZOOKEEPER-1501. Nagios plugin always returns OK when it cannot connect to 
zookeeper. (Brian Sutherland via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1381901 
13f79535-47bb-0310-9956-ffa450edef68

commit 4ee471b8243650d5f1447b0161e1cdfef032ed6c
Author: Mahadev Konar 
Date:   2012-09-09T18:22:06Z

ZOOKEEPER-1437. Client uses session before SASL authentication complete. 
(Eugene Koontz via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1382554 
13f79535-47bb-0310-9956-ffa450edef68

commit c009512a61a784d3ca9a0dfafb067c4d062165f1
Author: Mahadev Konar 
Date:   2012-09-10T07:03:23Z

ZOOKEEPER-1494. C client: socket leak after receive timeout in 
zookeeper_interest() (Michi Mutsuzaki via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1382664 
13f79535-47bb-0310-9956-ffa450edef68

commit 81a8093a8137b32ac0227a1b60653e98159d9925
Author: Mahadev Konar 
Date:   2012-09-14T07:33:29Z

ZOOKEEPER-1483. Fix leader election recipe documentation. (Michi Mutsuzaki 
via mahadev)

git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1384670 
13f79535-47bb-0310-9956-ffa450edef68

commit f1a1d66d4189fa338ca570d3c80bd7a81e03eb88
Author: Michi Mutsuzaki 
Date:   2012-09-16T21:35:36Z

Revert r1380932: ZOOKEEPER-1105 c client zookeeper_close not send CLOSE_OP
request to server (lincoln.lee via michim)


git-svn-id: 
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1385380 
13f79535-47bb-0310-9956-ffa450edef68

commit 

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

2016-11-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1390/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 465382 lines...]
[junit] 2016-11-18 08:31:00,161 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-11-18 08:31:00,161 [myid:] - INFO  
[main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2016-11-18 08:31:00,162 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-11-18 08:31:00,162 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-11-18 08:31:00,163 [myid:] - INFO  [main:ZooKeeperServer@891] 
- minSessionTimeout set to 6000
[junit] 2016-11-18 08:31:00,163 [myid:] - INFO  [main:ZooKeeperServer@900] 
- maxSessionTimeout set to 6
[junit] 2016-11-18 08:31:00,163 [myid:] - INFO  [main:ZooKeeperServer@160] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test1999844397506262471.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test1999844397506262471.junit.dir/version-2
[junit] 2016-11-18 08:31:00,164 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test1999844397506262471.junit.dir/version-2/snapshot.b
[junit] 2016-11-18 08:31:00,165 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test1999844397506262471.junit.dir/version-2/snapshot.b
[junit] 2016-11-18 08:31:00,167 [myid:] - ERROR [main:ZooKeeperServer@503] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-11-18 08:31:00,167 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-11-18 08:31:00,167 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:42332
[junit] 2016-11-18 08:31:00,168 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:42332
[junit] 2016-11-18 08:31:00,168 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-11-18 08:31:00,169 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:42332 (no session established for client)
[junit] 2016-11-18 08:31:00,169 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-11-18 08:31:00,170 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-11-18 08:31:00,170 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-11-18 08:31:00,170 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-11-18 08:31:00,170 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-11-18 08:31:00,171 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17813
[junit] 2016-11-18 08:31:00,171 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-11-18 08:31:00,171 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-11-18 08:31:00,171 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-11-18 08:31:00,252 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x124f389bd62 closed
[junit] 2016-11-18 08:31:00,252 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x124f389bd62
[junit] 2016-11-18 08:31:00,252 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-11-18 08:31:00,253 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-11-18 08:31:00,253 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-11-18 08:31:00,253 [myid:] - INFO  

[jira] [Comment Edited] (ZOOKEEPER-2564) No message is prompted when trying to delete quota with different quota option

2016-11-18 Thread kevin.chen (JIRA)

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

kevin.chen edited comment on ZOOKEEPER-2564 at 11/18/16 8:15 AM:
-

hi Rakesh Kumar Singh

I fixed this issue today, this is my first time to contribute to the open 
source project, It seems I can't submit the patch, could you help me on this?  
very hope you can give me a help at the beginning.


was (Author: chenyuyun-emc):
hi Rakesh Kumar Singh

I fixed this issue today, this is my first time to contribute to the opensource 
project, It seems I can't submit the patch, could you help me on this?  very 
help you can give me a help at the beginning.

> No message is prompted when trying to delete quota with different quota option
> --
>
> Key: ZOOKEEPER-2564
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2564
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.5.1
>Reporter: Rakesh Kumar Singh
>Assignee: Rakesh Kumar Singh
>Priority: Minor
>
> No message is prompted when trying to delete quota with different quota 
> option.
> Steps to reproduce:-
> 1. Start zookeeper in cluster mode 
> 2. Create some node and set quota like
> setquota -n 10 /test
> 3. Now try to delete as below:-
> delquota -b /test
> Here no message/exception is prompted. We should prompt message like 
> "Byte Quota does not exist for /test"



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