[jira] [Updated] (ZOOKEEPER-2542) Update NOTICE file with Netty notice in 3.4

2016-12-12 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira updated ZOOKEEPER-2542:

Assignee: Rakesh R  (was: Flavio Junqueira)

> 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: Rakesh R
>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 #112

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

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 30 lines...]
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 H6(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.$Proxy135.checkoutBranch(Unknown Source)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl.checkoutBranch(RemoteGitImpl.java:327)
at 
com.cloudbees.jenkins.plugins.git.vmerge.BuildChooserImpl.getCandidateRevisions(BuildChooserImpl.java:78)
at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:984)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1087)
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 checkout -f 
origin/trunk" returned status code 1:
stdout: 
stderr: error: pathspec 'origin/trunk' did not match any file(s) known to git.

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$9.execute(CliGitAPIImpl.java:1979)
at 
org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.checkoutBranch(AbstractGitAPIImpl.java:82)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
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)
Archiving artifacts
Recording test results
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
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

Re: Digests and signatures missing

2016-12-12 Thread Michael Han
I see. Looks like we are not the only one that's missing the tar ball
signatures. HBase release on mirrors also doesn't come with tar ball
signatures, see http://apache.claz.org/hbase/hbase-1.0.3/ (
https://www.apache.org/dist/hbase/hbase-1.0.3/ for compare.).

On Mon, Dec 12, 2016 at 2:47 PM, Flavio Junqueira  wrote:

> That's not what we have in dis.apache.org:
>
> zookeeper-3.5.2-alpha fpj$ ls
> zookeeper-3.5.2-alpha.tar.gzzookeeper-3.5.2-alpha.tar.gz.md5
> zookeeper-3.5.2-alpha.tar.gz.asczookeeper-3.5.2-alpha.tar.gz.sha1
>
> The ones in the tar ball are for the jar only.
>
> -Flavio
>
> > On 12 Dec 2016, at 22:22, Michael Han  wrote:
> >
> > Hi Flavio,
> >
> > Do you have a link to a problematic RC build? I just checked the mirrors
> > and it looks like the signature files are included as part of release tar
> > ball. An example: http://apache.claz.org/zookeeper/zookeeper-3.5.2-
> alpha/
> > where the tar ball file
> > includes zookeeper-3.5.2-alpha.jar.asc, zookeeper-3.5.2-alpha.jar.md5,
> > and zookeeper-3.5.2-alpha.jar.sha1, which I assume is the signature
> files
> > you refer to.
> >
> >
> > On Mon, Dec 12, 2016 at 3:55 AM, Flavio Junqueira 
> wrote:
> >
> >> I was checking the Apache mirrors and our releases do not seem to have
> the
> >> typical MD5 and SHA1 digests that we check for the release candidates.
> >> What's going on here, have we not been publishing those as part of
> >> releasing?
> >>
> >> http://www.apache.org/dyn/closer.cgi/zookeeper/
> >>
> >> -Flavio
> >
> >
> >
> >
> > --
> > Cheers
> > Michael.
>
>


-- 
Cheers
Michael.


ZooKeeper_branch34_solaris - Build # 1387 - Still Failing

2016-12-12 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_solaris/1387/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 176907 lines...]
[junit] 2016-12-12 23:57:32,265 [myid:] - INFO  [main:ZooKeeperServer@497] 
- shutting down
[junit] 2016-12-12 23:57:32,265 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-12 23:57:32,265 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2016-12-12 23:57:32,265 [myid:] - INFO  
[main:PrepRequestProcessor@765] - Shutting down
[junit] 2016-12-12 23:57:32,265 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2016-12-12 23:57:32,265 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2016-12-12 23:57:32,266 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2016-12-12 23:57:32,266 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2016-12-12 23:57:32,266 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-12-12 23:57:32,267 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-12-12 23:57:32,267 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2016-12-12 23:57:32,268 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2016-12-12 23:57:32,268 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2016-12-12 23:57:32,268 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2016-12-12 23:57:32,269 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/build/test/tmp/test3660895682626325189.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/build/test/tmp/test3660895682626325189.junit.dir/version-2
[junit] 2016-12-12 23:57:32,272 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-12 23:57:32,272 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-12-12 23:57:32,272 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:34250
[junit] 2016-12-12 23:57:32,272 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:34250
[junit] 2016-12-12 23:57:32,273 [myid:] - INFO  
[Thread-5:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2016-12-12 23:57:32,273 [myid:] - INFO  
[Thread-5:NIOServerCnxn@1008] - Closed socket connection for client 
/127.0.0.1:34250 (no session established for client)
[junit] 2016-12-12 23:57:32,273 [myid:] - INFO  [main:JMXEnv@229] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-12 23:57:32,274 [myid:] - INFO  [main:JMXEnv@246] - 
expect:InMemoryDataTree
[junit] 2016-12-12 23:57:32,275 [myid:] - INFO  [main:JMXEnv@250] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2016-12-12 23:57:32,275 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2016-12-12 23:57:32,275 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2016-12-12 23:57:32,275 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 10703
[junit] 2016-12-12 23:57:32,275 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2016-12-12 23:57:32,276 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2016-12-12 23:57:32,276 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2016-12-12 23:57:32,361 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x158f5784e41 closed
[junit] 2016-12-12 23:57:32,361 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2016-12-12 23:57:32,361 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x158f5784e41
[junit] 2016-12-12 23:57:32,362 [myid:] - INFO  [main:ZooKeeperServer@497] 
- shutting down
[junit] 2016-12-12 23:57:32,363 [myid:] - 

Re: Digests and signatures missing

2016-12-12 Thread Flavio Junqueira
That's not what we have in dis.apache.org:

zookeeper-3.5.2-alpha fpj$ ls
zookeeper-3.5.2-alpha.tar.gzzookeeper-3.5.2-alpha.tar.gz.md5
zookeeper-3.5.2-alpha.tar.gz.asczookeeper-3.5.2-alpha.tar.gz.sha1

The ones in the tar ball are for the jar only.

-Flavio

> On 12 Dec 2016, at 22:22, Michael Han  wrote:
> 
> Hi Flavio,
> 
> Do you have a link to a problematic RC build? I just checked the mirrors
> and it looks like the signature files are included as part of release tar
> ball. An example: http://apache.claz.org/zookeeper/zookeeper-3.5.2-alpha/
> where the tar ball file
> includes zookeeper-3.5.2-alpha.jar.asc, zookeeper-3.5.2-alpha.jar.md5,
> and zookeeper-3.5.2-alpha.jar.sha1, which I assume is the signature files
> you refer to.
> 
> 
> On Mon, Dec 12, 2016 at 3:55 AM, Flavio Junqueira  wrote:
> 
>> I was checking the Apache mirrors and our releases do not seem to have the
>> typical MD5 and SHA1 digests that we check for the release candidates.
>> What's going on here, have we not been publishing those as part of
>> releasing?
>> 
>> http://www.apache.org/dyn/closer.cgi/zookeeper/
>> 
>> -Flavio
> 
> 
> 
> 
> -- 
> Cheers
> Michael.



Re: Digests and signatures missing

2016-12-12 Thread Michael Han
Hi Flavio,

Do you have a link to a problematic RC build? I just checked the mirrors
and it looks like the signature files are included as part of release tar
ball. An example: http://apache.claz.org/zookeeper/zookeeper-3.5.2-alpha/
where the tar ball file
includes zookeeper-3.5.2-alpha.jar.asc, zookeeper-3.5.2-alpha.jar.md5,
and zookeeper-3.5.2-alpha.jar.sha1, which I assume is the signature files
you refer to.


On Mon, Dec 12, 2016 at 3:55 AM, Flavio Junqueira  wrote:

> I was checking the Apache mirrors and our releases do not seem to have the
> typical MD5 and SHA1 digests that we check for the release candidates.
> What's going on here, have we not been publishing those as part of
> releasing?
>
> http://www.apache.org/dyn/closer.cgi/zookeeper/
>
> -Flavio




-- 
Cheers
Michael.


[jira] [Resolved] (ZOOKEEPER-2542) Update NOTICE file with Netty notice in 3.4

2016-12-12 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira resolved ZOOKEEPER-2542.
-
Resolution: Fixed

+1, thank you [~rakesh_r]!

> 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: Rakesh R
>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)


[jira] [Updated] (ZOOKEEPER-2327) "ConnectionLoss for /dog"

2016-12-12 Thread Rakesh R (JIRA)

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

Rakesh R updated ZOOKEEPER-2327:

Fix Version/s: (was: 3.4.6)

> "ConnectionLoss for /dog"
> -
>
> Key: ZOOKEEPER-2327
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2327
> Project: ZooKeeper
>  Issue Type: Bug
>Affects Versions: 3.5.0
>Reporter: Andrew Pennebaker
> Fix For: 3.3.6, 3.5.1
>
>
> Zookeeper v3.5.0-alpha experiences an error when trying to create a simple 
> data node.
> Versions before and after 3.5.0-alpha work just fine, but this specific 
> version oddly fails to create data nodes.
> Source:
> https://github.com/mcandre/docker-zookeeper/tree/3.5.0-alpha
> Trace:
> ```
> $ git clone g...@github.com:mcandre/docker-zookeeper.git
> $ cd docker-zookeeper.git
> $ git checkout 3.5.0-alpha
> $ make
> CONTAINER=$(docker run -d -p 2181:2181 -p 2888:2888 -p 3888:3888 
> mcandre/docker-zookeeper:3.5.0-alpha)
> docker exec $CONTAINER sh -c 'echo "create /dog moon" | zkCli.sh'
> Connecting to localhost:2181
> 2015-11-20 01:05:54,951 [myid:] - INFO  [main:Environment@109] - Client 
> environment:zookeeper.version=3.5.0-alpha-1615249, built on 08/01/2014 22:13 
> GMT
> 2015-11-20 01:05:54,958 [myid:] - INFO  [main:Environment@109] - Client 
> environment:host.name=190002648bbc
> 2015-11-20 01:05:54,958 [myid:] - INFO  [main:Environment@109] - Client 
> environment:java.version=1.7.0_85
> 2015-11-20 01:05:54,969 [myid:] - INFO  [main:Environment@109] - Client 
> environment:java.vendor=Oracle Corporation
> 2015-11-20 01:05:54,970 [myid:] - INFO  [main:Environment@109] - Client 
> environment:java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
> 2015-11-20 01:05:54,970 [myid:] - INFO  [main:Environment@109] - Client 
> environment:java.class.path=/zookeeper-3.5.0-alpha/bin/../build/classes:/zookeeper-3.5.0-alpha/bin/../build/lib/*.jar:/zookeeper-3.5.0-alpha/bin/../lib/slf4j-log4j12-1.7.5.jar:/zookeeper-3.5.0-alpha/bin/../lib/slf4j-api-1.7.5.jar:/zookeeper-3.5.0-alpha/bin/../lib/servlet-api-2.5-20081211.jar:/zookeeper-3.5.0-alpha/bin/../lib/netty-3.7.0.Final.jar:/zookeeper-3.5.0-alpha/bin/../lib/log4j-1.2.16.jar:/zookeeper-3.5.0-alpha/bin/../lib/jline-2.11.jar:/zookeeper-3.5.0-alpha/bin/../lib/jetty-util-6.1.26.jar:/zookeeper-3.5.0-alpha/bin/../lib/jetty-6.1.26.jar:/zookeeper-3.5.0-alpha/bin/../lib/javacc.jar:/zookeeper-3.5.0-alpha/bin/../lib/jackson-mapper-asl-1.9.11.jar:/zookeeper-3.5.0-alpha/bin/../lib/jackson-core-asl-1.9.11.jar:/zookeeper-3.5.0-alpha/bin/../lib/commons-cli-1.2.jar:/zookeeper-3.5.0-alpha/bin/../zookeeper-3.5.0-alpha.jar:/zookeeper-3.5.0-alpha/bin/../src/java/lib/*.jar:/zookeeper-3.5.0-alpha/bin/../conf:
> 2015-11-20 01:05:54,971 [myid:] - INFO  [main:Environment@109] - Client 
> environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
> 2015-11-20 01:05:54,972 [myid:] - INFO  [main:Environment@109] - Client 
> environment:java.io.tmpdir=/tmp
> 2015-11-20 01:05:54,972 [myid:] - INFO  [main:Environment@109] - Client 
> environment:java.compiler=
> 2015-11-20 01:05:54,973 [myid:] - INFO  [main:Environment@109] - Client 
> environment:os.name=Linux
> 2015-11-20 01:05:54,973 [myid:] - INFO  [main:Environment@109] - Client 
> environment:os.arch=amd64
> 2015-11-20 01:05:54,974 [myid:] - INFO  [main:Environment@109] - Client 
> environment:os.version=4.0.9-boot2docker
> 2015-11-20 01:05:54,974 [myid:] - INFO  [main:Environment@109] - Client 
> environment:user.name=root
> 2015-11-20 01:05:54,974 [myid:] - INFO  [main:Environment@109] - Client 
> environment:user.home=/root
> 2015-11-20 01:05:54,975 [myid:] - INFO  [main:Environment@109] - Client 
> environment:user.dir=/
> 2015-11-20 01:05:54,975 [myid:] - INFO  [main:Environment@109] - Client 
> environment:os.memory.free=26MB
> 2015-11-20 01:05:54,977 [myid:] - INFO  [main:Environment@109] - Client 
> environment:os.memory.max=247MB
> 2015-11-20 01:05:54,977 [myid:] - INFO  [main:Environment@109] - Client 
> environment:os.memory.total=30MB
> 2015-11-20 01:05:54,987 [myid:] - INFO  [main:ZooKeeper@709] - Initiating 
> client connection, connectString=localhost:2181 sessionTimeout=3 
> watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@3c407d5
> Welcome to ZooKeeper!
> 2015-11-20 01:05:55,062 [myid:] - INFO  
> [main-SendThread(localhost:2181):ClientCnxn$SendThread@1093] - Opening socket 
> connection to server localhost/127.0.0.1:2181. Will not attempt to 
> authenticate using SASL (unknown error)
> 2015-11-20 01:05:55,099 [myid:] - INFO  
> [main-SendThread(localhost:2181):ClientCnxn$SendThread@963] - Socket 
> connection established to localhost/127.0.0.1:2181, initiating session
> JLine support is enabled
> 2015-11-20 01:05:55,154 [myid:] - INFO  
> 

[jira] [Updated] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-12-12 Thread Rakesh R (JIRA)

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

Rakesh R updated ZOOKEEPER-2468:

Fix Version/s: (was: 3.4.8)

> SetQuota and DelQuota
> -
>
> Key: ZOOKEEPER-2468
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2468
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: java client
>Affects Versions: 3.4.6, 3.4.8, 3.5.1
> Environment: Windows /Linux
>Reporter: Joshi Shankar
>Assignee: SREENIVASULUDANDU
> Attachments: ZOOKEEPER-2468-0.1-patch, ZOOKEEPER-2468-0.2.patch
>
>
> Setquota and delquota commands does not work 
> Steps to reproduce:
> 1. Create Test Node 1
> create -c /TestZookeeperNodeNumber "testdata"
> 2. Create Test Node 2
> create -c /TestZookeeperNodeBytes "testdatabytes"
> 
> 3. Set Quota Using 
> setquota -n 1 /TestZookeeperNodeNumber
> 4. Set Quota Using 
>  setquota -b 10 /TestZookeeperNodeBytes
> AlreadySelectedException is thrown by Apache CLI. It is  bug in Apache 
> CLI (https://issues.apache.org/jira/browse/CLI-183)
> 
>We can fix by upgrading Apache CLI From(*commons-cli-1.2.jar*) to 
> (*commons-cli-1.3.1.jar*) 
> Client Operation Log:
> [zk: localhost:2181(CONNECTED) 2] create -c /TestZookeeperNodeNumber 
> "testdata"
> Created /TestZookeeperNodeNumber
> [zk: localhost:2181(CONNECTED) 3] create -c /TestZookeeperNodeBytes 
> "testdatabytes"
> Created /TestZookeeperNodeBytes
> [zk: localhost:2181(CONNECTED) 4] setquota -n 1 /TestZookeeperNodeNumber
> [zk: localhost:2181(CONNECTED) 5] setquota -b 10 /TestZookeeperNodeBytes
> The option 'b' was specified but an option from this group has already been 
> selected: 'n'
> ZooKeeper -server host:port cmd args
> addauth scheme auth
> close
> config [-c] [-w] [-s]
> connect host:port
> create [-s] [-e] [-c] path [data] [acl]
> delete [-v version] path
> deleteall path
> delquota [-n|-b] path
> get [-s] [-w] path
> getAcl [-s] path
> history
> listquota path
> ls [-s] [-w] path
> ls2 path [watch]
> printwatches on|off
> quit
> reconfig [-s] [-v version] [[-file path] | [-members 
> serverID=host:port1:port2;port3[,...]*]
> ] | [-add serverId=host:port1:port2;port3[,...]]* [-remove serverId[,...]*]
> redo cmdno
> removewatches path [-c|-d|-a] [-l]
> rmr path
> set [-s] [-v version] path data
> setAcl [-s] [-v version] path acl
> setquota -n|-b val path
> stat [-w] path
> sync path



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


[jira] [Updated] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-12-12 Thread Rakesh R (JIRA)

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

Rakesh R updated ZOOKEEPER-2391:

Fix Version/s: (was: 3.4.8)
   (was: 3.5.0)

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Reporter: Kazuaki Banzai
>Assignee: Kazuaki Banzai
>Priority: Minor
> Attachments: ZOOKEEPER-2391-2.patch, ZOOKEEPER-2391-3.4-2.patch, 
> ZOOKEEPER-2391-3.4-3.patch, ZOOKEEPER-2391-3.4.patch, ZOOKEEPER-2391-3.patch, 
> ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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


Failed: ZOOKEEPER-2391 PreCommit Build #3546

2016-12-12 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3546/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 115 lines...]
 [exec] PATCH APPLICATION FAILED
 [exec] 
 [exec] 
 [exec] 
 [exec] 
 [exec] -1 overall.  Here are the results of testing the latest attachment 
 [exec]   
http://issues.apache.org/jira/secure/attachment/12800423/ZOOKEEPER-2391-3.4-3.patch
 [exec]   against trunk revision cd0e323831c8b4cde64976325bfc79bb53cdd9b7.
 [exec] 
 [exec] +1 @author.  The patch does not contain any @author tags.
 [exec] 
 [exec] +1 tests included.  The patch appears to include 3 new or 
modified tests.
 [exec] 
 [exec] -1 patch.  The patch command could not apply the patch.
 [exec] 
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3546//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] c16818e8f5ae5f37b5bbf8227b0d9487c872c4de logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] mv: 
‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/patchprocess’ 
and 
‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/patchprocess’ 
are the same file

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/build.xml:1607: 
exec returned: 1

Total time: 43 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Recording test results
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files 
were found. Configuration error?
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[description-setter] Description set: ZOOKEEPER-2391
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



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

[jira] [Commented] (ZOOKEEPER-2468) SetQuota and DelQuota

2016-12-12 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-2468:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12821990/ZOOKEEPER-2468-0.2.patch
  against trunk revision cd0e323831c8b4cde64976325bfc79bb53cdd9b7.

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

-1 tests included.  The patch doesn't appear to include any new or modified 
tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

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

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

This message is automatically generated.

> SetQuota and DelQuota
> -
>
> Key: ZOOKEEPER-2468
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2468
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: java client
>Affects Versions: 3.4.6, 3.4.8, 3.5.1
> Environment: Windows /Linux
>Reporter: Joshi Shankar
>Assignee: SREENIVASULUDANDU
> Attachments: ZOOKEEPER-2468-0.1-patch, ZOOKEEPER-2468-0.2.patch
>
>
> Setquota and delquota commands does not work 
> Steps to reproduce:
> 1. Create Test Node 1
> create -c /TestZookeeperNodeNumber "testdata"
> 2. Create Test Node 2
> create -c /TestZookeeperNodeBytes "testdatabytes"
> 
> 3. Set Quota Using 
> setquota -n 1 /TestZookeeperNodeNumber
> 4. Set Quota Using 
>  setquota -b 10 /TestZookeeperNodeBytes
> AlreadySelectedException is thrown by Apache CLI. It is  bug in Apache 
> CLI (https://issues.apache.org/jira/browse/CLI-183)
> 
>We can fix by upgrading Apache CLI From(*commons-cli-1.2.jar*) to 
> (*commons-cli-1.3.1.jar*) 
> Client Operation Log:
> [zk: localhost:2181(CONNECTED) 2] create -c /TestZookeeperNodeNumber 
> "testdata"
> Created /TestZookeeperNodeNumber
> [zk: localhost:2181(CONNECTED) 3] create -c /TestZookeeperNodeBytes 
> "testdatabytes"
> Created /TestZookeeperNodeBytes
> [zk: localhost:2181(CONNECTED) 4] setquota -n 1 /TestZookeeperNodeNumber
> [zk: localhost:2181(CONNECTED) 5] setquota -b 10 /TestZookeeperNodeBytes
> The option 'b' was specified but an option from this group has already been 
> selected: 'n'
> ZooKeeper -server host:port cmd args
> addauth scheme auth
> close
> config [-c] [-w] [-s]
> connect host:port
> create [-s] [-e] [-c] path [data] [acl]
> delete [-v version] path
> deleteall path
> delquota [-n|-b] path
> get [-s] [-w] path
> getAcl [-s] path
> history
> listquota path
> ls [-s] [-w] path
> ls2 path [watch]
> printwatches on|off
> quit
> reconfig [-s] [-v version] [[-file path] | [-members 
> serverID=host:port1:port2;port3[,...]*]
> ] | [-add serverId=host:port1:port2;port3[,...]]* [-remove serverId[,...]*]
> redo cmdno
> removewatches path [-c|-d|-a] [-l]
> rmr path
> set [-s] [-v version] path data
> setAcl [-s] [-v version] path acl
> setquota -n|-b val path
> stat [-w] path
> sync path



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


[jira] [Commented] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-12-12 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-2391:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12800423/ZOOKEEPER-2391-3.4-3.patch
  against trunk revision cd0e323831c8b4cde64976325bfc79bb53cdd9b7.

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

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

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

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

This message is automatically generated.

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Reporter: Kazuaki Banzai
>Assignee: Kazuaki Banzai
>Priority: Minor
> Attachments: ZOOKEEPER-2391-2.patch, ZOOKEEPER-2391-3.4-2.patch, 
> ZOOKEEPER-2391-3.4-3.patch, ZOOKEEPER-2391-3.4.patch, ZOOKEEPER-2391-3.patch, 
> ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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


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

2016-12-12 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1419/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 461522 lines...]
[junit] 2016-12-12 08:26:46,427 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-12-12 08:26:46,427 [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-12-12 08:26:46,428 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-12-12 08:26:46,429 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-12-12 08:26:46,429 [myid:] - INFO  [main:ZooKeeperServer@894] 
- minSessionTimeout set to 6000
[junit] 2016-12-12 08:26:46,429 [myid:] - INFO  [main:ZooKeeperServer@903] 
- maxSessionTimeout set to 6
[junit] 2016-12-12 08:26:46,430 [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/test3676566853749112772.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test3676566853749112772.junit.dir/version-2
[junit] 2016-12-12 08:26:46,430 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test3676566853749112772.junit.dir/version-2/snapshot.b
[junit] 2016-12-12 08:26:46,433 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test3676566853749112772.junit.dir/version-2/snapshot.b
[junit] 2016-12-12 08:26:46,434 [myid:] - ERROR [main:ZooKeeperServer@506] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-12 08:26:46,435 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-12-12 08:26:46,435 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:33023
[junit] 2016-12-12 08:26:46,436 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:33023
[junit] 2016-12-12 08:26:46,437 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-12-12 08:26:46,437 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:33023 (no session established for client)
[junit] 2016-12-12 08:26:46,437 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-12 08:26:46,440 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-12-12 08:26:46,440 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-12-12 08:26:46,440 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-12-12 08:26:46,440 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-12-12 08:26:46,440 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17813
[junit] 2016-12-12 08:26:46,441 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-12-12 08:26:46,441 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-12-12 08:26:46,441 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-12 08:26:46,512 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x1256f1e2280 closed
[junit] 2016-12-12 08:26:46,512 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1256f1e2280
[junit] 2016-12-12 08:26:46,513 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-12 08:26:46,513 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-12 08:26:46,513 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-12-12 08:26:46,514 [myid:] - INFO  

Failed: ZOOKEEPER-2468 PreCommit Build #3547

2016-12-12 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2468
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3547/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 118 lines...]
 [exec] 
 [exec] 
 [exec] 
 [exec] -1 overall.  Here are the results of testing the latest attachment 
 [exec]   
http://issues.apache.org/jira/secure/attachment/12821990/ZOOKEEPER-2468-0.2.patch
 [exec]   against trunk revision cd0e323831c8b4cde64976325bfc79bb53cdd9b7.
 [exec] 
 [exec] +1 @author.  The patch does not contain any @author tags.
 [exec] 
 [exec] -1 tests included.  The patch doesn't appear to include any new 
or modified tests.
 [exec] Please justify why no new tests are needed 
for this patch.
 [exec] Also please list what manual steps were 
performed to verify this patch.
 [exec] 
 [exec] -1 patch.  The patch command could not apply the patch.
 [exec] 
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3547//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] 6839d5baf77c5211b7cdfd1b7224977837036cf3 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] mv: 
'/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/patchprocess' 
and 
'/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/patchprocess' 
are the same file

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/build.xml:1607: 
exec returned: 1

Total time: 46 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Recording test results
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[description-setter] Description set: ZOOKEEPER-2468
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



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

ZooKeeper_branch35_jdk7 - Build # 764 - Still Failing

2016-12-12 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/764/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 466018 lines...]
[junit] 2016-12-12 08:52:52,806 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:/127.0.0.1:30109:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:53022
[junit] 2016-12-12 08:52:52,807 [myid:127.0.0.1:30109] - INFO  
[main-SendThread(127.0.0.1:30109):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: /127.0.0.1:53022, server: 
127.0.0.1/127.0.0.1:30109
[junit] 2016-12-12 08:52:52,807 [myid:] - WARN  
[NIOWorkerThread-5:NIOServerCnxn@369] - Exception causing close of session 0x0: 
ZooKeeperServer not running
[junit] 2016-12-12 08:52:52,807 [myid:] - INFO  
[NIOWorkerThread-5:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:53022 (no session established for client)
[junit] 2016-12-12 08:52:52,808 [myid:127.0.0.1:30109] - INFO  
[main-SendThread(127.0.0.1:30109):ClientCnxn$SendThread@1231] - Unable to read 
additional data from server sessionid 0x0, likely server has closed socket, 
closing socket connection and attempting reconnect
[junit] 2016-12-12 08:52:53,180 [myid:127.0.0.1:30109] - INFO  
[main-SendThread(127.0.0.1:30109):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:30109. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-12 08:52:53,181 [myid:127.0.0.1:30109] - INFO  
[main-SendThread(127.0.0.1:30109):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: /127.0.0.1:53034, server: 
127.0.0.1/127.0.0.1:30109
[junit] 2016-12-12 08:52:53,181 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:/127.0.0.1:30109:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:53034
[junit] 2016-12-12 08:52:53,181 [myid:] - WARN  
[NIOWorkerThread-6:NIOServerCnxn@369] - Exception causing close of session 0x0: 
ZooKeeperServer not running
[junit] 2016-12-12 08:52:53,182 [myid:] - INFO  
[NIOWorkerThread-6:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:53034 (no session established for client)
[junit] 2016-12-12 08:52:53,182 [myid:127.0.0.1:30109] - INFO  
[main-SendThread(127.0.0.1:30109):ClientCnxn$SendThread@1231] - Unable to read 
additional data from server sessionid 0x0, likely server has closed socket, 
closing socket connection and attempting reconnect
[junit] 2016-12-12 08:52:54,382 [myid:127.0.0.1:30109] - INFO  
[main-SendThread(127.0.0.1:30109):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:30109. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-12 08:52:54,383 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:/127.0.0.1:30109:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:53070
[junit] 2016-12-12 08:52:54,383 [myid:127.0.0.1:30109] - INFO  
[main-SendThread(127.0.0.1:30109):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: /127.0.0.1:53070, server: 
127.0.0.1/127.0.0.1:30109
[junit] 2016-12-12 08:52:54,383 [myid:] - WARN  
[NIOWorkerThread-7:NIOServerCnxn@369] - Exception causing close of session 0x0: 
ZooKeeperServer not running
[junit] 2016-12-12 08:52:54,383 [myid:] - INFO  
[NIOWorkerThread-7:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:53070 (no session established for client)
[junit] 2016-12-12 08:52:54,383 [myid:127.0.0.1:30109] - INFO  
[main-SendThread(127.0.0.1:30109):ClientCnxn$SendThread@1231] - Unable to read 
additional data from server sessionid 0x0, likely server has closed socket, 
closing socket connection and attempting reconnect
[junit] 2016-12-12 08:52:55,200 [myid:127.0.0.1:30109] - INFO  
[main-SendThread(127.0.0.1:30109):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:30109. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-12 08:52:55,201 [myid:127.0.0.1:30109] - INFO  
[main-SendThread(127.0.0.1:30109):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: /127.0.0.1:53091, server: 
127.0.0.1/127.0.0.1:30109
[junit] 2016-12-12 08:52:55,201 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:/127.0.0.1:30109:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:53091
[junit] 2016-12-12 08:52:55,202 [myid:] - WARN  
[NIOWorkerThread-8:NIOServerCnxn@369] - Exception causing close of session 0x0: 
ZooKeeperServer not running
[junit] 2016-12-12 08:52:55,202 [myid:] - INFO  
[NIOWorkerThread-8:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:53091 (no session established for client)

[jira] [Updated] (ZOOKEEPER-2236) Zookeeper truncates file to 0bytes

2016-12-12 Thread Rakesh R (JIRA)

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

Rakesh R updated ZOOKEEPER-2236:

Fix Version/s: (was: 3.4.6)

> Zookeeper truncates file to 0bytes
> --
>
> Key: ZOOKEEPER-2236
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2236
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: contrib-zkfuse, server, tests
>Affects Versions: 3.4.6
> Environment: Ubuntu14.04, Standalone Zookeeper server, Zkfuse
>Reporter: Bharat Singh
>
> I am facing a rename issue with Zkfuse. 
> I am trying to test file atomic updates. After some iterations the file size 
> becomes 0.
> This is easily reproducible, just running the below script for ~5mins.
> Setup:
> zookeeper-3.4.6 with Zkfuse mounted, size of testFile = 1k
> while [ 1 ]
> do
> cp /root/testFile /mnt/zk/testFile.tmp
> mv /mnt/zk/testFile.tmp /mnt/zk/testFile
> ls -larth /mnt/zk/
> sleep 1
> done
> Zkfuse debug logs doesn't show any suspicious activity. Looks like 
> zookeeper/zkfuse RENAME is not atomic.
> But code browsing and log messages show that update have issues:
> 1) update is not able to pull data from zookeeper due to the _refCnt > 1,
> so rename get an empty ZkfuseFile object.
> 2) I also hit an assert in update, 
> assert(newFile == false || _isOnlyRegOpen());
> Now I have suspicion on the refcount logic. Have any one faced similar issues 
> or have used Zkfuse in production environment.



--
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-12-12 Thread Rakesh R (JIRA)

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

Rakesh R commented on ZOOKEEPER-2542:
-

Thanks [~fpj], [~hanm] for your help in pushing this in.

> 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: Rakesh R
>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)


ZooKeeper-trunk-WinVS2008 - Build # 2358 - Still Failing

2016-12-12 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/2358/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 78 lines...]

ivy-retrieve:
[ivy:retrieve] :: Apache Ivy 2.4.0 - 20141213170938 :: 
http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: file = 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: 
org.apache.zookeeper#zookeeper;3.6.0-SNAPSHOT
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found jline#jline;2.11 in maven2
[ivy:retrieve]  found org.eclipse.jetty#jetty-server;9.2.18.v20160721 in maven2
[ivy:retrieve]  found javax.servlet#javax.servlet-api;3.1.0 in maven2
[ivy:retrieve]  found org.eclipse.jetty#jetty-http;9.2.18.v20160721 in maven2
[ivy:retrieve]  found org.eclipse.jetty#jetty-util;9.2.18.v20160721 in maven2
[ivy:retrieve]  found org.eclipse.jetty#jetty-io;9.2.18.v20160721 in maven2
[ivy:retrieve]  found org.eclipse.jetty#jetty-servlet;9.2.18.v20160721 in maven2
[ivy:retrieve]  found org.eclipse.jetty#jetty-security;9.2.18.v20160721 in 
maven2
[ivy:retrieve]  found org.codehaus.jackson#jackson-mapper-asl;1.9.11 in maven2
[ivy:retrieve]  found org.codehaus.jackson#jackson-core-asl;1.9.11 in maven2
[ivy:retrieve]  found org.slf4j#slf4j-api;1.7.5 in maven2
[ivy:retrieve]  found org.slf4j#slf4j-log4j12;1.7.5 in maven2
[ivy:retrieve]  found commons-cli#commons-cli;1.2 in maven2
[ivy:retrieve]  found log4j#log4j;1.2.17 in maven2
[ivy:retrieve]  found io.netty#netty;3.10.5.Final in maven2
[ivy:retrieve]  found net.java.dev.javacc#javacc;5.0 in maven2
[ivy:retrieve] :: resolution report :: resolve 415ms :: artifacts dl 20ms
-
|  |modules||   artifacts   |
|   conf   | number| search|dwnlded|evicted|| number|dwnlded|
-
|  default |   16  |   0   |   0   |   0   ||   16  |   0   |
-
[ivy:retrieve] :: retrieving :: org.apache.zookeeper#zookeeper
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  16 artifacts copied, 0 already retrieved (4635kB/36ms)

generate_jute_parser:
[mkdir] Created dir: 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\jute_compiler\org\apache\jute\compiler\generated
[ivy:artifactproperty] DEPRECATED: 'ivy.conf.file' is deprecated, use 
'ivy.settings.file' instead
[ivy:artifactproperty] :: loading settings :: file = 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\ivysettings.xml
 [move] Moving 1 file to 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\lib
   [javacc] Java Compiler Compiler Version 5.0 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\java\main\org\apache\jute\compiler\generated\rcc.jj
 . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.
   [javacc] File "ParseException.java" does not exist.  Will create one.
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.

jute:

BUILD FAILED
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build.xml:273: 
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre1.8.0_92"

Total time: 3 seconds
Build step 'Invoke Ant' marked build as failure
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

Digests and signatures missing

2016-12-12 Thread Flavio Junqueira
I was checking the Apache mirrors and our releases do not seem to have the 
typical MD5 and SHA1 digests that we check for the release candidates. What's 
going on here, have we not been publishing those as part of releasing?

http://www.apache.org/dyn/closer.cgi/zookeeper/

-Flavio

ZooKeeper_branch35_openjdk7 - Build # 329 - Still Failing

2016-12-12 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/329/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H16 (ubuntu) in workspace 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_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
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.5^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/branch-3.5^{commit} # timeout=10
Checking out Revision e99c68316ecf19a1941fbf1290f11c4a65c1e268 
(refs/remotes/origin/branch-3.5)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e99c68316ecf19a1941fbf1290f11c4a65c1e268
 > git rev-list e99c68316ecf19a1941fbf1290f11c4a65c1e268 # timeout=10
No emails were triggered.
[ZooKeeper_branch35_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 # 854 - Still Failing

2016-12-12 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/854/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 489239 lines...]
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[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:1142)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-12-12 12:05:55,404 [myid:127.0.0.1:24832] - INFO  
[main-SendThread(127.0.0.1:24832):ClientCnxn$SendThread@1231] - Unable to read 
additional data from server sessionid 0x0, likely server has closed socket, 
closing socket connection and attempting reconnect
[junit] 2016-12-12 12:05:55,721 [myid:127.0.0.1:24814] - INFO  
[main-SendThread(127.0.0.1:24814):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:24814. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-12 12:05:55,722 [myid:127.0.0.1:24814] - WARN  
[main-SendThread(127.0.0.1:24814):ClientCnxn$SendThread@1235] - Session 
0x301869b0a98 for server 127.0.0.1/127.0.0.1:24814, 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-12-12 12:05:55,808 [myid:127.0.0.1:24832] - INFO  
[main-SendThread(127.0.0.1:24832):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:24832. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-12 12:05:55,808 [myid:127.0.0.1:24832] - INFO  
[main-SendThread(127.0.0.1:24832):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: /127.0.0.1:48830, server: 
127.0.0.1/127.0.0.1:24832
[junit] 2016-12-12 12:05:55,808 [myid:] - WARN  [New I/O worker 
#4038:NettyServerCnxn@399] - Closing connection to /127.0.0.1:48830
[junit] java.io.IOException: ZK down
[junit] at 
org.apache.zookeeper.server.NettyServerCnxn.receiveMessage(NettyServerCnxn.java:336)
[junit] at 
org.apache.zookeeper.server.NettyServerCnxnFactory$CnxnChannelHandler.processMessage(NettyServerCnxnFactory.java:244)
[junit] at 
org.apache.zookeeper.server.NettyServerCnxnFactory$CnxnChannelHandler.messageReceived(NettyServerCnxnFactory.java:166)
[junit] at 
org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)
[junit] at 
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
[junit] at 
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
[junit] at 
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
[junit] at 
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
[junit] at 
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[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:1142)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-12-12 12:05:55,809 [myid:127.0.0.1:24832] - INFO  
[main-SendThread(127.0.0.1:24832):ClientCnxn$SendThread@1231] - Unable to read 
additional data from server sessionid 0x0, likely server has 

ZooKeeper_branch34_solaris - Build # 1386 - Still Failing

2016-12-12 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_solaris/1386/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 178848 lines...]
[junit] 2016-12-12 13:56:29,612 [myid:] - INFO  [main:ZooKeeperServer@497] 
- shutting down
[junit] 2016-12-12 13:56:29,612 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-12 13:56:29,612 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2016-12-12 13:56:29,612 [myid:] - INFO  
[main:PrepRequestProcessor@765] - Shutting down
[junit] 2016-12-12 13:56:29,612 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2016-12-12 13:56:29,612 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2016-12-12 13:56:29,613 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2016-12-12 13:56:29,613 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2016-12-12 13:56:29,613 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-12-12 13:56:29,614 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-12-12 13:56:29,615 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2016-12-12 13:56:29,615 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2016-12-12 13:56:29,616 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2016-12-12 13:56:29,616 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2016-12-12 13:56:29,616 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/build/test/tmp/test3414606540968203838.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/build/test/tmp/test3414606540968203838.junit.dir/version-2
[junit] 2016-12-12 13:56:29,619 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-12 13:56:29,619 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-12-12 13:56:29,620 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:40660
[junit] 2016-12-12 13:56:29,620 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:40660
[junit] 2016-12-12 13:56:29,620 [myid:] - INFO  
[Thread-5:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2016-12-12 13:56:29,620 [myid:] - INFO  
[Thread-5:NIOServerCnxn@1008] - Closed socket connection for client 
/127.0.0.1:40660 (no session established for client)
[junit] 2016-12-12 13:56:29,621 [myid:] - INFO  [main:JMXEnv@229] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-12 13:56:29,622 [myid:] - INFO  [main:JMXEnv@246] - 
expect:InMemoryDataTree
[junit] 2016-12-12 13:56:29,622 [myid:] - INFO  [main:JMXEnv@250] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2016-12-12 13:56:29,622 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2016-12-12 13:56:29,622 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2016-12-12 13:56:29,623 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 9047
[junit] 2016-12-12 13:56:29,623 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2016-12-12 13:56:29,623 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2016-12-12 13:56:29,623 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2016-12-12 13:56:29,702 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x158f3520804 closed
[junit] 2016-12-12 13:56:29,703 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2016-12-12 13:56:29,702 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x158f3520804
[junit] 2016-12-12 13:56:29,704 [myid:] - INFO  [main:ZooKeeperServer@497] 
- shutting down
[junit] 2016-12-12 13:56:29,704 [myid:] - 

[jira] [Created] (ZOOKEEPER-2644) contrib/rest does not include rest.sh when packaged

2016-12-12 Thread Minoru Osuka (JIRA)
Minoru Osuka created ZOOKEEPER-2644:
---

 Summary: contrib/rest does not include rest.sh when packaged
 Key: ZOOKEEPER-2644
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2644
 Project: ZooKeeper
  Issue Type: Improvement
  Components: contrib
Affects Versions: 3.5.2, 3.4.9
Reporter: Minoru Osuka
Priority: Minor


contrib/rest does not include rest.sh when packaged. I propose to add rest.sh 
into tar.gz that it make ZooKeeper REST easier to use.



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


[jira] [Updated] (ZOOKEEPER-2644) contrib/rest does not include rest.sh when packaged

2016-12-12 Thread Minoru Osuka (JIRA)

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

Minoru Osuka updated ZOOKEEPER-2644:

Attachment: ZOOKEEPER-2644.patch

Attach a patch file.

> contrib/rest does not include rest.sh when packaged
> ---
>
> Key: ZOOKEEPER-2644
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2644
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: contrib
>Affects Versions: 3.4.9, 3.5.2
>Reporter: Minoru Osuka
>Priority: Minor
> Attachments: ZOOKEEPER-2644.patch
>
>
> contrib/rest does not include rest.sh when packaged. I propose to add rest.sh 
> into tar.gz that it make ZooKeeper REST easier to use.



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


[jira] [Commented] (ZOOKEEPER-2642) ZOOKEEPER-2014 breaks existing clients for little benefit

2016-12-12 Thread ASF GitHub Bot (JIRA)

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

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

Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/122
  
Please also update the reconfig documentation about deprecating old API and 
about the new API in ZooKeeperAdmin:

https://github.com/apache/zookeeper/blob/master/src/docs/src/documentation/content/xdocs/zookeeperReconfig.xml#L299

Other than this, the patch lgtm.


> ZOOKEEPER-2014 breaks existing clients for little benefit
> -
>
> Key: ZOOKEEPER-2642
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2642
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: c client, java client
>Affects Versions: 3.5.2
>Reporter: Jordan Zimmerman
>Assignee: Jordan Zimmerman
>Priority: Blocker
> Attachments: ZOOKEEPER-2642.patch, ZOOKEEPER-2642.patch, 
> ZOOKEEPER-2642.patch
>
>
> ZOOKEEPER-2014 moved the reconfig() methods into a new class, ZooKeeperAdmin. 
> It appears this was done to document that these are methods have access 
> restrictions. However, this change breaks Apache Curator (and possibly other 
> clients). Curator APIs will have to be changed and/or special methods need to 
> be added. A breaking change of this kind should only be done when the benefit 
> is overwhelming. In this case, the same information can be conveyed with 
> documentation and possibly a deprecation notice.
> Revert the creation of the ZooKeeperAdmin class and move the reconfig() 
> methods back to the ZooKeeper class with additional documentation.



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


[GitHub] zookeeper issue #122: [ZOOKEEPER-2642] Resurrect the reconfig() methods that...

2016-12-12 Thread hanm
Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/122
  
Please also update the reconfig documentation about deprecating old API and 
about the new API in ZooKeeperAdmin:

https://github.com/apache/zookeeper/blob/master/src/docs/src/documentation/content/xdocs/zookeeperReconfig.xml#L299

Other than this, the patch lgtm.


---
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 # 349 - Still Failing

2016-12-12 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/349/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 456094 lines...]
[junit] 2016-12-12 17:15:50,567 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-12-12 17:15:50,567 [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-12-12 17:15:50,568 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-12-12 17:15:50,569 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-12-12 17:15:50,569 [myid:] - INFO  [main:ZooKeeperServer@893] 
- minSessionTimeout set to 6000
[junit] 2016-12-12 17:15:50,569 [myid:] - INFO  [main:ZooKeeperServer@902] 
- maxSessionTimeout set to 6
[junit] 2016-12-12 17:15:50,570 [myid:] - INFO  [main:ZooKeeperServer@159] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test237422027537087806.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test237422027537087806.junit.dir/version-2
[junit] 2016-12-12 17:15:50,570 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test237422027537087806.junit.dir/version-2/snapshot.b
[junit] 2016-12-12 17:15:50,572 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test237422027537087806.junit.dir/version-2/snapshot.b
[junit] 2016-12-12 17:15:50,573 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-12 17:15:50,574 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-12-12 17:15:50,574 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:59369
[junit] 2016-12-12 17:15:50,575 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:59369
[junit] 2016-12-12 17:15:50,575 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-12-12 17:15:50,575 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:59369 (no session established for client)
[junit] 2016-12-12 17:15:50,575 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-12 17:15:50,577 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-12-12 17:15:50,577 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-12-12 17:15:50,577 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-12-12 17:15:50,577 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-12-12 17:15:50,578 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 18604
[junit] 2016-12-12 17:15:50,578 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-12-12 17:15:50,578 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-12-12 17:15:50,578 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-12 17:15:50,652 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x125710279b4 closed
[junit] 2016-12-12 17:15:50,652 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x125710279b4
[junit] 2016-12-12 17:15:50,652 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-12 17:15:50,653 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-12 17:15:50,653 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-12 17:15:50,653 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 

Re: ZooKeeper-trunk-WinVS2008 - Build # 2357 - Still Failing

2016-12-12 Thread Michael Han
I assume we still care about windows build... this has been failing for the
previous two weeks because of a host problem (no java compiler). The last
known succeed build was running on host with name 'windows1' (which is dead
now), and the current problematic host is
https://builds.apache.org/computer/windows-2012-2/. I have no access to
jenkins job config so not sure how to fix this. Should we raise an infra
ticket for this?

On Sun, Dec 11, 2016 at 9:23 PM, Apache Jenkins Server <
jenk...@builds.apache.org> wrote:

> See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/2357/
>
> 
> ###
> ## LAST 60 LINES OF THE CONSOLE
> ###
> [...truncated 78 lines...]
>
> ivy-retrieve:
> [ivy:retrieve] :: Apache Ivy 2.4.0 - 20141213170938 ::
> http://ant.apache.org/ivy/ ::
> [ivy:retrieve] :: loading settings :: file = f:\jenkins\jenkins-slave\
> workspace\ZooKeeper-trunk-WinVS2008\ivysettings.xml
> [ivy:retrieve] :: resolving dependencies :: org.apache.zookeeper#
> zookeeper;3.6.0-SNAPSHOT
> [ivy:retrieve]  confs: [default]
> [ivy:retrieve]  found jline#jline;2.11 in maven2
> [ivy:retrieve]  found org.eclipse.jetty#jetty-server;9.2.18.v20160721 in
> maven2
> [ivy:retrieve]  found javax.servlet#javax.servlet-api;3.1.0 in maven2
> [ivy:retrieve]  found org.eclipse.jetty#jetty-http;9.2.18.v20160721 in
> maven2
> [ivy:retrieve]  found org.eclipse.jetty#jetty-util;9.2.18.v20160721 in
> maven2
> [ivy:retrieve]  found org.eclipse.jetty#jetty-io;9.2.18.v20160721 in
> maven2
> [ivy:retrieve]  found org.eclipse.jetty#jetty-servlet;9.2.18.v20160721 in
> maven2
> [ivy:retrieve]  found org.eclipse.jetty#jetty-security;9.2.18.v20160721
> in maven2
> [ivy:retrieve]  found org.codehaus.jackson#jackson-mapper-asl;1.9.11 in
> maven2
> [ivy:retrieve]  found org.codehaus.jackson#jackson-core-asl;1.9.11 in
> maven2
> [ivy:retrieve]  found org.slf4j#slf4j-api;1.7.5 in maven2
> [ivy:retrieve]  found org.slf4j#slf4j-log4j12;1.7.5 in maven2
> [ivy:retrieve]  found commons-cli#commons-cli;1.2 in maven2
> [ivy:retrieve]  found log4j#log4j;1.2.17 in maven2
> [ivy:retrieve]  found io.netty#netty;3.10.5.Final in maven2
> [ivy:retrieve]  found net.java.dev.javacc#javacc;5.0 in maven2
> [ivy:retrieve] :: resolution report :: resolve 400ms :: artifacts dl 21ms
> 
> -
> |  |modules||   artifacts
>  |
> |   conf   | number| search|dwnlded|evicted||
> number|dwnlded|
> 
> -
> |  default |   16  |   0   |   0   |   0   ||   16  |   0
>  |
> 
> -
> [ivy:retrieve] :: retrieving :: org.apache.zookeeper#zookeeper
> [ivy:retrieve]  confs: [default]
> [ivy:retrieve]  16 artifacts copied, 0 already retrieved (4635kB/35ms)
>
> generate_jute_parser:
> [mkdir] Created dir: f:\jenkins\jenkins-slave\
> workspace\ZooKeeper-trunk-WinVS2008\build\jute_compiler\
> org\apache\jute\compiler\generated
> [ivy:artifactproperty] DEPRECATED: 'ivy.conf.file' is deprecated, use
> 'ivy.settings.file' instead
> [ivy:artifactproperty] :: loading settings :: file =
> f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-
> WinVS2008\ivysettings.xml
>  [move] Moving 1 file to f:\jenkins\jenkins-slave\
> workspace\ZooKeeper-trunk-WinVS2008\build\lib
>[javacc] Java Compiler Compiler Version 5.0 (Parser Generator)
>[javacc] (type "javacc" with no arguments for help)
>[javacc] Reading from file f:\jenkins\jenkins-slave\
> workspace\ZooKeeper-trunk-WinVS2008\src\java\main\org\
> apache\jute\compiler\generated\rcc.jj . . .
>[javacc] File "TokenMgrError.java" does not exist.  Will create one.
>[javacc] File "ParseException.java" does not exist.  Will create one.
>[javacc] File "Token.java" does not exist.  Will create one.
>[javacc] File "SimpleCharStream.java" does not exist.  Will create one.
>[javacc] Parser generated successfully.
>
> jute:
>
> BUILD FAILED
> f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build.xml:273:
> Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK.
> It is currently set to "C:\Program Files\Java\jre1.8.0_92"
>
> Total time: 3 seconds
> Build step 'Invoke Ant' marked build as failure
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any
>
>
>
> 
> ###
> ## FAILED TESTS (if any)
> ##
> No tests ran.




-- 
Cheers
Michael.


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

2016-12-12 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1275/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H12 (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 cd0e323831c8b4cde64976325bfc79bb53cdd9b7 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f cd0e323831c8b4cde64976325bfc79bb53cdd9b7
 > git rev-list cd0e323831c8b4cde64976325bfc79bb53cdd9b7 # 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.